[colors] background = #c2171717 foreground = #eee linecolor = #c2bf616a bordercolor = #ff252525 accent = #c2bf616a [settings] screenchange-reload = true ;throttle-output-for = 10 ;throttle-output = 5 ;throttle-input-for = 40 ;compositing-background = over ;compositing-background = screen ;compositing-foreground = xor ;compositing-foreground = source ;compositing-border = over [global/wm] margin-top = 0 margin-bottom = 0 [bar/top] enable-ipc = true monitor = ${env:MONITOR} width = 100% height = 24 ;radius = 5.0 ;fixed-center = false ;override-redirect = true background = ${colors.background} foreground = ${colors.foreground} ;background-0 = #333 ;background-1 = #222 ;background-2 = ${self.background-1} ;background-3 = ${self.background-1} ;background-4 = ${self.background-1} ;background-5 = ${self.background-1} ;background-6 = ${self.background-1} ;background-7 = #111 line-color = ${colors.linecolor} underline-size = 1 overline-size = 2 ;border-size = 5 ;border-color = 0 ;border-bottom-size = 0 border-bottom-size = 2 border-bottom-color = ${colors.bordercolor} padding-left = 1 padding-right = 2 module-margin-left = 1 module-margin-right = 1 font-0 = Hack:pixelsize=9;1 font-1 = siji:pixelsize=20;1 font-2 = unifont:size=6;1 font-3 = FontAwesome:size=12;0 modules-left = i3 ;modules-center = mpd modules-center = xwindow modules-right = pavolume date tray-position = right tray-padding = 4 tray-maxsize = 18 ;tray-transparent = true ;tray-detached = true ;tray-offset-x = 50 wm-restack = bspwm ;dim-value = 0.2 ;click-left = ;click-middle = ;click-right = scroll-up = bspwm-deskprev scroll-down = bspwm-desknext ;scroll-up = i3wm-wsnext ;scroll-down = i3wm-wsprev ;double-click-left = notify-send -u low doubleclick ;double-click-right = notify-send -u low doubleclick2 # bar/module specific vars bspwm-focused-overline = ${colors.linecolor} bspwm-focused-underline = #cc333333 [bar/bottom] inherit = bar/top enable-ipc = true monitor = ${env:MONITOR:HDMI1} ;monitor-fallback = eDP-1 bottom = true ;override-redirect = true underline-size = ${bar/top.overline-size} overline-size = ${bar/top.underline-size} ;border-top-size = 2 ;border-top-color = ${colors.bordercolor} ;border-bottom-size = 0 modules-left = bspwm i3 ;modules-left = ;modules-left = xwindow ;modules-center = xwindow modules-center = modules-right = github fs-root date power-menu wm-restack = ${bar/top.wm-restack} tray-position = none # bar/module specific vars bspwm-focused-overline = #cc333333 bspwm-focused-underline = ${colors.linecolor} ################################################################################# # MODULES # ################################################################################# [module/pavolume] type = custom/script tail = true label = %{F#666}%{F-} %output% exec = ~/.config/polybar/scripts/pavolume.sh --listen click-right = exec pavucontrol click-left = ~/.config/polybar/scripts/pavolume.sh --togmute scroll-up = ~/.config/polybar/scripts/pavolume.sh --up scroll-down = ~/.config/polybar/scripts/pavolume.sh --down [module/temperature] type = internal/temperature ; Seconds to sleep between updates ; Default: 1 interval = 0.5 ; Thermal zone to use ; To list all the zone types, run ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done ; Default: 0 thermal-zone = 0 ; Full path of temperature sysfs path ; Use `sensors` to find preferred temperature source, then run ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done ; to find path to desired file ; Default reverts to thermal zone setting hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input ; Base temperature for where to start the ramp (in degrees celsius) ; Default: 0 base-temperature = 20 ; Threshold temperature to display warning label (in degrees celsius) ; Default: 80 warn-temperature = 60 ; Whether or not to show units next to the temperature tokens (°C, °F) ; Default: true units = false ; Available tags: ;