;===================================================== ; ; 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 = #444 foreground = #dfdfdf foreground-alt = #777 alert-fg = #ff4e4e alert-bg = #bd2c40 [bar/midbard] ;enable-ipc = true ; I don't use this at the moment enable-ipc = false ;monitor = ${env:MONITOR:HDMI-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 font-0 = "Fira Sans:size=10;1" font-1 = fixed:pixelsize=10;1 font-2 = "Material Icons:pixelsize=14;3" font-3 = "Fira Sans:size=12;1" font-4 = "Fira Mono:size=10;1" font-5 = "Weather Icons:size=10;1" font-6 = "Material Wifi Signal strength:pixelsize=14;2" modules-left = i3 mpd-local mpd-online-1 mpd-online-2 modules-center = date modules-right = volume 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-alt} label-focused-padding = 2 label-occupied = %index% label-occupied-padding = 2 label-urgent = %index%! label-urgent-background = ${colors.alert-bg} 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] format-online = 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-foreground = ${colors.foreground} label-song-maxlen = 25 label-song-ellipsis = true bar-progress-width = 45 bar-progress-indicator = | bar-progress-fill = ─ bar-progress-empty = ─ ; {{{ nothing interesting here, just copying MPD settings [module/mpd-local] type = internal/mpd host = localhost port = 6600 format-online = ${mpd-shared.format-online} icon-prev = ${mpd-shared.icon-prev} icon-prev-foreground = ${mpd-shared.icon-prev-foreground} icon-stop = ${mpd-shared.icon-stop} icon-stop-foreground = ${mpd-shared.icon-stop-foreground} icon-play = ${mpd-shared.icon-play} icon-play-foreground = ${mpd-shared.icon-play-foreground} icon-pause = ${mpd-shared.icon-pause} icon-pause-foreground = ${mpd-shared.icon-pause-foreground} icon-next = ${mpd-shared.icon-next} icon-next-foreground = ${mpd-shared.icon-next-foreground} label-song = ${mpd-shared.label-song} label-song-foreground = ${mpd-shared.label-song-foreground} label-song-maxlen = ${mpd-shared.label-song-maxlen} label-song-ellipsis = ${mpd-shared.label-song-ellipsis} bar-progress-width = ${mpd-shared.bar-progress-width} bar-progress-indicator = ${mpd-shared.bar-progress-indicator} bar-progress-fill = ${mpd-shared.bar-progress-fill} bar-progress-empty = ${mpd-shared.bar-progress-empty} [module/mpd-online-1] type = internal/mpd host = ${env:MPD_ONLINE_1_HOST} port = ${env:MPD_ONLINE_1_PORT} password = ${env:MPD_ONLINE_1_PASS} format-online = ${mpd-shared.format-online} icon-prev = ${mpd-shared.icon-prev} icon-prev-foreground = ${mpd-shared.icon-prev-foreground} icon-stop = ${mpd-shared.icon-stop} icon-stop-foreground = ${mpd-shared.icon-stop-foreground} icon-play = ${mpd-shared.icon-play} icon-play-foreground = ${mpd-shared.icon-play-foreground} icon-pause = ${mpd-shared.icon-pause} icon-pause-foreground = ${mpd-shared.icon-pause-foreground} icon-next = ${mpd-shared.icon-next} icon-next-foreground = ${mpd-shared.icon-next-foreground} label-song = ${mpd-shared.label-song} label-song-foreground = ${mpd-shared.label-song-foreground} label-song-maxlen = ${mpd-shared.label-song-maxlen} label-song-ellipsis = ${mpd-shared.label-song-ellipsis} bar-progress-width = ${mpd-shared.bar-progress-width} bar-progress-indicator = ${mpd-shared.bar-progress-indicator} bar-progress-fill = ${mpd-shared.bar-progress-fill} bar-progress-empty = ${mpd-shared.bar-progress-empty} [module/mpd-online-2] type = internal/mpd host = ${env:MPD_ONLINE_2_HOST} port = ${env:MPD_ONLINE_2_PORT} password = ${env:MPD_ONLINE_2_PASS} format-online = ${mpd-shared.format-online} icon-prev = ${mpd-shared.icon-prev} icon-prev-foreground = ${mpd-shared.icon-prev-foreground} icon-stop = ${mpd-shared.icon-stop} icon-stop-foreground = ${mpd-shared.icon-stop-foreground} icon-play = ${mpd-shared.icon-play} icon-play-foreground = ${mpd-shared.icon-play-foreground} icon-pause = ${mpd-shared.icon-pause} icon-pause-foreground = ${mpd-shared.icon-pause-foreground} icon-next = ${mpd-shared.icon-next} icon-next-foreground = ${mpd-shared.icon-next-foreground} label-song = ${mpd-shared.label-song} label-song-foreground = ${mpd-shared.label-song-foreground} label-song-maxlen = ${mpd-shared.label-song-maxlen} label-song-ellipsis = ${mpd-shared.label-song-ellipsis} bar-progress-width = ${mpd-shared.bar-progress-width} bar-progress-indicator = ${mpd-shared.bar-progress-indicator} bar-progress-fill = ${mpd-shared.bar-progress-fill} bar-progress-empty = ${mpd-shared.bar-progress-empty} ; }}} [module/xbacklight] type = internal/xbacklight format =