diff options
| author | JaKooLit <jimmielovejay@gmail.com~> | 2023-12-28 18:04:32 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com~> | 2023-12-28 18:04:32 +0900 |
| commit | 88181a130370ec3d78b7bb6ea96080c639eaae24 (patch) | |
| tree | b853c4e6762764cf6c101f75af780a2a60bbf90a /config/hypr/scripts | |
| parent | 2d3e62132255c73d8aca87a4f5f80f93280b6a9d (diff) | |
updated
Diffstat (limited to 'config/hypr/scripts')
| -rw-r--r-- | config/hypr/scripts/SwayNC.sh | 13 |
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 |
