;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] background = ${xrdb:color0:#1d2021} background-alt = ${xrdb:color8:#928374} foreground = ${xrdb:color15:#ebdbb2} primary = ${xrdb:color11:#fabd2f} secondary = ${xrdb:color14:#8ec07c} alert = ${xrdb:color9:#fb4934} disabled = #707880 [bar/mybar] monitor = ${env:MONITOR:} width = 100% height = 24pt radius = 6 ; 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 = mono:size=8;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = siji:pixelsize=10;1 font-3 = NotoMono Nerd Font Mono:size=10;2 modules-left = bspwm modules-right = filesystem pulseaudio cpu memory temperature wlan eth battery date tray ; cursor-click = pointer ; cursor-scroll = ns-resize enable-ipc = true wm-restack = bspwm ; override-redirect = true [module/systray] type = internal/tray format-margin = 8pt tray-spacing = 16pt [module/xworkspaces] type = internal/xworkspaces label-active = %name% label-active-background = ${colors.background-alt} label-active-underline= ${colors.primary} label-active-padding = 1 label-occupied = %name% label-occupied-padding = 1 label-urgent = %name% label-urgent-background = ${colors.alert} 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#F0C674}%mountpoint%%{F-} %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} [module/pulseaudio] type = internal/pulseaudio format-volume-prefix = "VOL " format-volume-prefix-foreground = ${colors.primary} format-volume = label-volume = %percentage%% label-muted = muted label-muted-foreground = ${colors.disabled} click-right = st -e pulsemixer [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock label-layout = %layout% label-layout-foreground = ${colors.primary} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-foreground = ${colors.background} label-indicator-background = ${colors.secondary} [module/memory] type = internal/memory interval = 2 format-prefix = "RAM " format-prefix-foreground = ${colors.primary} label = %percentage_used%% (%gb_used%) [module/cpu] type = internal/cpu interval = 2 format-prefix = "CPU " format-prefix-foreground = ${colors.primary} label = %percentage:2%% [network-base] type = internal/network interval = 5 format-connected = format-disconnected = label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected [module/wlan] inherit = network-base interface-type = wireless label-connected = %{F#F0C674}%{F-} %essid% [module/eth] inherit = network-base interface = bond0 label-connected = ⬇%downspeed%|⬆%upspeed% [module/date] type = internal/date interval = 5 date = "%a %d %b" time = %H:%M time-alt = %H:%M label = %date% %time% label-foreground = ${colors.primary} [settings] screenchange-reload = true ; pseudo-transparency = true [module/bspwm] type = internal/bspwm ; Create click handler used to focus workspace ; Default: true enable-click = false ; Create scroll handlers used to cycle workspaces ; Default: true enable-scroll = false ; Available tags: ; ; - gets replaced with ; - gets replaced with ; Default: format = ; The following labels will be used to indicate the layout/mode ; for the focused workspace. Requires ; ; Available tokens: ; None label-monocle = MON label-fullscreen = FULL label-floating = FLOAT label-pseudotiled = PSEUDO label-locked = LOCK label-locked-foreground = #bd2c40 label-sticky = STI label-sticky-foreground = #fba922 label-private = PRI label-private-foreground = #bd2c40 label-marked = MAR ; Separator in between workspaces label-separator = | label-separator-padding = 1 label-separator-foreground = #ffb52a [module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge ; Default: 100 full-at = 95 ; format-low once this charge percentage is reached ; Default: 10 ; New in version 3.6.0 low-at = 5 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = ADP1 ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached ; %percentage_raw% ; %time% ; %consumption% (shows current charge rate in watts) label-charging = CHA %percentage%% ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached ; %percentage_raw% ; %time% ; %consumption% (shows current discharge rate in watts) label-discharging = DIS %percentage%% ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached ; %percentage_raw% label-full = FULL ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached ; %percentage_raw% ; %time% ; %consumption% (shows current discharge rate in watts) ; New in version 3.6.0 label-low = LOW [module/temperature] type = internal/temperature [module/tray] type = internal/tray [global/wm] margin-top = 0 margin-bottom = 0 ; vim:ft=dosini