|
|
|
@ -34,7 +34,9 @@ set $lockcmd swaylock -f -c 000000
@@ -34,7 +34,9 @@ set $lockcmd swaylock -f -c 000000
|
|
|
|
|
exec swayidle -w \ |
|
|
|
|
timeout 300 '$lockcmd' \ |
|
|
|
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ |
|
|
|
|
before-sleep '$lockcmd' |
|
|
|
|
before-sleep '$lockcmd' \ |
|
|
|
|
lock '$lockcmd' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input "type:keyboard" { |
|
|
|
|
xkb_layout pvx |
|
|
|
@ -43,6 +45,9 @@ input "type:keyboard" {
@@ -43,6 +45,9 @@ input "type:keyboard" {
|
|
|
|
|
|
|
|
|
|
### Key bindings |
|
|
|
|
|
|
|
|
|
# Lock sway |
|
|
|
|
bindsym $mod+Escape exec pkill -USR1 swayidle |
|
|
|
|
|
|
|
|
|
# Start a terminal |
|
|
|
|
bindsym $mod+Return exec $term |
|
|
|
|
|
|
|
|
|