river: Remove duplicate suspend call

This commit is contained in:
Marty Oehme 2023-02-25 17:06:55 +01:00
parent 28825adc5d
commit 1ad0c382a9
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
1 changed files with 0 additions and 1 deletions

View File

@ -268,7 +268,6 @@ unset loc
# start screen idle locking/dimming/sleep tool
killall 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_screendim} \"wlopm --off '*'\" \
resume \"wlopm --on '*'\" \