fix
This commit is contained in:
parent
e30caf308a
commit
3fc6f3e225
@ -1,4 +1,4 @@
|
||||
timeout 280 '[ "$(cat /sys/class/power_supply/AC/online 2>/dev/null)" = "0" ] && notify-send "Suspend in 20s" "Produce some acivity or run inhibit to cancel" -a "idle" -t 20000 -h string:x-canonical-private-synchronous:inactivity' resume '[ "$(cat /sys/class/power_supply/AC/online 2>/dev/null)" = "0" ] && notify-send "" -a "idle" -t 1 -h string:x-canonical-private-synchronous:inactivity'
|
||||
timeout 300 'systemctl suspend'
|
||||
timeout 300 '[ "$(cat /sys/class/power_supply/AC/online 2>/dev/null)" = "0" ] && systemctl suspend'
|
||||
timeout 1780 'notify-send "Suspend in 20s" "Produce some acivity or run inhibit to cancel" -a "idle" -t 20000 -h string:x-canonical-private-synchronous:inactivity' resume 'notify-send "" -a "idle" -t 1 -h string:x-canonical-private-synchronous:inactivity'
|
||||
timeout 1800 'systemctl suspend'
|
||||
|
Loading…
Reference in New Issue
Block a user