Add a ton of i3 and sway stuff

This commit is contained in:
askiiart 2023-11-20 00:48:36 -06:00
parent 15f30efa7b
commit 9a43cae5fa
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
22 changed files with 435 additions and 47 deletions

View file

@ -1,4 +1,4 @@
bindsym $mod+d exec --no-startup-id j4-dmenu-desktop
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# Change to vi-style nav
bindsym $mod+h focus left
@ -12,4 +12,24 @@ bindsym $mod+Shift+l move right
bindsym $mod+semicolon split h
# Change term to kitty
bindsym $mod+Return exec kitty
bindsym $mod+Return exec kitty
# sleep and lock
# shutdown / restart / suspend...
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (CTRL+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id $i3lockwall, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id $i3lockwall && systemctl suspend, mode "default"
bindsym h exec --no-startup-id $i3lockwall && systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym Ctrl+s exec --no-startup-id systemctl poweroff -i, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+BackSpace mode "$mode_system"