Skip to content

Commit

Permalink
Update i3 keybindings for focusing parent and child windows and movin…
Browse files Browse the repository at this point in the history
…g windows to center position
  • Loading branch information
ulises-jeremias committed Feb 20, 2024
1 parent 9f7ec1a commit df4d30c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions home/dot_config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,18 @@ bindsym $Mod+Down focus down
bindsym $Mod+Up focus up
bindsym $Mod+Right focus right

bindsym $Mod+p focus parent
bindsym $Mod+c focus child
bindsym $Mod+Ctrl+p focus parent
bindsym $Mod+Ctrl+c focus child

# move focused window
bindsym $Mod+Shift+$left move left 10px
bindsym $Mod+Shift+$down move down 10px
bindsym $Mod+Shift+$up move up 10px
bindsym $Mod+Shift+$right move right 10px

# move position centered
bindsym $Mod+c move position center

# alternatively, you can use the cursor keys:
bindsym $Mod+Shift+Up move up 10px
bindsym $Mod+Shift+Down move down 10px
Expand Down

0 comments on commit df4d30c

Please sign in to comment.