[module/sep] type = custom/text content = | content-background = ${color.background} content-foreground = ${color.background} [module/pulseaudio] type = internal/pulseaudio ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) ; If not, uses default sink sink = alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false use-ui-max = false ; Interval for volume increase/decrease (in percent points) interval = 5 ; Available tags: ; <label-volume> (default) ; <ramp-volume> ; <bar-volume> format-volume = <ramp-volume><label-volume> format-volume-overline = ${color.background} format-volume-underline = ${color.background} label-volume = %percentage%% label-volume-background = ${color.background-alt} label-volume-padding = 1 ramp-volume-0 = ramp-volume-1 = ramp-volume-2 = ramp-volume-3 = ramp-volume-4 = ramp-volume-background = ${color.blue} ramp-volume-padding = 1 ; Available tags: ; <label-muted> (default) ; <ramp-volume> ; <bar-volume> format-muted = <label-muted> format-muted-prefix = format-muted-prefix-background = ${color.red} format-muted-prefix-padding = 1 format-muted-overline = ${color.background} format-muted-underline = ${color.background} label-muted = "Muted" label-muted-foreground = ${color.foreground} label-muted-background = ${color.background-alt} label-muted-padding = 1 ; Right click click-right = pavucontrol [module/backlight] type = internal/backlight ; xbacklight only works with Intel. Other drivers (e.g. Radeon) did not ; add support for the RandR backlight property. ;type = internal/xbacklight ; Use the following command to list available cards: ; $ ls -1 /sys/class/backlight/ card = amdgpu_bl0 ; Use the `/sys/class/backlight/.../actual-brightness` file ; rather than the regular `brightness` file. use-actual-brightness = true ; Enable changing the backlight with the scroll wheel ; NOTE: This may require additional configuration on some systems. Polybar will ; write to `/sys/class/backlight/${self.card}/brightness` which requires polybar ; to have write access to that file. ; DO NOT RUN POLYBAR AS ROOT. ; The recommended way is to add the user to the ; `video` group and give that group write-privileges for the `brightness` file. ; See the ArchWiki for more information: ; https://wiki.archlinux.org/index.php/Backlight#ACPI enable-scroll = true ; Available tags: ; <label> (default) ; <ramp> ; <bar> format = <ramp><label> format-overline = ${color.background} format-underline = ${color.background} ; Available tokens: ; %percentage% (default) label = %percentage%% label-background = ${color.background-alt} label-padding = 1 ; Only applies if <ramp> is used ramp-0 = ramp-1 = ramp-2 = ramp-3 = ramp-4 = ramp-background = ${color.lime} ramp-padding = 1 [module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge full-at = 99 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT1 adapter = ACAD ; If an inotify event haven't been reported in this many ; seconds, manually poll for new values. ; ; Needed as a fallback for systems that don't report events ; on sysfs/procfs. ; ; Disable polling by setting the interval to 0. poll-interval = 5 ; see "man date" for details on how to format the time string ; NOTE: if you want to use syntax tags here you need to use %%{...} time-format = %H:%M ; Available tags: ; <label-charging> (default) ; <bar-capacity> ; <ramp-capacity> ; <animation-charging> format-charging = <label-charging> format-charging-prefix = format-charging-prefix-background = ${color.green} format-charging-prefix-padding = 1 format-charging-overline = ${color.background} format-charging-underline = ${color.background} ; Available tags: ; <label-discharging> (default) ; <bar-capacity> ; <ramp-capacity> ; <animation-discharging> format-discharging = <ramp-capacity><label-discharging> format-discharging-overline = ${color.background} format-discharging-underline = ${color.background} ; Available tags: ; <label-full> (default) ; <bar-capacity> ; <ramp-capacity> format-full = <label-full> format-full-prefix = format-full-prefix-background = ${color.red} format-full-prefix-padding = 1 format-full-overline = ${color.background} format-full-underline = ${color.background} ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current charge rate in watts) label-charging = %percentage%% label-charging-background = ${color.background-alt} label-charging-padding = 1 ; Available tokens: ; %percentage% (default) ; %time% ; %consumption% (shows current discharge rate in watts) label-discharging = %percentage%% label-discharging-background = ${color.background-alt} label-discharging-padding = 1 ; Available tokens: ; %percentage% (default) label-full = Full label-full-background = ${color.background-alt} label-full-padding = 1 ; Only applies if <ramp-capacity> is used ramp-capacity-0 = ramp-capacity-1 = ramp-capacity-2 = ramp-capacity-3 = ramp-capacity-4 = ramp-capacity-background = ${color.pink} ramp-capacity-padding = 1 ; Only applies if <animation-charging> is used animation-charging-0 = animation-charging-1 = ; Framerate in milliseconds animation-charging-framerate = 750 [module/date] type = internal/date ; Seconds to sleep between updates interval = 1.0 ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; NOTE: if you want to use syntax tags here you need to use %%{...} ;;date = %Y-%m-%d% ; Optional time format time = "%I:%M %p" ; if `date-alt` or `time-alt` is defined, clicking ; the module will toggle between formats time-alt = "%a, %d %b %Y" ; Available tags: ; <label> (default) format = <label> format-prefix = format-prefix-background = ${color.amber} format-prefix-padding = 1 format-overline = ${color.background} format-underline = ${color.background} ; Available tokens: ; %date% ; %time% ; Default: %date% label = %time% label-background = ${color.background-alt} label-padding = 1 [module/network] type = internal/network ; If no interface is specified, polybar can detect an interface of the given type. ; If multiple are found, it will prefer running interfaces and otherwise just ; use the first one found. ; Either 'wired' or 'wireless' ; New in version 3.6.0 interface-type = ${env:NETWORK_TYPE:wired} ; Seconds to sleep between updates interval = 1.0 ; Accumulate values from all interfaces ; when querying for up/downspeed rate accumulate-stats = true ; Consider an `UNKNOWN` interface state as up. ; Some devices have an unknown state, even when they're running unknown-as-up = true ; Available tags: ; <label-connected> (default) ; <ramp-signal> format-connected = <label-connected><ramp-signal> format-connected-overline = ${color.background} format-connected-underline = ${color.background} ; Only applies if <ramp-signal> is used ramp-signal-0 = ramp-signal-background = ${color.yellow} ramp-signal-padding = 1 ; Available tokens: ; %ifname% [wireless+wired] ; %local_ip% [wireless+wired] ; %local_ip6% [wireless+wired] ; %essid% [wireless] ; %signal% [wireless] ; %upspeed% [wireless+wired] ; %downspeed% [wireless+wired] ; %linkspeed% [wired] label-connected = "%upspeed% | %downspeed%" label-connected-background = ${color.background-alt} label-connected-padding = 1 ; Available tags: ; <label-disconnected> (default) format-disconnected = <label-disconnected> format-disconnected-prefix = format-disconnected-prefix-background = ${color.orange} format-disconnected-prefix-padding = 1 format-disconnected-overline = ${color.background} format-disconnected-underline = ${color.background} ; Available tokens: ; %ifname% [wireless+wired] label-disconnected = "Offline" label-disconnected-background = ${color.background-alt} label-disconnected-padding = 1 [module/keyboard] type = internal/xkeyboard ; List of indicators to ignore blacklist-0 = num lock blacklist-1 = scroll lock ; Available tags: ; <label-layout> (default) ; <label-indicator> (default) format = <label-layout><label-indicator> format-prefix = format-prefix-background = ${color.blue-gray} format-prefix-padding = 1 format-overline = ${color.background} format-underline = ${color.background} ; Available tokens: ; %layout% ; %name% ; %number% label-layout = "%layout%" label-layout-background = ${color.background-alt} label-layout-padding = 1 ; Available tokens: ; %name% label-indicator-on = "%name% " label-indicator-on-background = ${color.background-alt} [module/title] type = internal/xwindow ; Available tags: ; <label> (default) format = <label> format-prefix = format-padding = 1 format-foreground = ${color.foreground-alt} ; Available tokens: ; %title% ; Default: %title% label = " %title%" label-maxlen = 64 ; Used instead of label when there is no window title label-empty = " Desktop" [module/workspaces] type = internal/xworkspaces ; Only show workspaces defined on the same output as the bar pin-workspaces = true ; Create click handler used to focus desktop enable-click = true ; Create scroll handlers used to cycle desktops enable-scroll = true ; Available tags: ; <label-monitor> ; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)> format = <label-state> format-overline = ${color.background} format-underline = ${color.background} ; Available tokens: ; %name% label-monitor = %name% ; Available tokens: ; %name% ; %icon% ; %index% label-active = %name% label-active-foreground = ${color.foreground} label-active-background = ${color.primary} label-active-padding = 1 ; Available tokens: ; %name% ; %icon% ; %index% label-occupied = %name% label-occupied-foreground = ${color.foreground} label-occupied-background = ${color.background-alt} label-occupied-padding = 1 ; Available tokens: ; %name% ; %icon% ; %index% label-urgent = %name% label-urgent-foreground = ${color.foreground} label-urgent-background = ${color.red} label-urgent-padding = 1 ; Available tokens: ; %name% ; %icon% ; %index% label-empty = %name% label-empty-foreground = ${color.foreground} label-empty-background = ${color.background-alt} label-empty-padding = 1