[colors] background = #222 background-alt = #444 foreground = #dfdfdf foreground-alt = #555 primary = #ffb52a secondary = #e60053 alert = #bd2c40 [bar/example] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 26 ;offset-x = 1% ;offset-y = 1% radius = 0.0 fixed-center = false bottom = false enable-ipc = true ;override-redirect = true wm-restack = bspwm background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 tray = none border-bottom-size = 1 border-color = #cfcfcf padding-left = 0 padding-right = 3 module-margin-left = 2 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 font-1 = Font Awesome 5 Free:pixelsize=9;2 font-2 = Font Awesome 5 Free Solid:pixelsize=9;2 font-3 = Font Awesome 5 Brands:pixelsize=9;2 modules-left = bspwm xwindow modules-right = rss filesystem xbacklight alsa memory cpu wlan eth battery temperature date powermenu tray-position = right tray-padding = 2 cursor-click = pointer cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/filesystem] type = internal/fs interval = 25 mount-0 = / format-mounted = format-mounted-prefix = " " format-mounted-prefix-foreground = ${colors.foreground-alt} label-mounted = %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-padding = 2 label-occupied = %index% label-occupied-padding = 2 label-urgent = %index%! label-urgent-background = ${colors.alert} label-urgent-padding = 2 label-empty = label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 2 [module/rss] type = custom/script exec = if pgrep -x newsboat >/dev/null; then echo Running; else newsboat -x print-unread | awk '{print $1}'; fi interval = 300 click-left = $TERMINAL -e newsboat & click-right = newsboat -x reload & format =