2023-05-25 21:37:55 +01:00
|
|
|
#!/bin/sh
|
2023-02-07 13:19:34 +01:00
|
|
|
# Suspend screen until enter is pressed
|
2023-07-27 17:16:41 +02:00
|
|
|
test "$1" && sleep $1
|
2023-02-07 13:19:34 +01:00
|
|
|
xset dpms force off
|
2023-05-25 21:37:55 +01:00
|
|
|
swaymsg "output * dpms off"
|
2023-02-07 13:19:34 +01:00
|
|
|
read
|
|
|
|
xset dpms force on
|
2023-05-25 21:37:55 +01:00
|
|
|
swaymsg "output * dpms on"
|