From f0bd02600712c0a742348b01bafcbd23a16a4997 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 26 Oct 2020 14:04:52 -0400 Subject: [PATCH] Fix polybar+bspwm onReload handler --- modules/desktop/bspwm.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/desktop/bspwm.nix b/modules/desktop/bspwm.nix index 2889825d..6b5a3380 100644 --- a/modules/desktop/bspwm.nix +++ b/modules/desktop/bspwm.nix @@ -9,7 +9,10 @@ in { }; config = mkIf cfg.enable { - modules.theme.onReload.bspwm = "${pkgs.bspwm}/bin/bspc wm -r"; + modules.theme.onReload.bspwm = '' + ${pkgs.bspwm}/bin/bspc wm -r + source $XDG_CONFIG_HOME/bspwm/bspwmrc + ''; environment.systemPackages = with pkgs; [ lightdm