summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-08-10 16:29:36 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-08-10 16:29:56 -0700
commitf63e0ec559f5f5ceeeff352eb636f5b45e305014 (patch)
tree126c2c8598fe9d3f01ca29451d8a36f67e366cf0
parente2bf314515422bd46484622290a24ee1259f22f3 (diff)
downloaddotfiles-f63e0ec559f5f5ceeeff352eb636f5b45e305014.tar.gz
don't try setting wallpaper until after activating outputs
-rwxr-xr-xbin/i3-startup-always22
1 files 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.
#