diff --git a/configs/files/wallpaper.png b/configs/files/wallpaper.png new file mode 100644 index 0000000..0859f4f Binary files /dev/null and b/configs/files/wallpaper.png differ diff --git a/configs/files/xmonad.hs b/configs/files/xmonad.hs index 547209b..853362b 100644 --- a/configs/files/xmonad.hs +++ b/configs/files/xmonad.hs @@ -135,4 +135,5 @@ myLayout = smartSpacing 5 myStartupHook xmproc = do setWMName "LG3D" + spawn "feh --no-fehbg --bg-fill ~/.wallpaper.png" return () >> checkKeymap (myConfig xmproc) myAdditionalKeys diff --git a/configs/system.nix b/configs/system.nix index 559b524..fc1ab34 100644 --- a/configs/system.nix +++ b/configs/system.nix @@ -39,5 +39,9 @@ layout = "fr"; desktopManager.xterm.enable = false; windowManager.xmonad.enable = true; + displayManager.lightdm = { + enable = true; + background = "/etc/nixos/configs/files/wallpaper.png"; + }; }; } \ No newline at end of file diff --git a/configs/xmonad.nix b/configs/xmonad.nix index 9ec59dd..de3400c 100644 --- a/configs/xmonad.nix +++ b/configs/xmonad.nix @@ -26,6 +26,7 @@ layout = "fr"; options = ["caps:escape"]; }; + home.file.".wallpaper.png".source = ./files/wallpaper.png; home.file.".xmonad/xmobarrc".source = ./files/xmobarrc; home.file.".config/ncmpcpp" = { source = ./files/ncmpcpp;