Fix sleep-nag for real
This commit is contained in:
parent
8044fbc811
commit
8cb7a5b88e
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ let
|
||||||
action
|
action
|
||||||
| evening = notify_send "Shutdown alert!" ([i|Rechner fährt in #{59-minute} Minuten runter.|]::String)
|
| evening = notify_send "Shutdown alert!" ([i|Rechner fährt in #{59-minute} Minuten runter.|]::String)
|
||||||
| night = exe "/run/current-system/sw/bin/sudo" "systemctl" "shutdown"
|
| night = exe "/run/current-system/sw/bin/sudo" "systemctl" "shutdown"
|
||||||
|
| otherwise = pass
|
||||||
action
|
action
|
||||||
threadDelay 600000000
|
threadDelay 600000000
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue