Added i3lock and autolocking for laptop

This commit is contained in:
Random936
2024-10-15 09:55:55 -07:00
parent b7d9bb3122
commit 7841f1f052
3 changed files with 12 additions and 2 deletions

View File

@@ -19,6 +19,9 @@ bindsym $mod+Shift+f exec "google-chrome-stable"
bindsym $mod+Shift+e exec "emacsclient -c"
bindsym $mod+Shift+d exec "discord"
# Lock screen with i3lock-fancy
bindsym $mod+Shift+x exec "i3lock-fancy"
# kill focused window
bindsym $mod+q kill
bindsym $mod+Shift+q kill
@@ -148,6 +151,9 @@ client.focused #555555 #555555 #ffffff #333333 #0000ff
client.focused_inactive #333333 #222222 #888888 #292d2e #eeeeee
client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
# Auto lock the screen after X minutes
exec "xautolock -detectsleep -time 3 -locker i3lock-fancy"
# Startup Applications
exec_always --no-startup-id "$HOME/.screenlayout/launch.sh &" # setup screen layout and wallpapers
exec_always --no-startup-id "$HOME/.scripts/autostart_desktop.sh &" # run autostart desktop apps