;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [colors] background = #0001040b background-alt = #22252c foreground = #e5e8e6 foreground-alt = ${xrdb:color8} primary = #ffb52a secondary = #e60053 alert = ${xrdb:color5} [global/wm] margin-top = 2 margin-bottom = 0 [bar/main] monitor = ${env:MONITOR:DVI-I-1} width = 100% height = 29 offset-x = 0 offset-y = 0 ;background = ${xrdb:color9} background = ${colors.background} foreground = ${colors.foreground} overline-size = 2 overline-color = #f00 underline-size = 2 underline-color = #00f border-bottom-size = 0 border-bottom-color = #333 padding-left = 1 padding-right = 1 module-margin-left = 2 module-margin-right = 2 font-0 = "Fira Sans:style=Bold:size=10;1" font-1 = "Fira Mono:style=Bold:size=10;1" font-2 = FontAwesome:fontformat=truetype:size=11;1 modules-left = bspwm modules-center = date modules-right = eth pkg mail volume redshift enable-ipc = true ;tray-position = center tray-padding = 2 ;tray-transparent = true ;tray-background = #0063ff wm-restack = bspwm ;wm-restack = i3 override-redirect = true ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev ;scroll-up = i3wm-wsnext ;scroll-down = i3wm-wsprev [module/xwindow] type = internal/xwindow label = %title:0:80:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format-underline = ${colors.secondary} format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} label-layout = %layout% label-indicator-padding = 2 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} [module/filesystem] type = internal/fs interval = 25 mount-0 = / mount-1 = /home mount-2 = /invalid/mountpoint label-mounted = %mountpoint%: %percentage_free% label-unmounted = %mountpoint%: not mounted label-unmounted-foreground = ${colors.foreground-alt} [module/bspwm] type = internal/bspwm pin-workspaces = true enable-click = true ws-icon-0 = 1; ws-icon-1 = 2; ws-icon-2 = 3; ws-icon-3 = 4; ws-icon-4 = 5; ws-icon-default = x format = label-focused = %icon% label-focused-background = ${colors.background-alt} ; label-focused-underline= ${colors.primary} label-focused-underline= ${xrdb:color4} label-focused-padding = 3 label-occupied = %icon% label-occupied-padding = 3 label-urgent = %icon% label-urgent-background = ${colors.alert} label-urgent-padding = 3 label-empty = %icon% label-empty-foreground = ${colors.foreground-alt} label-empty-padding = 3 [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} label-focused = %index% label-focused-background = ${module/bspwm.label-focused-background} label-focused-underline = ${module/bspwm.label-focused-underline} label-focused-padding = ${module/bspwm.label-focused-padding} label-unfocused = %index% label-unfocused-padding = ${module/bspwm.label-occupied-padding} label-urgent = %index%! label-urgent-background = ${module/bspwm.label-urgent-background} label-urgent-padding = ${module/bspwm.label-urgent-padding} label-visible = %index% label-visible-background = ${self.label-focused-background} ; label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} [module/mpd] type = internal/mpd host = /home/hlissner/.config/mpd/mpd.sock format-online = label-song-maxlen = 35 label-song-ellipsis = true icon-prev =  icon-seekb =  icon-stop =  icon-play =  icon-pause =  icon-next =  icon-seekf =  icon-random =  icon-repeat =  toggle-on-foreground = ${colors.primary} toggle-off-foreground = #66 [module/backlight] type = internal/xbacklight format =