Notify when battery monitor script fails
This commit is contained in:
parent
a0bac51c81
commit
0c7b6a86c1
1 changed files with 2 additions and 1 deletions
|
@ -240,7 +240,8 @@ exec --no-startup-id nextcloud
|
|||
exec --no-startup-id unclutter -idle 3
|
||||
|
||||
# battery monitor script
|
||||
exec --no-startup-id $HOME/Programs/own/battery/monitor.py
|
||||
exec --no-startup-id $HOME/Programs/own/battery/monitor.py || notify-send -u critical -i battery -a i3 "Failed to start battery monitor" "Battery monitor had a non-zero exit code."
|
||||
|
||||
|
||||
# set background
|
||||
exec_always --no-startup-id feh --bg-fill $HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_modified_colours.jpg
|
||||
|
|
Loading…
Reference in a new issue