polybar thinkpad fixes

nvim
spinach 2 years ago
parent c8c570933e
commit bcb5baa381

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

Loading…
Cancel
Save