diff --git a/modules/user/bspwm.nix b/modules/user/bspwm.nix index 0316a7a..0768db6 100644 --- a/modules/user/bspwm.nix +++ b/modules/user/bspwm.nix @@ -1,4 +1,4 @@ -{ config, ... }: { +{ config, pkgs, ... }: { xsession.windowManager.bspwm = { enable = true; monitors = { eDP-1 = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "0"]; }; @@ -9,7 +9,7 @@ top_padding = 25; }; extraConfig = '' - feh --no-fehbg --bg-fill ${config.xdg.configHome}/xorg/wallpaper.png + ${pkgs.feh}/bin/feh --no-fehbg --bg-fill ~/Pictures/Wallpapers/current systemctl --user restart polybar # home-manager loads this too early ''; }; diff --git a/modules/user/xorg.nix b/modules/user/xorg.nix index a7738f4..b8ba9da 100644 --- a/modules/user/xorg.nix +++ b/modules/user/xorg.nix @@ -7,7 +7,6 @@ }; xdg.configFile."xorg/xinitrc".source = ../../scripts/xinitrc; - xdg.configFile."xorg/wallpaper.png".source = ../../res/wallpaper.png; xresources = { path = "${config.xdg.configHome}/xorg/xresources"; properties = {