dotfiles/i3/config.d/overrides.conf

36 lines
1.1 KiB
Text
Raw Permalink Normal View History

2023-11-20 00:48:36 -06:00
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# Change to vi-style nav
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
bindsym $mod+semicolon split h
# Change term to kitty
2023-11-20 00:48:36 -06:00
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"