added simple resizing command ctrl+arrow keys
This commit is contained in:
parent
c9f240d85b
commit
5981db910e
1 changed files with 43 additions and 39 deletions
82
i3/config
82
i3/config
|
|
@ -5,7 +5,6 @@
|
|||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
|
|
@ -240,52 +239,57 @@ bindsym $mod+Shift+r restart
|
|||
# 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'"
|
||||
|
||||
#resize windows without need for resize mode
|
||||
bindsym Ctrl+Right resize shrink width 1 px or 1 ppt
|
||||
bindsym Ctrl+Up resize grow height 1 px or 1 ppt
|
||||
bindsym Ctrl+Down resize shrink height 1 px or 1 ppt
|
||||
bindsym Ctrl+Left resize grow width 1 px or 1 ppt
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# mode "resize" {
|
||||
# # These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s 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
|
||||
# # Pressing left will shrink the window’s width.
|
||||
# # Pressing right will grow the window’s width.
|
||||
# # Pressing up will shrink the window’s height.
|
||||
# # Pressing down will grow the window’s 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
|
||||
# # 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+r mode "default"
|
||||
}
|
||||
# # back to normal: Enter or Escape or $mod+r
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
# bindsym $mod+r mode "default"
|
||||
# }
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
# bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
mode hide
|
||||
hidden_state hide
|
||||
modifier Mod1
|
||||
workspace_buttons no
|
||||
status_command i3status
|
||||
separator_symbol " :: "
|
||||
i3bar_command i3bar --transparency
|
||||
font_size 20
|
||||
tray_padding 0
|
||||
# bar {
|
||||
# mode hide
|
||||
# hidden_state hide
|
||||
# modifier Mod1
|
||||
# workspace_buttons no
|
||||
# status_command i3status
|
||||
# separator_symbol " :: "
|
||||
# i3bar_command i3bar --transparency
|
||||
# font_size 20
|
||||
# tray_padding 0
|
||||
|
||||
colors {
|
||||
background #323b4d
|
||||
statusline #87afd7
|
||||
separator #87afd7
|
||||
# colors {
|
||||
# background #323b4d
|
||||
# statusline #87afd7
|
||||
# separator #87afd7
|
||||
|
||||
}
|
||||
# }
|
||||
|
||||
}
|
||||
# NotoSans-Bold
|
||||
# }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue