- [colors]
- background = #23252e
- background-alt = #23252e
- foreground = #f9f8fe
- primary = #393c45
- secondary = #393c45
- alert = #393c45
- disabled = #393c45
- [bar/example]
- width = 1700
- height = 22pt
- radius = 1
- ; dpi = 96
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 0pt
- border-size = 0pt
- border-color = #00000000
- padding-left = 2
- padding-right = 2
- module-margin = 2
- offset-x = 10
- offset-y = 10
- font-0 = JetBrainsMono-Bold:style=Regular:pixelsize=10;2
- font-1 = FontAwesome:style=Regular:pixelsize=10;2
- modules-left = xworkspaces
- #modules-center = xwindow
- modules-right = cmus filesystem pulseaudio xkeyboard date powermenu
- cursor-click = pointer
- cursor-scroll = ns-resize
- enable-ipc = true
- wm-restack = bspwm
- [module/tray]
- #type = internal/tray
- #tray-detached = true
- tray-position = right
- tray-padding = 2
- #tray-transparent = false
- #tray-background = #000000
- tray-background = ${colours.background}
- tray-offset-x = -5
- tray-offset-y = 0
- tray-maxsize = 20
- #tray-scale = 0.99
- #[module/xwindow]
- #type = internal/xwindow
- #label = %title%
- #label-maxlen = 30
- [module/xworkspaces]
- type = internal/xworkspaces
- label-active = %name%
- label-active-background = #23252e
- #label-active-foreground =
- label-active-underline= ${colors.primary}
- label-active-padding = 2
- label-occupied = %name%
- label-occupied-padding = 2
- label-occupied-foreground = #898c95
- label-urgent = %name%
- label-urgent-background = ${colors.alert}
- label-urgent-padding = 2
- label-empty = %name%
- label-empty-foreground = ${colors.disabled}
- label-empty-padding = 2
- [module/filesystem]
- type = internal/fs
- interval = 60
- mount-0 = /
- label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
- [module/pulseaudio]
- type = internal/pulseaudio
- format-volume-prefix = " "
- format-volume-prefix-foreground = #898c95
- format-volume = <label-volume>
- label-volume = %percentage%%
- label-muted = muted
- label-muted-foreground = ${colors.disabled}
- [module/xkeyboard]
- type = internal/xkeyboard
- blacklist-0 = num lock
- blacklist-1 = caps lock
- label-layout = %layout%
- label-layout-foreground = #f9f8fe
- label-layout-background = #23252e
- label-font = 4
- format-prefix = " "
- format-prefix-foreground = #898c95
- [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 = #898c95
- label =%date% %time%
- label-foreground = #d8dee9
- label-font = 0
- [module/cmus]
- type = custom/script
- exec = ~/.config/polybar/cmus.sh
- exec-if = pgrep -x cmus
- interval = 1
- click-left = cmus-remote --pause
- click-right = cmus-remote --play
- scroll-up = cmus-remote --next
- scroll-down = cmus-remote --prev
- format-prefix = " "
- format-prefix-foreground = #898c95
- format = <label>
- label-foreground = #d8dee9
- format-background = #23252e
- label = %output%
- label-maxlen = 100
- [settings]
- screenchange-reload = true
- pseudo-transparency = true
- scroll-up = bspc desktop -f prev.local
- scroll-down = bspc desktop -f next.local
- [module/powermenu]
- type = custom/menu
- expand-right = true
- menu-0-0 = reboot
- menu-0-0-exec = menu-open-1
- menu-0-1 = shutdown
- menu-0-1-exec = menu-open-2
- menu-1-0 = back
- menu-1-0-exec = menu-open-0
- menu-1-1 = reboot
- menu-1-1-exec = systemctl reboot
- menu-2-0 = shutdown
- menu-2-0-exec = systemctl poweroff
- menu-2-1 = back
- menu-2-1-exec = menu-open-0
- format-spacing = 1
- #format-background = ${color.shade1}
- #format-foreground = ${color.modulefg}
- format-padding = 1
- label-open =
- label-close =
- label-separator = |