; Polybars ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [bar/top] ; Polybar Position monitor = ${env:MONITOR} width = 100% height = 34 ; Polybar Color background = #000000 foreground = #00c24a line-color = ${bar/bottom.background} line-size = 16 spacing = 2 ; Polybar Padding padding-left = 0 padding-right = 5 ; Margin Between Modules module-margin = 4 ; Type font font-0 = NotoSans-Regular:size=8;0 font-1 = Inconsolata Nerd Font:size=12;0 font-2 = Noto Sans Mono:size=8;0 ; Modules modules-left = powermenu weather modules-center = ki3 modules-right = info-hackspeed keyboard volume wired-network clock [bar/bottom] ; Position, size of polybar monitor = ${env:MONITOR} bottom = true width = 100% height = 27 ; Use top bar colors background = ${bar/top.background} foreground = ${bar/top.foreground} line-color = ${bar/top.background} line-size = 2 spacing = 3 ; Polybar padding padding-left = 6 padding-right = 6 ; Margins between modules module-margin-left = 4 module-margin-right = 6 ; Font ssettings, order matters ; Top font takes priority over following ;font-0 = Source Code Pro:size=10;0 font-0 = NotoSans-Regular:size=8;0 font-1 = Inconsolata Nerd Font:size=12;0 font-2 = Noto Sans Mono:size=8;0 ; Modules modules-left = temp-cpu cpu modules-center = popup-utc network public-ip filesystem modules-right = info-idle caffeine temp-gpu memory ; Modules ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Pop-up Calendar ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/popup-utc] type = custom/script exec = ~/.local/bin/i3scripts/popup-calendar interval = 5 click-left = ~/.local/bin/i3scripts/popup-calendar --popup ; Weather ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/weather] type = custom/script exec = ~/.local/bin/i3scripts/weathermap interval = 600 ;label-font = Font Awesome 5 Free Solid:size=40;0 ; Type Speed ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/info-hackspeed] type = custom/script exec = ~/.local/bin/i3scripts/info-hackspeed tail = true ; System Idle Time ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/info-idle] type = custom/script exec = ~/.local/bin/i3scripts/info-idle tail = true ; Disk Space ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/filesystem] type = internal/fs ; Mountpoints to display mount-0 = / mount-1 = /home ;mount-2 = /var ; Seconds to sleep between updates ; Default: 30 interval = 10 ; Display fixed precision values ; Default: false fixed-values = true ;Available tags: ; (default) ; ; ; format-mounted = ; Available tokens: ; %mountpoint% ; %type% ; %fsname% ; %percentage_free% ; %percentage_used% ; %total% ; %free% ; %used% ; Default: %mountpoint% %percentage_free%% label-mounted = %mountpoint% %free% ; Spacing between entries ; Default: 2 spacing = 4 ; Network Status ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/network] type = internal/network interface = enp0s31f6 ; Available tags: ; (default) ; format-connected = ; Available tags: ; (default) format-disconnected = ; Available tags: ; (default) ; ; format-packetloss = ; Default: %ifname% %local_ip% label-connected =  %upspeed% /  %downspeed:9% 龍 %linkspeed% %local_ip% label-connected-foreground =#00c24a ; Default: (none) label-disconnected = not connected label-disconnected-foreground = #d00 ; Default: (none) ;label-packetloss = %essid% ;label-packetloss-foreground = #eefafafa ; Only applies if is used ;ramp-signal-0 = 😱 ;ramp-signal-1 = 😠 ;ramp-signal-2 = 😒 ;ramp-signal-3 = 😊 ;ramp-signal-4 = 😃 ;ramp-signal-5 = 😈 ; Only applies if is used ;animation-packetloss-0 = ⚠ ;animation-packetloss-0-foreground = #ffa64c ;animation-packetloss-1 = 📶 ;animation-packetloss-1-foreground = #000000 ; Framerate in milliseconds ;animation-packetloss-framerate = 500 ; Seconds to sleep between updates ; Default: 1 interval = 3.0 ; Test connectivity every Nth update ; A value of 0 disables the feature ; NOTE: Experimental (needs more testing) ; Default: 0 ;ping-interval = 3 ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) ; Minimum output width of upload/download rate ; Default: 3 udspeed-minwidth = 5 ; Accumulate values from all interfaces ; when querying for up/downspeed rate ; Default: false accumulate-stats = true ; Consider an `UNKNOWN` interface state as up. ; Some devices like USB network adapters have ; an unknown state, even when they're running ; Default: false unknown-as-up = true ; Show Public IP ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/public-ip] type = custom/script exec = curl -s ifconfig.me interval = 600 ; CPU Temp ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/temp-cpu] 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 ; Available tokens: ; %temperature% (deprecated) ; %temperature-c% (default, temperature in °C) ; %temperature-f% (temperature in °F) label =  %temperature-f% ; Available tokens: ; %temperature% (deprecated) ; %temperature-c% (default, temperature in °C) ; %temperature-f% (temperature in °F) label-warn = %temperature-f% label-warn-foreground = #f00 ; GPU Temp ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/temp-gpu] 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 = 2 ; 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/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/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 ; Available tokens: ; %temperature% (deprecated) ; %temperature-c% (default, temperature in °C) ; %temperature-f% (temperature in °F) label = ﲅ %temperature-f% ; Available tokens: ; %temperature% (deprecated) ; %temperature-c% (default, temperature in °C) ; %temperature-f% (temperature in °F) label-warn = %temperature-f% label-warn-foreground = #f00 ; Keyboard Status ; Locale, Caps, Numlock ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/keyboard] type = internal/xkeyboard ; List of indicators to ignore blacklist-1 = scroll lock label-indicator-on-capslock = Caps  label-indicator-off-capslock = label-indicator-on-numlock = Num  label-indicator-off-numlock = format = ; layout-icon-[0-9]+ = layout;icon ; Assign each layout an icon that will be available as %icon% token for the ; tag. The part before ';' will try to match %layout% value. label-layout = %name% %icon% ;layout-icon-default =  ;layout-icon-1 = us; ; System Menus ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/powermenu] type = custom/menu format-padding = 0 format = label-open = " " label-close = " " menu-0-0 = "  pkill poly " menu-0-0-foreground = #fba922 menu-0-0-exec = pkill -f polybar menu-0-1 = " i3 restart " menu-0-1-foreground = #fba922 ;menu-0-1-background = #141414 menu-0-1-exec = i3 restart menu-0-2 = " Reboot " menu-0-2-foreground = #fba922 menu-0-2-exec = sudo reboot menu-0-3 = " Power off " menu-0-3-foreground = #fba922 menu-0-3-exec = sudo poweroff menu-0-4 = " Lock " menu-0-4-foreground = #fba922 menu-0-4-exec = i3lock -c 000000 ; Pseudo-Caffeine ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/caffeine] type = custom/menu format = label-open = "  " label-close = "  " label-open-padding = 0 label-close-padding = 1 label-separator = " " menu-0-0 = " ﮣ " menu-0-0-exec = source /home/kapper/.local/bin/i3scripts/xoffee enable menu-0-1 = " ﮤ " menu-0-1-exec = source /home/kapper/.local/bin/i3scripts/xoffee disable ; CPU Core Usages ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/cpu] type = internal/cpu interval = 5 format =