;========================================================== ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; 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:#222} foreground = ${xrdb:color7:#555} background-alt = ${xrdb:color1:#222} foreground-alt = ${xrdb:color7:#555} primary = ${xrdb:color1:#222} secondary = ${xrdb:color2:#222} alert = ${xrdb:color3:#222} [bar/main] monitor = ${env:MONITOR:} width = 100% height = 28 fixed-center = false background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #f00 border-size = 4 border-color = #00000000 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 1 font-0 = JetBrains Mono:pixelsize=10:style=Bold;1 modules-left = bspwm date modules-center = xwindow modules-right = filesystem pulseaudio memory cpu eth powermenu separator = | tray-position = right tray-padding = 2 tray-background = ${colors.xcolor4} cursor-click = pointer cursor-scroll = ns-resize wm-restack = bspwm [module/xwindow] type = internal/xwindow label = %title:0:50:...% format-underline = ${colors.secondary} [module/filesystem] type = internal/fs interval = 25 mount-0 = / mount-1 = /mnt/win/c mount-2 = /mnt/win/d mount-3 = /mnt/win/e label-mounted = %{F#739E81}%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-underline = ${colors.primary} 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/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/cpu] type = internal/cpu interval = 2 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} format-underline = ${colors.secondary} label = %percentage:2%% [module/memory] type = internal/memory interval = 2 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} format-underline = ${colors.secondary} label = %percentage_used%% [module/eth] type = internal/network interface = enp6s0 interval = 3.0 format-connected-underline = ${colors.secondary} format-connected-prefix = " " format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = %local_ip% format-disconnected = ;format-disconnected = ;format-disconnected-underline = ${self.format-connected-underline} ;label-disconnected = %ifname% disconnected ;label-disconnected-foreground = ${colors.foreground-alt} [module/date] type = internal/date interval = 1 date = date-alt = " %Y-%m-%d" time = %H:%M time-alt = %H:%M:%S format-prefix =  format-prefix-foreground = ${colors.foreground-alt} ;format-underline = ${colors.secondary} label = %date% %time% [module/pulseaudio] type = internal/pulseaudio format-volume = label-volume = VOL %percentage%% label-volume-foreground = ${root.foreground} label-muted = 🔇 muted label-muted-foreground = #666 bar-volume-width = 10 bar-volume-foreground-0 = ${colors.primary} bar-volume-foreground-1 = ${colors.primary} bar-volume-foreground-2 = ${colors.primary} bar-volume-foreground-3 = ${colors.primary} bar-volume-foreground-4 = ${colors.primary} bar-volume-foreground-5 = ${colors.primary} bar-volume-foreground-6 = ${colors.primary} bar-volume-gradient = false bar-volume-indicator = | bar-volume-indicator-font = 2 bar-volume-fill = ─ bar-volume-fill-font = 2 bar-volume-empty = ─ bar-volume-empty-font = 2 bar-volume-empty-foreground = ${colors.foreground-alt} [module/powermenu] type = custom/menu expand-right = true format-spacing = 1 label-open =  label-open-foreground = ${colors.secondary} label-close =  cancel label-close-foreground = ${colors.secondary} label-separator = | label-separator-foreground = ${colors.foreground-alt} menu-0-0 = reboot menu-0-0-exec = menu-open-1 menu-0-1 = power off menu-0-1-exec = menu-open-2 menu-1-0 = cancel menu-1-0-exec = menu-open-0 menu-1-1 = reboot menu-1-1-exec = sudo reboot menu-2-0 = power off menu-2-0-exec = sudo poweroff menu-2-1 = cancel menu-2-1-exec = menu-open-0 [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 ; vim:ft=dosini