Added wallpaper randomization script

This commit is contained in:
Salt 2017-08-10 17:33:42 -05:00
parent dcb2e708d2
commit 6931449f08
2 changed files with 6 additions and 1 deletions

4
.bin/i3-randwall Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
walls=($HOME/Pictures/Wallpapers/i3/*)
wall=${walls[$RANDOM % ${#walls[@]} ]}
feh --bg-fill "$wall"

View File

@ -60,7 +60,8 @@ exec_always --no-startup-id "sleep 3; ~/.config/polybar/launch.sh"
exec --no-startup-id "redshift -l 38.627003:-90.199402"
exec_always --no-startup-id "compton -bc --config ~/.config/compton.conf"
exec_always --no-startup-id "dunst"
exec_always --no-startup-id "sleep 3; feh --bg-fill ~/Pictures/Wallpapers/i3/*"
#exec_always --no-startup-id "sleep 3; feh --bg-fill ~/Pictures/Wallpapers/i3/*"
exec_always --no-startup-id "sleep 3; ~/.bin/i3-randwall"
exec --no-startup-id "mopidy"
exec --no-startup-id "syncthing -no-browser"