From 9941024f526d25ce13d474f04940baa0d7c81d6a Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Sun, 17 Dec 2023 01:28:40 +0900 Subject: Optimized DarkLight script. --- config/hypr/scripts/PywalDunst.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/hypr/scripts/PywalDunst.sh') diff --git a/config/hypr/scripts/PywalDunst.sh b/config/hypr/scripts/PywalDunst.sh index 2a66aec6..1c9398f2 100755 --- a/config/hypr/scripts/PywalDunst.sh +++ b/config/hypr/scripts/PywalDunst.sh @@ -11,7 +11,7 @@ [ -f "$HOME/.cache/wal/colors.sh" ] && . "$HOME/.cache/wal/colors.sh" -pidof dunst && pkill dunst +pkill dunst DUNST_FILE=~/.config/dunst/dunstrc @@ -20,4 +20,5 @@ DUNST_FILE=~/.config/dunst/dunstrc #sed -i '/foreground = /s/.*/ foreground = "'$color7'"/' $DUNST_FILE sed -i '/frame_color = /s/.*/ frame_color = "'$color2'"/' $DUNST_FILE +sleep 0.3 dunst -config ~/.config/dunst/dunstrc > /dev/null 2>&1 & \ No newline at end of file -- cgit v1.2.3