💥 hypr(scripts): actually clear notifications if error occurred in handler
This commit is contained in:
@@ -27,6 +27,7 @@ function Restart_handler() {
|
|||||||
wait $pid_handler && Exit_daemon || \
|
wait $pid_handler && Exit_daemon || \
|
||||||
(Send_log "error" "An error occurred and handler stopped"
|
(Send_log "error" "An error occurred and handler stopped"
|
||||||
Send_log "info" "Clearing history and starting handler again."
|
Send_log "info" "Clearing history and starting handler again."
|
||||||
|
sh $HOME/.config/eww/scripts/notification-clear.sh &
|
||||||
Restart_handler)
|
Restart_handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -6,4 +6,3 @@
|
|||||||
# Made by retrozinndev (João Dias)
|
# Made by retrozinndev (João Dias)
|
||||||
# From https://github.com/retrozinndev/Hyprland-Dots
|
# From https://github.com/retrozinndev/Hyprland-Dots
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user