;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] background = #222 background-alt = #444 foreground = #dfdfdf foreground-alt = #555 primary = #ffb52a secondary = #e60053 alert = #bd2c40 ################################################################################ ################################################################################ ############ MAINBAR-I3 ############ ################################################################################ ################################################################################ [bar/mainbar-i3] ;https://github.com/jaagr/polybar/wiki/Configuration monitor = ${env:MONITOR} ;monitor-fallback = HDMI1 monitor-strict = false bottom = false fixed-center = true width = 100% height = 20 ;offset-x = 1% ;offset-y = 1% background = ${colors.background} foreground = ${colors.foreground} ; Background gradient (vertical steps) ; background-[0-9]+ = #aarrggbb radius = 0.0 line-size = 2 line-color = #000000 ;border-size = 0 ;border-left-size = 25 ;border-right-size = 25 ;border-top-size = 10 ;border-bottom-size = 25 border-color = #000000 padding-left = 1 padding-right = 1 module-margin-left = 0 module-margin-right = 0 ;https://github.com/jaagr/polybar/wiki/Fonts font-0 = "UbuntuMono Nerd Font Mono:style=Regular:size=10;2" font-1 = "UbuntuMono Nerd Font:size=16;3" font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1" font-3 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1" font-4 = "Font Awesome 5 Brands:pixelsize=8;1" modules-left = i3 spotify1 modules-center = date modules-right = xkeyboard wifi pulseaudio battery ;modules-right = xkeyboard pulseaudio battery separator = " : " tray-position = left tray-detached = false tray-maxsize = 20 tray-background = ${colors.background} tray-offset-x = 0 tray-offset-y = 0 tray-padding = 4 tray-scale = 1.0 ; Enable support for inter-process messaging ; See the Messaging wiki page for more details. enable-ipc = true ; Fallback click handlers that will be called if ; there's no matching module handler found. click-left = click-middle = click-right = scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev double-click-left = double-click-middle = double-click-right = ; Requires polybar to be built with xcursor support (xcb-util-cursor) ; Possible values are: ; - default : The default pointer as before, can also be an empty string (default) ; - pointer : Typically in the form of a hand ; - ns-resize : Up and down arrows, can be used to indicate scrolling cursor-click = cursor-scroll = [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format = format-foreground = ${colors.foreground-alt} format-prefix = format-prefix-foreground = ${colors.background} format-prefix-underline = ${colors.secondary} label-layout = %layout% ;label-layout-underline = ${colors.secondary} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} [module/filesystem] type = internal/fs interval = 25 mount-0 = / label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.foreground-alt} [module/bspwm] type = internal/bspwm label-focused = %index% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.primary} label-focused-padding = 2 label-occupied = %index% label-occupied-padding = 2 label-urgent = %index%! label-urgent-background = ${colors.alert} label-urgent-padding = 2 label-empty = %index% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 ; Separator in between workspaces ; label-separator = | [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar ;pin-workspaces = true label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor label-focused = %index% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.secondary} label-focused-padding = 2 ; unfocused = Inactive workspace on any monitor label-unfocused = %index% label-unfocused-padding = 2 ; visible = Active workspace on unfocused monitor label-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-underline = ${colors.primary} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %index% label-urgent-background = ${colors.alert} label-urgent-padding = 2 [module/xbacklight] type = internal/xbacklight format =