diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-14 00:12:29 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-14 00:12:29 +0900 |
| commit | df57f9890b28aa6f5139e2917cee213031ba0e9c (patch) | |
| tree | 644b7851f189af52bfde39a2658cfe0d2fd20d7c /config/hypr/scripts/DarkLight.sh | |
| parent | 2d7d7b685e6ad01bd7c390700c17738cba05e3b1 (diff) | |
some scripts are tweaked to get a better notification. swaync config tweaked
Diffstat (limited to 'config/hypr/scripts/DarkLight.sh')
| -rwxr-xr-x | config/hypr/scripts/DarkLight.sh | 13 |
1 files changed, 6 insertions, 7 deletions
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 |
