This commit is contained in:
Michael Grote 2021-06-29 10:15:39 +02:00
parent 3c1f085a5f
commit 380b52408d

View file

@ -79,7 +79,7 @@ bindsym $mod+Ctrl+less move workspace to output left
bindsym $mod+f fullscreen toggle
# enter lockscreen
bindsym $mod+Shift+s exec i3lock -c 000000
bindsym $mod+l exec i3lock -c 000000
# change container layout (stacked, tabbed, toggle split)
#bindsym $mod+s layout stacking
@ -142,36 +142,8 @@ 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 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 j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym h 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 Up resize grow height 10 px or 10 ppt
bindsym Down 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"
}
# bindsym $mod+r mode "resize" #deaktiviert
# keine Fensterrahmen wenn nur ein Fenster angezeigt wird
hide_edge_borders smart
for_window [class=".*"] border pixel 1
# polybar