Explorar el Código

Updated I3 wallpaper setter

Samuel W. Flint hace 7 años
padre
commit
86f02e3fbf
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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