~yerinalexey/dotfiles

ref: 8579758ddf3d8383f2ea9cad38fab11934bc456e dotfiles/sway/config.d/idle.config -rw-r--r-- 370 bytes
8579758dAlexey Yerin scripts/xdg-open: fix terminal command for foot 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Idle configuration

# Screen will be locked after 8 minutes of inactivity. And displays will be
# turned off in 12 minutes after that.

exec swayidle \
  timeout 480 'waylock' \
  timeout 1200 'swaymsg "output * dpms off"' \
  resume 'swaymsg "output * dpms on"' \
  before-sleep 'waylock'

# Keybindings
## Lock the screen (Super + `)
bindsym $mod+grave exec waylock