From ed93b93c4311b13424f0c74eb0b6764c5d60e47a Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Tue, 22 Mar 2022 23:11:19 +0700 Subject: [PATCH] user/bspwm: remove declarative wallpaper so i can use other wallpapers without feeling weird for including it in a cc0 repo --- modules/user/bspwm.nix | 4 ++-- modules/user/xorg.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 = {