summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2025-07-22 04:49:57 -0400
committerMatt Hunter <m@lfurio.us>2025-07-22 04:49:57 -0400
commit4581fcf14b297a1ed802c4e7914c810106cce16b (patch)
tree2fca424ce7afe8e85c968110eec916cea7ff1311
parentcf90c6668035d973f9ab5bfa848d6098112e9ff3 (diff)
downloadrice-4581fcf14b297a1ed802c4e7914c810106cce16b.tar.gz
rice-4581fcf14b297a1ed802c4e7914c810106cce16b.zip
xinit: Swap exec order of .fehbg and .xinitrc.local
Sometimes, if a screen rotation is done in .xinitrc.local, it can mess up image scaling of the wallpaper previously applied by feh. Changing the order of these two commands fixes the problem (or is at least an improvement...)
-rw-r--r--.xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index 4d1cf12..5864b3b 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -17,7 +17,7 @@ numlockx
xset dpms 0 0 0
xset s off
-[ -f ~/.fehbg ] && sh ~/.fehbg || feh --no-fehbg --bg-fill "$HOME/rice/wallpaper.jpg"
[ -f ~/.xinitrc.local ] && sh ~/.xinitrc.local
+[ -f ~/.fehbg ] && sh ~/.fehbg || feh --no-fehbg --bg-fill "$HOME/rice/wallpaper.jpg"
exec dwm