;===================================================== ; ; 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 [bardefaults] ;enable-ipc = true ; I don't use this at the moment enable-ipc = false 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" ; Sliders 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;-1" ; Specialised icons font-5 = "Weather Icons:size=10;1" font-6 = "Bar Material Supplements:pixelsize=14;1" font-7 = "Bar Material Supplements:pixelsize=21;3" ; MPD song position font-8 = "Freemono:size=7;9" cursor-click = pointer cursor-scroll = ns-resize [bar/midbard] inherit = bardefaults monitor = ${env:MONITOR:eDP-1} width = 100% modules-left = i3 volume mpd-local modules-center = date modules-right = eth wlan battery memory cpu temperature tray-position = right tray-padding = 2 [bar/secondary] inherit = bardefaults height=18 modules-left = i3 modules-right = xwindow monitor = ${env:MONITOR:eDP-1} [module/xwindow] type = internal/xwindow label = "%title:0:100:…%" label-foreground = ${colors.foreground-alt} [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 = 24 mount-0 = / label-mounted = %{F#0a81f5}%mountpoint%%{F}: %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.foreground-alt} [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 = " %name% " label-focused-background = ${colors.background-selected} label-focused-padding = 2 ; unfocused = Inactive workspace on any monitor label-unfocused = %name% label-unfocused-padding = 2 ; visible = Active workspace on unfocused monitor label-visible = ${self.label-focused} label-visible-background = ${colors.background-alt} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %name% label-urgent-background = ${colors.background-alert} label-urgent-padding = 2 [mpd-shared] type = internal/mpd ;format-online = %{T9}%{T-}%{O-125}%{T5}%{T-} ;small-format-online = %{T9}%{T-}%{O-50}%{T5}%{T-} format-online = %{A1:mpdclient &:}%{T9}%{T-}%{O-125}%{T5}%{T-}%{A} small-format-online = %{A1:mpdclient &:}%{T9}%{T-}%{O-50}%{T5}%{T-}%{A} format-stopped = %{A1:mpdclient &:}%{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 =