aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com~>2023-12-28 18:04:32 +0900
committerJaKooLit <jimmielovejay@gmail.com~>2023-12-28 18:04:32 +0900
commit88181a130370ec3d78b7bb6ea96080c639eaae24 (patch)
treeb853c4e6762764cf6c101f75af780a2a60bbf90a
parent2d3e62132255c73d8aca87a4f5f80f93280b6a9d (diff)
updated
-rw-r--r--config/hypr/configs/Execs.conf6
-rw-r--r--config/hypr/scripts/SwayNC.sh13
2 files changed, 17 insertions, 2 deletions
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf
index ac6e63ab..5e2a435d 100644
--- a/config/hypr/configs/Execs.conf
+++ b/config/hypr/configs/Execs.conf
@@ -22,11 +22,13 @@ exec-once = $scriptsDir/Polkit.sh
# starup apps
exec-once = waybar &
-exec-once = swaync &
exec-once = nm-applet --indicator &
-#exec-once = blueman-applet &
+exec-once = blueman-applet &
#exec-once = rog-control-center &
+# notification
+exec-once = $scriptsDir/SwayNC.sh
+
#clipboard manager
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
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