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

swaymsg input type:keyboard xkb_switch_layout 0

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

swaylock

pkill -n swayidle