From e193f68f84e1516705d9d8176c4eb6c11c82df81 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 3 Mar 2025 02:18:45 -0500 Subject: feh: Remove .fehbg file from version control Allow user to change wallpaper via feh --bg-* commands without dirtying the .fehbg file in the repository. Fallback to the provided default wallpaper if this file doesn't exist. --- .xinitrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.xinitrc') diff --git a/.xinitrc b/.xinitrc index 303cb1d..9076069 100644 --- a/.xinitrc +++ b/.xinitrc @@ -16,6 +16,7 @@ unclutter --fork --start-hidden numlockx xset dpms 0 0 0 xset s off -~/.fehbg + +[ -f ~/.fehbg ] && sh ~/.fehbg || feh --no-fehbg --bg-fill "$HOME/rice/wallpaper.jpg" exec dwm -- cgit v1.2.3