;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ; https://github.com/polybar/polybar/wiki/ ; ;===================================================== [settings] screenchange-reload = true [colors] background = #222 background-alt = #444 foreground = #dfdfdf foreground-alt = #55 primary = #ffb52a secondary = #b37504 red = #e60053 alert = #bd2c40 [global/wm] margin-top = 5 margin-bottom = 5 [bar/mybar] bottom = false separator = "|" ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 27 offset-x = 0 offset-y = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 underline-size = 2 underline-color = #00f border-bottom-size = 2 border-bottom-color = #333 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 2 font-0 = "JetBrainsMono Nerd Font:size=11;2" font-1 = "JetBrainsMono Nerd Font:size=11;3" font-2 = "JetBrainsMono Nerd Font:size=11;3" font-3 = siji:pixelsize=12;3 font-4 = Font Awesome 5 Free:pixelsize=9;2 font-5 = Font Awesome 5 Free Solid:pixelsize=9;2 font-6 = Font Awesome 5 Brands:pixelsize=11;2 font-7 = unifont:pixelsize=12;3 font-8 = FontAwesome:style=Regular font-9 = PT Sans:style=Regular font-10 = OpenSymbol:style=Regular font-11 = Abyssinica SIL:style=Regular font-12 = Symbola:style=Regular modules-left = suspend-control i3 xwindow modules-center = modules-right = zoom-audio xbacklight-acpi volume xkeyboard memory cpu wlan battery date powermenu tray-position = right tray-padding = 2 ;tray-transparent = true ;tray-background = #0063ff ;wm-restack = bspwm wm-restack = i3 ;override-redirect = true ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock label-layout = %{F#55}%{F-} %layout% label-layout-underline = ${colors.red} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-background = ${colors.red} label-indicator-underline = ${colors.red} [module/filesystem] type = internal/fs interval = 25 mount-0 = / mount-1 = /home ;mount-2 = /invalid/mountpoint label-mounted = %mountpoint%: %percentage_free%% 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 [module/i3] type = internal/i3 ;fuzzy-match = true format = index-sort = true wrapping-scroll = false strip-wsnumbers = true label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} label-focused = [ %name%.%icon% ] label-focused-background = ${colors.background-alt} label-focused-underline = ${colors.primary} label-focused-padding = 2 label-visible = %name%.%icon% label-visible-background = ${self.label-focused-background} label-visible-underline = ${colors.secondary} label-visible-padding = 2 label-unfocused = %name%.%icon% label-unfocused-padding = 2 label-urgent = %name%.%icon%! label-urgent-background = ${colors.alert} label-urgent-padding = 2 ws-icon-0 = "1;Web" ws-icon-1 = "2;Slack" ws-icon-2 = "3;Tg" ws-icon-3 = "6;Web" ws-icon-4 = "7;IDEA" ws-icon-5 = "0;Sql" ws-icon-6 = "8;Term" ws-icon-default = [module/mpd] type = internal/mpd format-online = label-song-maxlen = 25 label-song-ellipsis = true icon-prev =  icon-seekb =  icon-stop =  icon-play =  icon-pause =  icon-next =  icon-seekf =  icon-random =  icon-repeat =  toggle-on-foreground = ${colors.primary} toggle-off-foreground = #66 [module/xbacklight] type = internal/xbacklight format =