Issue with polybar config

This page summarizes the projects mentioned and recommended in the original post on /r/Polybar

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • polybar

    A fast and easy-to-use status bar

    ;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] bg = #171717 fg = #B8B9B4 white = #c5c8c6 gray = #585858 black = #090909 red = #a54242 background-alt = #444 foreground-alt = #B8B69A icons = #D44420 primary = #ffb52a secondary = #e60053 alert = #bd2c40 [bar/example] ;monitor = ${env:MONITOR:HDMI-1} bottom = false ;width = 1800 width = 100% height = 30 offset-x = 8 offset-y = 8 margin-left = 8 margin-right = 8 background = ${colors.bg} foreground = ${colors.fg} line-size = 3 line-color = #f00 border-size = 0 border-color = #00000000 padding-left = 1.5 padding-right = 2 module-margin-left = 1 module-margin-right = 1 font-0 = JetBrainsMono-Regular:pixelsize=8;1 font-1 = unifont:fontformat=truetype:size=9:antialias=false;0 font-2 = siji:pixelsize=9;1 font-3 = MaterialIcons-Regular:pixelsize=8;1 modules-left = i3 modules-center = modules-right = pulseaudio-control ethernet date tray-position = right tray-padding = 2 ;tray-background = #0063ff ;wm-restack = bspwm ;wm-restack = i3 ;override-redirect = true ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev ;scroll-up = i3wm-wsnext ;scroll-down = i3wm-wsprev cursor-click = pointer cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow label = %title:0:30:...% [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} label-urgent-padding = 2 label-empty = %index% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 ; Separator in between workspaces ; label-separator = | [module/i3] type = internal/i3 format = index-sort = true label-focused-font = 4 label-unfocused-font = 4 label-urgent-font = 4 label-visible-font = 4 label-focused =  ;label-focused = %index% ;label-focused-background = ${colors.gray} label-focused-padding = 1 label-focused-foreground = ${colors.icons} label-unfocused =  ;label-unfocused = %index% label-unfocused-padding = 1 ;label-unfocused-background = ${colors.black} label-unfocused-underlinde = ${colors.white} label-urgent =  ;label-urgent = %index%! ;label-urgent-background = ${colors.red} label-urgent-padding = 1 label-urgent-foreground = ${colors.red} label-visible =  ;label-visible = %index% label-visible-foreground = ${colors.white} label-visible-padding = 1 [module/mpd] type = internal/mpd format-online = icon-prev =  icon-stop =  icon-play =  icon-pause =  icon-next =  label-song-maxlen = 25 label-song-ellipsis = true [module/backlight] type = internal/backlight card = intel_backlight enable-scroll = true [module/xbacklight] type = internal/xbacklight card = intel_backlight format = label = BL bar-width = 10 bar-indicator = | bar-indicator-foreground = #fff bar-indicator-font = 2 bar-fill = ─ bar-fill-font = 2 bar-fill-foreground = #9f78e1 bar-empty = ─ bar-empty-font = 2 bar-empty-foreground = ${colors.foreground-alt} [module/backlighaacpi] inherit = module/xbacklight type = internal/backlight card = intel_backlight [module/cpu] type = internal/cpu interval = 2 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} label = %percentage:2%% [module/memory] type = internal/memory interval = 2 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} label = %percentage_used%% [module/ethernet] type = internal/network interface = enp3s0 interval = 3.0 format-connected = label-connected = Connected format-disconnected = ;format-disconnected = label-disconnected = disconnected ;label-disconnected-foreground = ${colors.foreground-alt} ramp-signal-0 =  ramp-signal-1 =  ramp-signal-2 =  ramp-signal-3 =  ramp-signal-4 =  ramp-signal-foreground = ${colors.icons} [module/date] type = internal/date interval = 5 date = date-alt = " %Y-%m-%d" time = %H:%M time-alt = %H:%M:%S format-prefix =  format-prefix-foreground = ${colors.icons} label = %date% %time% [module/battery] type = internal/battery battery = BAT0 adapter = AC0 full-at = 98 format-charging = format-discharging = format-full-prefix = " " format-full-prefix-foreground = ${colors.icons} ramp-capacity-0 =  ramp-capacity-1 =  ramp-capacity-2 =  ramp-capacity-foreground = ${colors.icons} animation-charging-0 =  animation-charging-1 =  animation-charging-2 =  animation-charging-foreground = ${colors.icons} animation-charging-framerate = 750 animation-discharging-0 =  animation-discharging-1 =  animation-discharging-2 =  animation-discharging-foreground = ${colors.icons} animation-discharging-framerate = 750 [module/temperature] type = internal/temperature thermal-zone = 0 warn-temperature = 60 format = format-warn = label = %temperature-c% label-warn = %temperature-c% label-warn-foreground = ${colors.secondary} ramp-0 =  ramp-1 =  ramp-2 =  ramp-foreground = ${colors.foreground-alt} [module/pulseaudio-control] type = custom/script tail = true format-underline = ${colors.cyan} label-padding = 2 label-foreground = ${colors.foreground} exec = pulseaudio-control --icons-volume " , " --icon-muted " " --sink-nicknames-from "device.description" --sink-nickname "alsa_output.pci-0000_00_1b.0.analog-stereo: Speakers" --sink-nickname "alsa_output.usb-Kingston_HyperX_Virtual_Surround_Sound_00000000-00.analog-stereo: Headphones" listen click-right = exec pavucontrol & click-left = pulseaudio-control togmute click-middle = pulseaudio-control --sink-blacklist "alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2" next-sink scroll-up = pulseaudio-control --volume-max 130 up scroll-down = pulseaudio-control --volume-max 130 down [settings] screenchange-reload = true ;compositing-background = xor ;compositing-background = screen ;compositing-foreground = source ;compositing-border = over ;pseudo-transparency = false [global/wm] margin-top = 5 margin-bottom = 5

  • dotfiles

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • polybar-themes

    A huge collection of polybar themes with different styles, colors and variants.

    It's always good to have a starting point tho, for me it was this. I believe the sound and network modules are configured just as you want on that config, more precisely in the blocks theme.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts