Kaynağa Gözat

Updated I3 wallpaper setter

Samuel W. Flint 7 yıl önce
ebeveyn
işleme
86f02e3fbf
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  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