add swayidle for iMac16,2 and added swaylock shortcut to sway/config as well as a lockman.sh script I found online

This commit is contained in:
toniiz
2024-06-16 19:28:06 -07:00
parent b0108bca46
commit 846bd16012
3 changed files with 19 additions and 0 deletions

View File

@@ -107,6 +107,9 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
bindsym $mod+r mode "resize"
# Hide waybar/enable
bindsym $mod+escape exec killall -SIGUSR1 waybar
mode "resize" {
bindsym $left resize shrink width 20px
bindsym $down resize grow height 20px
@@ -122,6 +125,10 @@ bindsym Return mode "default"
bindsym Escape mode "default"
}
# Lock screen
set $lockman exec bash ~/.config/sway/lockman.sh
bindsym $mod+Shift+p exec $lockman
# includes
include /etc/sway/config.d/*
# swaysome config append