2022-05-27 21:07:07 +02:00
|
|
|
# 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
|
2022-06-03 22:22:51 +02:00
|
|
|
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
|
2022-06-03 20:43:33 +02:00
|
|
|
|
|
|
|
# Run i3hwlock
|
2024-02-29 12:30:23 +01:00
|
|
|
exec_always --no-startup-id pgrep -x i3hwlock || i3hwlock
|
2023-10-08 20:35:13 +02:00
|
|
|
|
|
|
|
# Start authentication agent
|
|
|
|
exec_always --no-startup-id $auth_agent
|