From 4581fcf14b297a1ed802c4e7914c810106cce16b Mon Sep 17 00:00:00 2001 From: Matt Hunter Date: Tue, 22 Jul 2025 04:49:57 -0400 Subject: 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...) --- .xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3