;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] background = #cc24273a foreground = #cad3f5 blue = #8aadf4 green = #a6da95 red = #ed8796 yellow = #eed49f disabled = #5b6078 [bar/top] width = 100% height = 24pt radius = 0 ; dpi = 96 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 4pt border-color = #00000000 padding-left = 0 padding-right = 1 module-margin = 1 separator = | separator-foreground = ${colors.disabled} font-0 = Iosevka Nerd Font;2 ; font-1 = monospace;2 modules-left = xworkspaces xwindow modules-right = pulseaudio memory cpu wlan eth battery date cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true tray-position = right ; wm-restack = generic wm-restack = bspwm ; wm-restack = i3 ; override-redirect = true [module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge ; Default: 100 full-at = 99 ; format-low once this charge percentage is reached ; Default: 10 ; New in version 3.6.0 low-at = 15 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = ADP1 ; 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. ; ; Default: 5 poll-interval = 5 ; Formatting format-charging = format-charging-foreground = ${colors.yellow} format-discharging = format-discharging-foreground = ${colors.yellow} format-full = format-full-foreground = ${colors.green} format-low = format-low-foreground = ${colors.red} label-charging = " %percentage%%" label-charging-foreground = ${colors.foreground} label-discharging = " %percentage%%" label-discharging-foreground = ${colors.foreground} label-full = " %percentage%%" label-full-foreground = ${colors.foreground} label-low = " %percentage%%" label-low-foreground = ${colors.foreground} ; Only applies if is used ramp-capacity-0 =  ramp-capacity-1 =  ramp-capacity-2 =  ramp-capacity-3 =  ramp-capacity-4 =  ; Only applies if is used bar-capacity-width = 10 ; Only applies if is used animation-charging-0 =  animation-charging-1 =  animation-charging-2 =  animation-charging-3 =  animation-charging-4 =  ; Framerate in milliseconds animation-charging-framerate = 750 ; Only applies if is used animation-discharging-0 =  animation-discharging-1 =  animation-discharging-2 =  animation-discharging-3 =  animation-discharging-4 =  ; Framerate in milliseconds animation-discharging-framerate = 500 ; Only applies if is used ; New in version 3.6.0 animation-low-0 = ! animation-low-1 = animation-low-framerate = 200 [module/xworkspaces] type = internal/xworkspaces label-active = %name% label-active-background = ${colors.background} label-active-underline= ${colors.green} label-active-padding = 1 label-occupied = %name% label-occupied-padding = 1 label-urgent = %name% label-urgent-background = ${colors.red} label-urgent-padding = 1 label-empty = %name% label-empty-foreground = ${colors.disabled} label-empty-padding = 1 [module/xwindow] type = internal/xwindow label = %title:0:60:...% [module/filesystem] type = internal/fs interval = 25 mount-0 = / label-mounted = %{F#89B4FA}%mountpoint%%{F-} %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} [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.pci-0000_12_00.3.analog-stereo ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false ; Default: true use-ui-max = false ; Interval for volume increase/decrease (in percent points) ; Default: 5 interval = 5 ; Available tags: ; (default) ; ; format-volume = "墳 " format-volume-foreground = ${colors.green} ; Available tags: ; (default) ; ; format-muted = "婢 " format-muted-foreground = ${colors.red} ; Available tokens: ; %percentage% (default) ; %decibels% label-volume = %percentage%% label-volume-foreground = ${colors.foreground} ; Available tokens: ; %percentage% (default) ; %decibels% label-muted = mute label-muted-foreground = ${colors.disabled} ; Only applies if is used ramp-volume-0 = 🔈 ramp-volume-1 = 🔉 ramp-volume-2 = 🔊 ; Right and Middle click click-right = pavucontrol ; click-middle = [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock label-layout = %layout% label-layout-foreground = ${colors.blue} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-foreground = ${colors.background} label-indicator-background = ${colors.green} [module/memory] type = internal/memory ; Seconds to sleep between updates ; Default: 1 interval = 3 ; Default: 90 ; New in version 3.6.0 warn-percentage = 95 ; Available tags: ;