Browse Source

Updated I3 wallpaper setter

Samuel W. Flint 7 years ago
parent
commit
86f02e3fbf
1 changed files with 6 additions and 1 deletions
  1. 6 1
      i3-set-wallpaper

+ 6 - 1
i3-set-wallpaper

@@ -1,3 +1,8 @@
 #!/bin/sh
 
-feh --bg-fill ~/.config/i3/wallpapers/lisp.png
+BACKGROUND=$1
+if [[ $BACKGROUND == "" ]] ; then
+    BACKGROUND=color-bg
+fi
+
+feh --bg-fill ~/.config/i3/wallpapers/${BACKGROUND}.png