[colors] black = #000000 blue = #0288D1 blue-light = #B3E5FC pink = #E91E63 pink-light = #FFCDD2 alert = #E91E63 [bar/aqua] width = 100% height = 22 radius = 0.0 fixed-center = true background = ${colors.black} foreground = ${colors.blue} line-size = 3 line-color = ${colors.pink} border-size = 0 border-color = #000000 padding-left = 0 padding-right = 1 module-margin-left = 0 module-margin-right = 2 font-0 = SF Pro Display:semibold:fixed:pixelsize=16;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = siji:pixelsize=10;1+e modules-left = i3 modules-center = xwindow modules-right = stocks backlight volume network battery date tray-position = right tray-padding = 2 [module/xwindow] type = internal/xwindow label = %title:0:60:...% [module/bspwm] type = internal/bspwm label-focused = %index% label-focused-background = ${colors.black} label-focused-underline= ${colors.pink} 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 = <label-state> <label-mode> index-sort = true wrapping-scroll = false label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.pink} 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-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-underline = ${self.label-focused-background} label-visible-padding = ${self.label-focused-padding} label-urgent = %index%! label-urgent-background = ${module/bspwm.label-urgent-background} label-urgent-padding = ${module/bspwm.label-urgent-padding} [module/date] type = internal/date interval = 1.0 time = %I:%M time-alt = %m-%d-%Y %I:%M:%S label = %time% label-alt = format-underline = ${colors.blue} [module/battery] type = internal/battery full-at = 99 time-format = %-H:%M ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = ADP1 poll-interval = 1 format-charging = <label-charging> format-charging-underline = ${colors.blue} label-charging = %percentage%% (%time%) format-discharging = <label-discharging> format-discharging-underline = ${colors.blue-light} label-discharging = %percentage%% (%time%) [module/volume] type = internal/alsa format-volume = <label-volume> label-volume = VOL %percentage%% label-volume-foreground = ${root.foreground} format-volume-underline = ${colors.blue} format-muted-prefix = " " label-muted = VOL %percentage%% format-muted-underline = ${colors.pink} [module/backlight] type = internal/backlight ; Use the following command to list available cards: ; $ ls -1 /sys/class/backlight/ card = intel_backlight format = <label> label = BL %percentage%% format-underline = ${colors.blue} [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 ; Threshold temperature to display warning label (in degrees celsius) ; Default: 80 warn-temperature = 60 [module/network] type = internal/network interface = wlp3s0 interval = 5.0 unknown-as-up = true label-connected = %essid% %signal%% label-connected-underline = ${colors.blue} label-disconnected = No Wifi :( label-disconnected-underline = ${colors.pink} ;[module/stocks] ;type = custom/script ;exec = python ~/git/Stock/stocks.py ;format-underline = ${colors.blue} ;interval = 60 [settings] screenchange-reload = true ;compositing-background = xor ;compositing-background = screen ;compositing-foreground = source ;compositing-border = over [global/wm] margin-top = 0 margin-bottom = 0