💥 hypr(scripts): actually clear notifications if error occurred in handler

This commit is contained in:
retrozinndev
2025-01-12 12:12:15 -03:00
parent c1c56fee25
commit 1e50585959
2 changed files with 1 additions and 1 deletions
@@ -27,6 +27,7 @@ function Restart_handler() {
wait $pid_handler && Exit_daemon || \
(Send_log "error" "An error occurred and handler stopped"
Send_log "info" "Clearing history and starting handler again."
sh $HOME/.config/eww/scripts/notification-clear.sh &
Restart_handler)
}
@@ -6,4 +6,3 @@
# Made by retrozinndev (João Dias)
# From https://github.com/retrozinndev/Hyprland-Dots