This commit is contained in:
Thomas Muller 2023-12-20 23:08:30 -05:00
parent ccb9b5b91c
commit a0cc2e91c1
2 changed files with 11 additions and 37 deletions

View file

@ -102,10 +102,10 @@ bindsym $mod+Ctrl+r exec --no-startup-id i3-dmenu-desktop
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus # change focus
bindsym $mod+h focus left bindsym $mod+Left focus left
bindsym $mod+j focus down bindsym $mod+Down focus down
bindsym $mod+k focus up bindsym $mod+Up focus up
bindsym $mod+l focus right bindsym $mod+Right focus right
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
#bindsym $mod+Left focus left #bindsym $mod+Left focus left
@ -114,13 +114,13 @@ bindsym $mod+l focus right
#bindsym $mod+Right focus right #bindsym $mod+Right focus right
# move focused window # move focused window
bindsym $mod+Shift+h move left bindsym $mod+Shift+Left move left
bindsym $mod+Shift+j move down bindsym $mod+Shift+Down move down
bindsym $mod+Shift+k move up bindsym $mod+Shift+Up move up
bindsym $mod+Shift+l move right bindsym $mod+Shift+Right move right
bindsym $mod+Ctrl+h move workspace to output left bindsym $mod+Ctrl+Left move workspace to output left
bindsym $mod+Ctrl+l move workspace to output right bindsym $mod+Ctrl+Right move workspace to output right
# alternatively, you can use the cursor keys: # alternatively, you can use the cursor keys:
#bindsym $mod+Shift+Left move left #bindsym $mod+Shift+Left move left
@ -203,29 +203,3 @@ bindsym $mod+mod1+c restart
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
#bindsym Left resize shrink width 10 px or 10 ppt
#bindsym Down resize grow height 10 px or 10 ppt
#bindsym Up resize shrink height 10 px or 10 ppt
#bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+Shift+r mode "default"
}
# bindsym $mod+Shift+r mode "resize"

2
.gitignore vendored
View file

@ -3,7 +3,7 @@
# This file # This file
!.gitignore !.gitignore
.gitconfig !.gitconfig
# .config folder # .config folder
!.config/ !.config/