OSDN Git Service

add option to disable instantwallpaper
authorpaperbenni <paperbenni@gmail.com>
Wed, 7 Oct 2020 14:10:27 +0000 (16:10 +0200)
committerpaperbenni <paperbenni@gmail.com>
Wed, 7 Oct 2020 14:10:27 +0000 (16:10 +0200)
autostart.sh

index 506489e..59c5e51 100755 (executable)
@@ -122,7 +122,9 @@ if ! pgrep dunst; then
 fi
 
 onlinetrigger() {
-    instantwallpaper &
+    if ! iconf -i nowallpaper; then
+        instantwallpaper &
+    fi
 }
 
 # set up oh-my-zsh config if not existing already