From f63e0ec559f5f5ceeeff352eb636f5b45e305014 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 10 Aug 2020 16:29:36 -0700 Subject: don't try setting wallpaper until after activating outputs --- bin/i3-startup-always | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bin/i3-startup-always b/bin/i3-startup-always index 9b6b1841..d7f77dea 100755 --- a/bin/i3-startup-always +++ b/bin/i3-startup-always @@ -57,17 +57,6 @@ fi # xsetroot -solid \#E5E5E5 xsetroot -solid \#FFFFF6 -# use wallpaper.png if it's the right size -if i3-wallpaper --check-have; then - feh --bg-scale --no-xinerama $HOME/local/wallpaper.png - - # restart i3lock, in case the wallpaper changed - i3-startup-i3lock -# old fallback to a tileable image -# else -# feh --bg-tile ~/lib/img/diagmonds_2X.png -fi - # machine-specific display settings if [ "$(hostname -f)" = "iris.silentflame.com" ]; then set-half-brightness @@ -82,6 +71,17 @@ if [ "$(hostname -f)" = "iris.silentflame.com" ]; then fi fi +# use wallpaper.png if it's the right size +if i3-wallpaper --check-have; then + feh --bg-scale --no-xinerama $HOME/local/wallpaper.png + + # restart i3lock, in case the wallpaper changed + i3-startup-i3lock +# old fallback to a tileable image +# else +# feh --bg-tile ~/lib/img/diagmonds_2X.png +fi + # Set how long before automatic lock. We have the DPMS time and the # automatic lock time set to the same value. # -- cgit v1.2.3