dotfiles/.config/sway/lockman.sh

7 lines
296 B
Bash

#!/bin/sh
swayidle \
timeout 10 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' &
#swaylock -e -F -i /home/emge/Source/tokyonight-wallpapers/void_upscayl_realesrgan-x4plus_x2.png --indicator-radius 175 --indicator-y-position 525 --inside-color 000000AA
swaylock
kill %%