dotfiles/.local/bin/scripts/black

9 lines
171 B
Bash
Executable File

#!/bin/sh
# Suspend screen until enter is pressed
test "$1" && sleep $1
xset dpms force off
swaymsg "output * dpms off"
read
xset dpms force on
swaymsg "output * dpms on"