Reset i3 defaults

This commit is contained in:
tactonbishop 2022-06-11 18:38:26 +01:00
parent 942bd9bd66
commit 0bbb340167

View file

@ -14,7 +14,7 @@ set $sup Mod4
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
font Inter 9 font Inter 9
# This font is widely installed, provides lots of unicode glyphs, right-to-left # This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango). # text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -154,28 +154,28 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width. # Pressing left will shrink the windows width.
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow the windows height. # Pressing down will grow the windows height.
bindsym $mod+h resize shrink width 10 px or 10 ppt bindsym $mod+h resize shrink width 10 px or 10 ppt
bindsym $mod+j resize grow height 10 px or 10 ppt bindsym $mod+j resize grow height 10 px or 10 ppt
bindsym $mod+k resize shrink height 10 px or 10 ppt bindsym $mod+k resize shrink height 10 px or 10 ppt
bindsym $mod+l resize grow width 10 px or 10 ppt bindsym $mod+l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 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 Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r # back to normal: Enter or Escape or $mod+r
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
bindsym $mod+r mode "default" bindsym $mod+r mode "default"
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
@ -183,7 +183,7 @@ bindsym $mod+r mode "resize"
# AUTO-START # AUTO-START
exec_always --no-startup-id $HOME/.config/polybar/launch.sh # Polybar exec_always --no-startup-id $HOME/.config/polybar/launch.sh # Polybar
exec_always guake # Guake exec_always guake # Guake
# KEY BINDINGS # KEY BINDINGS
bindsym $mod+h split h bindsym $mod+h split h
@ -205,7 +205,7 @@ for_window [class="^.*"] border pixel 0 # Remove header on windows
set $yellow #717f24 set $yellow #717f24
set $green #2f7e25 set $green #2f7e25
set $brightGreen #18e000 set $brightGreen #18e000
set $text #637d75 set $text #637d75
set $red #7f2b27 set $red #7f2b27
set $blank #000000 set $blank #000000
@ -217,7 +217,6 @@ client.urgent $blank $red $blank $red
client.placeholder $blank $blank $blank $blank client.placeholder $blank $blank $blank $blank
client.background $blank client.background $blank
# MISC # MISC
# Set Guake to work as floating window # Set Guake to work as floating window
for_window [instance="guake"] floating enable for_window [instance="guake"] floating enable