diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-10 16:29:36 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-10 16:29:56 -0700 |
commit | f63e0ec559f5f5ceeeff352eb636f5b45e305014 (patch) | |
tree | 126c2c8598fe9d3f01ca29451d8a36f67e366cf0 | |
parent | e2bf314515422bd46484622290a24ee1259f22f3 (diff) | |
download | dotfiles-f63e0ec559f5f5ceeeff352eb636f5b45e305014.tar.gz |
don't try setting wallpaper until after activating outputs
-rwxr-xr-x | bin/i3-startup-always | 22 |
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. # |