aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-05-09 20:36:24 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-05-09 20:36:24 +0530
commit8c1a8c052568c6f3fd9a76d01fc6bf694b85ff6e (patch)
tree541cdcc8f0e91dae130eca03391a90023862cd41
parent7dbf17f0850ebbdd75993286f22c75b746591a3f (diff)
fix: logging in & out spawned duplicates, now they won't
-rw-r--r--hypr/hyprland/exec_once.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypr/hyprland/exec_once.conf b/hypr/hyprland/exec_once.conf
index ff63e90..f1d6e0e 100644
--- a/hypr/hyprland/exec_once.conf
+++ b/hypr/hyprland/exec_once.conf
@@ -1,5 +1,5 @@
-exec-once = ~/.config/hypr/random-wall.sh
-exec-once = ~/.config/hypr/battery-notif.sh
+exec-once = pgrep -f random-wall.sh || ~/.config/hypr/random-wall.sh
+exec-once = pgrep -f battery-notif.sh || ~/.config/hypr/battery-notif.sh
exec-once = wl-paste --watch cliphist store
exec-once = mako
exec-once = qs