summaryrefslogtreecommitdiffstats
path: root/.xinitrc
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2025-03-03 02:18:45 -0500
committerMalfurious <m@lfurio.us>2025-03-03 02:18:45 -0500
commite193f68f84e1516705d9d8176c4eb6c11c82df81 (patch)
tree70780e9466d9aa58db20c7c207fbea9d4ea9f32c /.xinitrc
parent0ffa59d94968503bdb8a63c931cbc69ff0327ff3 (diff)
downloadrice-e193f68f84e1516705d9d8176c4eb6c11c82df81.tar.gz
rice-e193f68f84e1516705d9d8176c4eb6c11c82df81.zip
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.
Diffstat (limited to '')
-rw-r--r--.xinitrc3
1 files changed, 2 insertions, 1 deletions
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