From df57f9890b28aa6f5139e2917cee213031ba0e9c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 14 Jan 2025 00:12:29 +0900 Subject: some scripts are tweaked to get a better notification. swaync config tweaked --- config/hypr/scripts/DarkLight.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'config/hypr/scripts/DarkLight.sh') diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 83fcb3b8..50395493 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -48,7 +48,7 @@ update_theme_mode() { # Function to notify user notify_user() { - notify-send -u low -i "$notif" "Switching to $1 mode" + notify-send -u low -i "$notif" "$(printf "\n Switching to $1 mode")" } # Use sed to replace the palette setting in the wallust config file @@ -229,15 +229,14 @@ set_custom_gtk_theme "$next_mode" # Update theme mode for the next cycle update_theme_mode -sleep 0.5 -# Run remaining scripts -${SCRIPTSDIR}/WallustSwww.sh -sleep 1 + +${SCRIPTSDIR}/WallustSwww.sh && +sleep 2 ${SCRIPTSDIR}/Refresh.sh sleep 0.3 -# Display notifications for theme and icon changes -notify-send -u normal -i "$notif" "Themes in $next_mode Mode" +# Display notifications for theme and icon changes +notify-send -u normal -i "$notif" "$(printf "\n Themes switched to \n $next_mode Mode")" exit 0 -- cgit v1.2.3