;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains a lot of information ; ;===================================================== [colors] background = #000 background-alt = #222 background-selected = #444 background-alert = #bd2c40 foreground = #dfdfdf foreground-alt = #777 foreground-caution = #bd2c40 foreground-alert = #ff4e4e [bar/midbard] ;enable-ipc = true ; I don't use this at the moment enable-ipc = false monitor = ${env:MONITOR:eDP-1} width = 100% height = 27 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} padding-left = 0 padding-right = 3 module-margin-left = 6 module-margin-right = 6 ; Default text font-0 = "Fira Sans:size=10;1" ; TODO unused font-1 = fixed:pixelsize=10;1 ; Default icons font-2 = "Material Icons:pixelsize=14;3" ; Clock text font-3 = "Fira Sans:size=12;2" ; MPD song name font-4 = "Fira Mono:size=7;0" ; Specialised icons font-5 = "Weather Icons:size=10;1" font-6 = "Material Wifi Signal strength:pixelsize=14;2" ; MPD song position font-7 = "Fira Mono:size=7;-1" modules-left = i3 volume mpd-online-1 modules-center = date modules-right = battery cpu memory temperature eth wlan tray-position = right tray-padding = 2 cursor-click = pointer cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow label = " %title:0:50:…%" label-foreground = #777 [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} label-layout = %layout% label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-background = ${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-selected} label-focused-padding = 2 label-occupied = %index% label-occupied-padding = 2 label-urgent = %index%! label-urgent-background = ${colors.background-alert} label-urgent-padding = 2 label-empty = %index% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 [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 = #ffb52a ; focused = Active workspace on focused monitor label-focused = " %index% " label-focused-background = ${module/bspwm.label-focused-background} label-focused-padding = ${module/bspwm.label-focused-padding} ; unfocused = Inactive workspace on any monitor label-unfocused = %index% label-unfocused-padding = ${module/bspwm.label-occupied-padding} ; visible = Active workspace on unfocused monitor label-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %index% label-urgent-background = ${module/bspwm.label-urgent-background} label-urgent-padding = ${module/bspwm.label-urgent-padding} [mpd-shared] type = internal/mpd format-online = %{T8}%{T-}%{O-125}%{T5}%{T-} small-format-online = %{T8}%{T-}%{O-50}%{T5}%{T-} format-stopped = %{A1:cantata &:}%{A} format-stopped-foreground = ${colors.foreground-alt} icon-prev =  icon-prev-foreground = ${colors.foreground-alt} icon-stop =  icon-stop-foreground = ${colors.foreground-alt} icon-play =  icon-play-foreground = ${colors.foreground-alt} icon-pause =  icon-pause-foreground = ${colors.foreground-alt} icon-next =  icon-next-foreground = ${colors.foreground-alt} label-song = "%artist% - %title% " label-song-maxlen = 22 small-label-song-maxlen = 7 label-song-ellipsis = false label-song-foreground = ${colors.foreground} bar-progress-width = 25 small-bar-progress-width = 10 bar-progress-indicator = ▁ bar-progress-indicator-foreground = #eee bar-progress-fill = ▁ bar-progress-fill-foreground = #999 bar-progress-empty = ▁ bar-progress-empty-foreground = #333 [module/mpd-local] inherit = mpd-shared host = localhost port = 6600 [module/mpd-online-1] inherit = mpd-shared host = ${env:MPD_ONLINE_1_HOST} port = ${env:MPD_ONLINE_1_PORT} password = ${env:MPD_ONLINE_1_PASS} [module/mpd-online-2] inherit = mpd-shared host = ${env:MPD_ONLINE_2_HOST} port = ${env:MPD_ONLINE_2_PORT} password = ${env:MPD_ONLINE_2_PASS} format-online = ${mpd-shared.small-format-online} label-song-maxlen = ${mpd-shared.small-label-song-maxlen} label-song-foreground = ${colors.foreground-alt} bar-progress-width = ${mpd-shared.small-bar-progress-width} [module/xbacklight] type = internal/xbacklight format =