SHARE
TWEET

Untitled

a guest Dec 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mode "resize" {
  2.     # These bindings trigger as soon as you enter the resize mode
  3.  
  4.     # Pressing left will shrink the window’s width.
  5.     # Pressing right will grow the window’s width.
  6.     # Pressing up will shrink the window’s height.
  7.     # Pressing down will grow the window’s height.
  8.     bindsym j           resize shrink width 10 px or 10 ppt
  9.     bindsym k           resize grow height 10 px or 10 ppt
  10.     bindsym l           resize shrink height 10 px or 10 ppt
  11.     bindsym semicolon   resize grow width 10 px or 10 ppt
  12.  
  13.     # same bindings, but for the arrow keys
  14.     bindsym Left        resize shrink width 10 px or 10 ppt
  15.     bindsym Down        resize grow height 10 px or 10 ppt
  16.     bindsym Up          resize shrink height 10 px or 10 ppt
  17.     bindsym Right       resize grow width 10 px or 10 ppt
  18.  
  19.     # back to normal: Enter or Escape
  20.     bindsym Return mode "default"
  21.     bindsym Escape mode "default"
  22. }
  23.  
  24. # Enter resize mode
  25. bindsym $mod+r mode "resize"
  26.    
  27. bindsym $mod+Ctrl+Right resize shrink width 1 px or 1 ppt
  28. bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
  29. bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
  30. bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
  31.    
  32. # Resizing windows by 10 in i3 using keyboard only
  33. bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
  34. bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
  35. bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
  36. bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
  37.    
  38. # Resizing windows in i3 using keyboard only
  39. # https://unix.stackexchange.com/q/255344/150597
  40.  
  41. # Resizing by 1
  42. bindsym $mod+Ctrl+Right resize shrink width 1 px or 1 ppt
  43. bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
  44. bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
  45. bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
  46.  
  47. # Resizing by 10
  48. bindsym $mod+Ctrl+Shift+Right resize shrink width 10 px or 10 ppt
  49. bindsym $mod+Ctrl+Shift+Up resize grow height 10 px or 10 ppt
  50. bindsym $mod+Ctrl+Shift+Down resize shrink height 10 px or 10 ppt
  51. bindsym $mod+Ctrl+Shift+Left resize grow width 10 px or 10 ppt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top