From 88181a130370ec3d78b7bb6ea96080c639eaae24 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 28 Dec 2023 18:04:32 +0900 Subject: updated --- config/hypr/scripts/SwayNC.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 config/hypr/scripts/SwayNC.sh (limited to 'config/hypr/scripts') 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 -- cgit v1.2.3