diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-01-14 00:14:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 00:14:52 +0900 |
| commit | d61b676b9b8b32f73def3d92aa3eb31ab6a2bfbc (patch) | |
| tree | 644b7851f189af52bfde39a2658cfe0d2fd20d7c /config/hypr/scripts/DarkLight.sh | |
| parent | 3573df4a1d0b4c915975ac80275442c35831fb2f (diff) | |
| parent | df57f9890b28aa6f5139e2917cee213031ba0e9c (diff) | |
Merge pull request #521 from JaKooLit/main
main to development
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 |
