Sfoglia il codice sorgente

Updated I3 wallpaper setter

Samuel W. Flint 7 anni fa
parent
commit
86f02e3fbf
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  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