; 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 = 