; Docs: https://github.com/polybar/polybar ;========================================================== [settings] screenchange-reload = true [global/wm] margin-top = 0 margin-bottom = 0 [colors] background = #f0232635 background-alt = #576075 foreground = #A6Accd foreground-alt = #555 primary = #ffb52a secondary = #e60053 alert = #bd2c40 underline-1 = #c792ea [bar/panel] width = 100% height = 30 offset-x = 0 offset-y = 0 fixed-center = true enable-ipc = true background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 border-size = 0 border-color = #00000000 padding-top = 5 padding-left = 1 padding-right = 1 module-margin = 1 font-0 = "Iosevka Aile:size=16:weight=light;2" font-1 = "Font Awesome:size=12;2" font-2 = "Material Icons:size=18;5" font-3 = "Fira Mono:size=11;-3" modules-left = exwm exwm-path modules-center = spotify modules-right = telegram mu4e cpu temperature battery date tray-position = right tray-padding = 2 tray-maxsize = 28 cursor-click = pointer cursor-scroll = ns-resize [bar/herbst] width = 100% height = 30 offset-x = 0 offset-y = 0 fixed-center = true enable-ipc = true background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 border-size = 0 border-color = #00000000 padding-top = 5 padding-left = 1 padding-right = 1 module-margin = 1 font-0 = "Iosevka Aile:size=16:weight=semibold;2" font-1 = "Font Awesome:size=12;2" font-2 = "Material Icons:size=18;5" font-3 = "Fira Mono:size=11;-3" modules-left = xworkspaces modules-center = spotify modules-right = cpu temperature battery date tray-position = right tray-padding = 2 tray-maxsize = 28 cursor-click = pointer cursor-scroll = ns-resize [module/xworkspaces] type = internal/xworkspaces enable-click = false [module/exwm] type = custom/ipc hook-0 = emacsclient -e "(dw/polybar-exwm-workspace)" | sed -e 's/^"//' -e 's/"$//' initial = 1 format-underline = ${colors.underline-1} format-background = ${colors.background-alt} format-padding = 1 [module/exwm-path] type = custom/ipc hook-0 = emacsclient -e "(dw/polybar-exwm-workspace-path)" | sed -e 's/^"//' -e 's/"$//' format-foreground = #f78c6c initial = 1 [module/spotify] type = custom/script exec = ~/.config/polybar/player-status.sh interval = 3 [module/mu4e] type = custom/ipc hook-0 = emacsclient -e '(dw/polybar-mail-count 500)' | sed -e 's/^"//' -e 's/"$//' initial = 1 format-underline = ${colors.underline-1} click-left = emacsclient -e '(dw/go-to-inbox)' [module/telegram] type = custom/ipc hook-0 = emacsclient -e '(dw/polybar-telegram-chats)' | sed -e 's/^"//' -e 's/"$//' format-padding = 3 initial = 1 [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format-prefix-font = 1 format-prefix-foreground = ${colors.foreground-alt} format-prefix-underline = ${colors.underline-1} label-layout = %layout% label-layout-underline = ${colors.underline-1} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-underline = ${colors.underline-1} [module/cpu] type = internal/cpu interval = 2 format = <label> <ramp-coreload> format-underline = ${colors.underline-1} click-left = emacsclient -e "(proced)" label = %percentage:2%% ramp-coreload-spacing = 0 ramp-coreload-0 = ▁ ramp-coreload-0-foreground = ${colors.foreground-alt} ramp-coreload-1 = ▂ ramp-coreload-2 = ▃ ramp-coreload-3 = ▄ ramp-coreload-4 = ▅ ramp-coreload-5 = ▆ ramp-coreload-6 = ▇ [module/memory] type = internal/memory interval = 2 format-prefix = "M:" format-prefix-foreground = ${colors.foreground-alt} format-underline = ${colors.underline-1} label = %percentage_used%% [module/date] type = internal/date interval = 5 date = "W%U: %a %b %e" date-alt = "%A %B %d %Y" time = %l:%M %p time-alt = %H:%M:%S format-prefix-foreground = ${colors.foreground-alt} format-underline = ${colors.underline-1} label = %date% %time% [module/battery] type = internal/battery battery = BAT0 adapter = ADP1 full-at = 98 time-format = %-l:%M label-charging = %percentage%% / %time% format-charging = <animation-charging> <label-charging> format-charging-underline = ${colors.underline-1} label-discharging = %percentage%% / %time% format-discharging = <ramp-capacity> <label-discharging> format-discharging-underline = ${self.format-charging-underline} format-full = <ramp-capacity> <label-full> format-full-underline = ${self.format-charging-underline} ramp-capacity-0 = ramp-capacity-1 = ramp-capacity-2 = ramp-capacity-3 = ramp-capacity-4 = animation-charging-0 = animation-charging-1 = animation-charging-2 = animation-charging-3 = animation-charging-4 = animation-charging-framerate = 750 [module/temperature] type = internal/temperature thermal-zone = 0 warn-temperature = 60 format = <label> format-underline = ${colors.underline-1} format-warn = <label-warn> format-warn-underline = ${self.format-underline} label = %temperature-c% label-warn = %temperature-c%! label-warn-foreground = ${colors.secondary}