; ================================================================================== ; Bar definition ; ================================================================================== ; https://github.com/polybar/polybar/wiki/Configuration#bar-settings [bar/primary] monitor = DP-4 width = 100% height = 25 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 2 padding-left = 0 padding-right = 1 module-margin-left = 2 module-margin-right = 1 font-0 = "Cascadia Code:size=9;1" font-1 = "Font Awesome 5 Free:style=Solid:size=9;1" font-2 = "Font Awesome 5 Brands:size=9;1" font-3 = "Weather Icons:size=9;1" modules-left = i3 mpd modules-center = date weather modules-right = cpu-min temperature memory-min filesystem-min wired-down wired-up github updates-count keyboard pulseaudio cursor-click = pointer ; ================================================================================== ; 'i3' module definition ; ================================================================================== ; https://github.com/jaagr/polybar/wiki/Module:-i3 [module/i3] type = internal/i3 index-sort = true strip-wsnumbers = true enable-scroll = false ws-icon-0 = 1:www; ws-icon-1 = 2:msgr; ws-icon-2 = 3:code; ws-icon-3 = 4:term; ws-icon-4 = 5:music; ws-icon-5 = 6:steam; ws-icon-default =  label-focused = %icon% label-focused-underline = ${colors.underline_focused} label-focused-padding = 1 label-unfocused = %icon% label-unfocused-padding = 1 label-visible = %icon% label-visible-padding = 1 label-urgent = %icon% label-urgent-underline = ${colors.underline_urgent} label-urgent-padding = 1 ; ================================================================================== ; 'mpd' module definition ; ================================================================================== ; https://github.com/jaagr/polybar/wiki/Module:-mpd [module/mpd] type = internal/mpd ; Host where mpd is running (either ip or domain name) ; Can also be the full path to a unix socket where mpd is running. host = 127.0.0.1 port = 6600 password = format-online = [] icon-play =  icon-pause =  label-offline = 🎜 mpd is offline ; ================================================================================== ; 'date' module definition ; ================================================================================== ; https://github.com/jaagr/polybar/wiki/Module:-date [module/date] type = internal/date interval = 1 date = %{F#d8d8d8d}%{F-} %a %d %b %Y time = %{O10}%{F#d8d8d8d}%{F-} %H:%M:%S label = %date% %time% ; ================================================================================== ; 'weather' module definition ; ================================================================================== [module/weather] type = custom/script exec = ~/.config/polybar/custom-scripts/weather/weather.sh interval = 600 label-font = 4 ; ================================================================================== ; 'cpu-min' module definition ; ================================================================================== ; https://github.com/jaagr/polybar/wiki/Module:-cpu [module/cpu-min] type = internal/cpu interval = 1 label = %{F#50bcff}%{F-} %percentage:2%% ; ================================================================================== ; 'temperature' module definition ; ================================================================================== ; https://github.com/jaagr/polybar/wiki/Module:-temperature [module/temperature] type = internal/temperature ; Seconds to sleep between updates ; Default: 1 interval = 1 hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input warn-temperature = 70 units = true format =