aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/PywalDunst.sh
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-17 01:28:40 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-17 01:28:40 +0900
commit9941024f526d25ce13d474f04940baa0d7c81d6a (patch)
tree8e0c9edc0ac12f643490105af07919d23f306133 /config/hypr/scripts/PywalDunst.sh
parentaa9a6ebfbb2f99f1301a1276dae3ea119a338ee9 (diff)
Optimized DarkLight script.
Diffstat (limited to 'config/hypr/scripts/PywalDunst.sh')
-rwxr-xr-xconfig/hypr/scripts/PywalDunst.sh3
1 files changed, 2 insertions, 1 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage