aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/lock-color
blob: 0eb8b8d2d68e1a3d53ef124d048feeff1fec79dc (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

swaymsg input type:keyboard xkb_switch_layout 0

swayidle timeout 15 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &

swaylock

pkill -n swayidle