dotfiles/.config/i3/layers/config.post-main-00-security

13 lines
499 B
Plaintext

# xss-lock grabs a logind suspend inhibit lock and will use i3exit to lock the screen before suspend.
exec_always --no-startup-id xss-lock --transfer-sleep-lock -- i3exit lock
# lock screen after inactivity
exec --no-startup-id dmenuxautolock -t $lock_after_min -n $lock_notify_sec
bindsym $mod+Ctrl+Shift+l exec --no-startup-id dmenuxautolock -t 0 -n 0
# Run i3hwlock
exec_always --no-startup-id pgrep -x i3hwlock || i3hwlock
# Start authentication agent
exec_always --no-startup-id $auth_agent