diff --git a/.config/sway/config.d/resize.conf b/.config/sway/config.d/resize.conf index 20dd99a..cea37f8 100644 --- a/.config/sway/config.d/resize.conf +++ b/.config/sway/config.d/resize.conf @@ -1,3 +1,8 @@ +set $left h +set $down j +set $up k +set $right l + ## Resize in normal mode with vim keys $bindsym $mod+Ctrl+Shift+$left resize shrink width 20px $bindsym $mod+Ctrl+Shift+$down resize grow height 20px @@ -8,3 +13,14 @@ $bindsym $mod+Ctrl+Shift+Left resize shrink width 20px $bindsym $mod+Ctrl+Shift+Down resize grow height 20px $bindsym $mod+Ctrl+Shift+Up resize shrink height 20px $bindsym $mod+Ctrl+Shift+Right resize grow width 20px + +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + +# Move the focused window with the same, but add Shift +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right diff --git a/.config/sway/definitions.d/modifiers.conf b/.config/sway/definitions.d/modifiers.conf index bbede12..e7ec18c 100644 --- a/.config/sway/definitions.d/modifiers.conf +++ b/.config/sway/definitions.d/modifiers.conf @@ -1,6 +1 @@ set $term kitty - -set $left h -set $down j -set $up k -set $right l