Fix polybar+bspwm onReload handler

This commit is contained in:
Henrik Lissner 2020-10-26 14:04:52 -04:00
parent 804011f538
commit f0bd026007
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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