diff --git a/.config/i3/config b/.config/i3/config index e982ede..a7754c2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -92,6 +92,10 @@ bindsym $mod+a focus parent # focus the child container #bindsym $mod+d focus child +#navigate workspaces next / previous +bindsym $mod+Ctrl+Right workspace next +bindsym $mod+Ctrl+Left workspace prev + # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. set $ws1 "1" @@ -142,6 +146,9 @@ 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'" + +bindsym $mod+r mode "resize" + # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode @@ -167,8 +174,6 @@ mode "resize" { bindsym $mod+r mode "default" } -bindsym $mod+r mode "resize" - # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) #bar { @@ -177,8 +182,40 @@ bindsym $mod+r mode "resize" # height 25 #} -exec_always --no-startup-id ~/.config/polybar/launch.sh +# Start i3bar to display a workspace bar (plus the system information i3status if available) +bar { + i3bar_command i3bar + status_command i3status + position top +## please set your primary output first. Example: 'xrandr --output eDP1 --primary' +# tray_output primary +# tray_output eDP1 + + bindsym button4 nop + bindsym button5 nop + font xft:URWGothic-Book 16 + strip_workspace_numbers yes + + colors { + background #222D31 + statusline #F9FAF9 + separator #454947 + +# border backgr. text + focused_workspace #F9FAF9 #16a085 #292F34 + active_workspace #595B5B #353836 #FDF6E3 + inactive_workspace #595B5B #222D31 #EEE8D5 + binding_mode #16a085 #2C2C2C #F9FAF9 + urgent_workspace #16a085 #FDF6E3 #E5201D + } +} + +# just in case I want my polubar again +#exec_always --no-startup-id ~/.config/polybar/launch.sh + +# TODO: figure out clipit +#exec --no-startup-id clipit ############################ # window border settings #