aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rw-r--r--config/hypr/scripts/SwayNC.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/hypr/scripts/SwayNC.sh b/config/hypr/scripts/SwayNC.sh
new file mode 100644
index 00000000..2dd4316a
--- /dev/null
+++ b/config/hypr/scripts/SwayNC.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Killall running notification agents
+_ps=(mako dunst swaync)
+for _prs in "${_ps[@]}"; do
+ if pidof "${_prs}" >/dev/null; then
+ pkill "${_prs}"
+ fi
+done
+
+# relaunch sway
+sleep 0.5
+swaync \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage