;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [settings] compositing-background = over compositing-foreground = over compositing-overline = over compositing-underline = over compositing-border = over [colors] background = #EE222222 foreground = #dfdfdf primary = #0a6cf5 secondary = #009646 alert = #bd2c40 [bar/default] width = 100% height = 27 radius = 3.0 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 border-size = 0 border-color = #00000000 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 2 font-0 = Icons:size=10;1 font-1 = siji:pixelsize=10;1 font-2 = Weather Icons:size=10;1 modules-left = i3 modules-center = datetime openweathermap modules-right = updates pulseaudio-tail wlan eth xkeyboard battery powermenu tray-detached = false tray-position = left scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock label-layout = %layout% label-layout-underline = ${colors.primary} label-indicator = %name% label-indicator-underline = ${colors.secondary} [module/openweathermap] type = custom/script exec = ~/bin/openweathermap-simple.sh interval = 600 label-font = 3 [module/filesystem] type = internal/fs interval = 25 mount-0 = / label-mounted = %{F#0a81f5}%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 [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar ;pin-workspaces = true label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor label-focused = %index% label-focused-background = ${colors.background} label-focused-underline = ${colors.primary} label-focused-padding = 2 ; unfocused = Inactive workspace on any monitor label-unfocused = %index% label-unfocused-padding = 2 ; visible = Active workspace on unfocused monitor label-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %index% label-urgent-background = ${colors.alert} label-urgent-padding = 2 [module/wlan] type = internal/network interface = wlo1 interval = 3.0 format-connected =  label-connected = "" format-disconnected = [module/eth] type = internal/network interface = enp8s0 interval = 3.0 format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = "" format-disconnected = [module/powermenu] type = custom/menu format-foreground = ${colors.foreground} format-background = ${colors.background} label-open = "" label-open-font = 4 label-close = "" label-close-foreground = ${colors.foreground} label-separator = " / " label-separator-foreground = ${colors.foreground} ; reboot menu-0-1 = "" menu-0-1-exec = systemctl reboot menu-0-1-foreground = ${colors.foreground} ; shutdown menu-0-0 = "" menu-0-0-exec = systemctl poweroff menu-0-0-foreground = ${colors.alert} [module/datetime] type = custom/script exec = date +'%H:%M' tail = false interval = 300 click-left = gsimplecal [module/pulseaudio-tail] type = custom/script exec = ~/bin/pulseaudio-tail.sh tail = true click-right = ~/bin/pulseaudio-tail.sh --show click-left = ~/bin/pulseaudio-tail.sh --mute scroll-up = ~/bin/pulseaudio-tail.sh --up scroll-down = ~/bin/pulseaudio-tail.sh --down [module/updates] type = custom/script exec = ~/bin/updates.sh interval = 600 format-prefix = "" format-underline = ${colors.alert} [module/battery] type = internal/battery battery = BAT0 adapter = AC full-at = 97 format-charging = format-charging-underline = ${colors.secondary} format-discharging = format-discharging-underline = ${colors.alert} [global/wm] margin-top = 5 margin-bottom = 5