river: Remove duplicate suspend call
This commit is contained in:
parent
28825adc5d
commit
1ad0c382a9
1 changed files with 0 additions and 1 deletions
|
@ -268,7 +268,6 @@ unset loc
|
||||||
# start screen idle locking/dimming/sleep tool
|
# start screen idle locking/dimming/sleep tool
|
||||||
killall swayidle
|
killall swayidle
|
||||||
riverctl spawn "swayidle \
|
riverctl spawn "swayidle \
|
||||||
timeout ${time_to_suspend} \"systemctl suspend-then-hibernate\" \
|
|
||||||
timeout ${time_to_suspend} \"[ $(cat /sys/class/power_supply/AC/online) -eq 0 ] && systemctl suspend-then-hibernate\"
|
timeout ${time_to_suspend} \"[ $(cat /sys/class/power_supply/AC/online) -eq 0 ] && systemctl suspend-then-hibernate\"
|
||||||
timeout ${time_to_screendim} \"wlopm --off '*'\" \
|
timeout ${time_to_screendim} \"wlopm --off '*'\" \
|
||||||
resume \"wlopm --on '*'\" \
|
resume \"wlopm --on '*'\" \
|
||||||
|
|
Loading…
Reference in a new issue