; Polybars ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [bar/top] ; Polybar Position monitor = ${env:MONITOR} width = 100% height = 25 ; Polybar Color ; Depreciated.. ;tray-transparent = true ; Transparent adds 2 leading values to color (2+hex) background = #00000000 ; Opaque is hex color (hex) foreground = #00c24a line-color = ${bar/bottom.background} line-size = 16 spacing = 2 tray-background = #00111111 ; Polybar Padding padding-left = 0 padding-right = 5 ; Margin Between Modules module-margin = 2 ; 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 = volume date ; Set the cursor to display pointer / resize is interaction available cursor-click = pointer cursor-scroll = ns-resize [bar/bottom] ; Position, size of polybar monitor = ${env:MONITOR} bottom = true width = 100% height = 20 ; 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 = 1 module-margin-right = 2 ; Font settings, order matters ; Top font takes priority over following ;font-0 = Source Code Pro:size=10;0 font-0 = NotoSans-Regular:size=8;1 font-1 = Inconsolata Nerd Font:size=12;3 font-2 = Noto Sans Mono:size=8;0 ; Modules modules-left = temp-cpu cpu memory modules-center = popup-utc network public-ip filesystem modules-right = vpn battery ; Set the cursor to display pointer / resize is interaction available cursor-click = pointer cursor-scroll = ns-resize ; Modules ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; VPN Status ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/vpn] type = custom/script exec = mullvad status | awk '{print "VPN: "$3}' interval = 10 ; 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 click-right = ~/.local/bin/i3scripts/popup-calendar-local ; Local Date ;;;;;;;;;;;;;;;;;;;;;;;;;; [module/date] type = internal/date date = %%{F#aaa}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-} date-alt = %%{F#aaa}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-} click-right = exec notify-send hi ; 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 ; Polybar Break Timer [module/breaktimer] type = custom/script format-prefix = " " ;format-foreground = ${colors.verdeclaro} exec = polybar-break-timer $HOME/.config/polybar/.env/break-timer click-left = echo left >> $HOME/.config/polybar/.env/break-timer click-middle = echo middle >> $HOME/.config/polybar/.env/break-timer click-right = echo right >> $HOME/.config/polybar/.env/break-timer scroll-up = echo scrollUp >> $HOME/.config/polybar/.env/break-timer scroll-down = echo scrollDown >> $HOME/.config/polybar/.env/break-timer 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 = 5.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 = custom/script ; Seconds to sleep between updates ; Default: 1 interval = 5.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 exec = cat /sys/class/thermal/thermal_zone2/temp | awk '{print ( ( ( (9/5) * $1) / 1000) + 32) "°F" }' format =