Add i3 tray bar and fix formatting

master
Rasmus Rosengren 3 years ago
parent 275bb53f03
commit 250fef4b27
Signed by: rsrp
GPG Key ID: A13BC7BC4F81CF5F
  1. 69
      .config/i3/config

@ -85,25 +85,25 @@ bindsym $mod+Shift+0 move container to workspace number $ws10
# resize window with keyboard # resize window with keyboard
mode "resize" { mode "resize" {
# decrease width # decrease width
bindsym h resize shrink width 1 px or 1 ppt bindsym h resize shrink width 1 px or 1 ppt
bindsym $mod+h resize shrink width 1 px or 4 ppt bindsym $mod+h resize shrink width 1 px or 4 ppt
# increase height # increase height
bindsym j resize grow height 1 px or 1 ppt bindsym j resize grow height 1 px or 1 ppt
bindsym $mod+j resize grow height 1 px or 4 ppt bindsym $mod+j resize grow height 1 px or 4 ppt
# decrease height # decrease height
bindsym k resize shrink height 1 px or 1 ppt bindsym k resize shrink height 1 px or 1 ppt
bindsym $mod+k resize shrink height 1 px or 4 ppt bindsym $mod+k resize shrink height 1 px or 4 ppt
# increase width # increase width
bindsym l resize grow width 1 px or 1 ppt bindsym l resize grow width 1 px or 1 ppt
bindsym $mod+l resize grow width 1 px or 4 ppt bindsym $mod+l resize grow width 1 px or 4 ppt
# back to normal # back to normal
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"
@ -155,18 +155,33 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 4
bindsym XF86AudioMute exec --no-startup-id pamixer -t bindsym XF86AudioMute exec --no-startup-id pamixer -t
bar { bar {
font pango:Source Code Pro SemiBold, FontAwesome 10 id main
position top font pango:Source Code Pro SemiBold, FontAwesome 10
status_command .cargo/bin/i3status-simple position top
colors { status_command .cargo/bin/i3status-simple
separator #666666 tray_output none
background #222222 colors {
statusline #dddddd separator #666666
focused_workspace #0088CC #0088CC #ffffff background #222222
active_workspace #333333 #333333 #ffffff statusline #dddddd
inactive_workspace #333333 #333333 #888888 focused_workspace #0088CC #0088CC #ffffff
urgent_workspace #2f343a #900000 #ffffff active_workspace #333333 #333333 #ffffff
} inactive_workspace #333333 #333333 #888888
urgent_workspace #2f343a #900000 #ffffff
}
}
bindsym $mod+t bar mode toggle tray
bar {
id tray
mode hide
modifier none
position bottom
tray_output primary
workspace_buttons no
colors {
background #222222
}
} }
# Set background image # Set background image

Loading…
Cancel
Save