i3: split + movement

This commit is contained in:
Michael Grote 2021-06-29 10:06:03 +02:00
parent ab00395a44
commit d402c3b028

View file

@ -37,7 +37,7 @@ floating_modifier $mod
bindsym $mod+Return exec alacritty bindsym $mod+Return exec alacritty
# kill focused window # kill focused window
bindsym $mod++shift+q kill bindsym $mod++Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
@ -48,36 +48,18 @@ bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# change focus # change focus
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+h focus left
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left bindsym $mod+Left focus left
bindsym $mod+Down focus down bindsym $mod+Down focus down
bindsym $mod+Up focus up bindsym $mod+Up focus up
bindsym $mod+Right focus right bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+h move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right bindsym $mod+Shift+Right move right
# resize focused window # resize focused window
bindsym $mod+Control+j resize shrink width 10 px or 10 ppt
bindsym $mod+Control+k resize grow height 10 px or 10 ppt
bindsym $mod+Control+l resize shrink height 10 px or 10 ppt
bindsym $mod+Control+h resize grow width 10 px or 10 ppt
# alternatively, you can use the cursor keys:
bindsym $mod+Control+Left resize shrink width 10 px or 10 ppt bindsym $mod+Control+Left resize shrink width 10 px or 10 ppt
bindsym $mod+Control+Down resize grow height 10 px or 10 ppt bindsym $mod+Control+Down resize grow height 10 px or 10 ppt
bindsym $mod+Control+Up resize shrink height 10 px or 10 ppt bindsym $mod+Control+Up resize shrink height 10 px or 10 ppt
@ -87,7 +69,7 @@ bindsym $mod+Control+Right resize grow width 10 px or 10 ppt
bindsym $mod+v split h bindsym $mod+v split h
# split in vertical orientation # split in vertical orientation
bindsym $mod+n split v bindsym $mod+h split v
# move focused workspace between monitors # move focused workspace between monitors
bindsym $mod+Ctrl+greater move workspace to output right bindsym $mod+Ctrl+greater move workspace to output right
@ -187,7 +169,6 @@ mode "resize" {
# bindsym $mod+r mode "resize" #deaktiviert # bindsym $mod+r mode "resize" #deaktiviert
<<<<<<< HEAD
# keine Fensterrahmen wenn nur ein Fenster angezeigt wird # keine Fensterrahmen wenn nur ein Fenster angezeigt wird
hide_edge_borders smart hide_edge_borders smart