polybar thinkpad fixes

This commit is contained in:
spinach 2023-02-22 13:48:53 -05:00
parent c8c570933e
commit bcb5baa381

View File

@ -34,9 +34,10 @@ foreground = ${colors.foreground}
[bar/thinkpad-bar]
; thinkpad bar conf
inherit = section/base-bar
height = 16pt
font-0 = Hack Nerd Font:size=10;2
height = 14pt
; modules
modules-left = xworkspaces focus weather-thinkpad
modules-left = xworkspaces weather-thinkpad
modules-right = battery pulseaudio memory cpu wlan seafile date powermenu
[bar/desktop-bar]
@ -160,6 +161,12 @@ interval = 5
format-connected-prefix = "NET "
format-connected-prefix-foreground = ${colors.primary}
format-connected = <label-connected>
; packet loss
animation-packetloss-0 = "⚠ "
animation-packetloss-0-foreground = #e1e815
animation-packetloss-1 = "⚠ "
animation-packetloss-1-foreground = #000000
format-packetloss = <animation-packetloss> <label-connected>
;format-connected-foreground = ${colors.primary}
format-disconnected = <label-disconnected>
format-disconnected-foreground = ${colors.disabled}
@ -167,7 +174,7 @@ format-disconnected-foreground = ${colors.disabled}
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %ifname%
label-connected = %signal%%
[module/eth]
inherit = network-base