Move wallpaper commands

This commit is contained in:
Natsu Kagami 2022-04-27 14:52:46 -04:00
parent 77dcc187f5
commit 04064e6440
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 6 additions and 2 deletions

View file

@ -25,7 +25,6 @@ in
# Load 4k Xresources
xsession.initExtra = ''
xrdb -merge ~/.config/X11/.Xresources
feh --bg-fill ~/wallpaper.jpg
'';
};
}

View file

@ -107,7 +107,12 @@ in
{ command = "discord"; }
{ command = "dex -ae i3"; }
{ command = "ibus-daemon -drxR"; }
];
] ++
(
if (config.linux.graphical.wallpaper != "")
then [{ command = "${pkgs.feh}/bin/feh --bg-fill ${config.linux.graphical.wallpaper}"; }]
else [ ]
);
};