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

9 lines
526 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 xautolock -time $lock_after_min -locker 'i3exit lock' -notify $lock_notify_sec -notifier 'notify-send --icon=gtk-info xautolock "The screen will lock soon"'
# Start various applets
exec_always --no-startup-id for app in nm-applet kopia-ui pasystray; do which "$app" && (pgrep $app || $app); done