From 149716fa4d03736458ff61b2591feff1a0ae7e4b Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 10 Oct 2021 04:02:12 +0100 Subject: fixed polybar --- config/polybar/config | 143 ++++---------------------------------------------- 1 file changed, 11 insertions(+), 132 deletions(-) diff --git a/config/polybar/config b/config/polybar/config index 0fd3ec8..e519a18 100644 --- a/config/polybar/config +++ b/config/polybar/config @@ -160,163 +160,42 @@ format-prefix = "力 " [module/battery] type = internal/battery full-at = 99 -battery = BAT0 +battery = BAT1 adapter = ADP1 -poll-interval = 5 -; see "man date" for details on how to format the time string -; NOTE: if you want to use syntax tags here you need to use %%{...} -; Default: %H:%M:%S +poll-interval = 3 time-format = %H:%M -; Available tags: -; (default) -; -; -; format-charging = - -; Available tags: -; (default) -; -; -; format-discharging = -; Available tags: -; (default) -; -; -;format-full = - -; Available tokens: -; %percentage% (default) - is set to 100 if full-at is reached -; %percentage_raw% -; %time% -; %consumption% (shows current charge rate in watts) -label-charging = Charging %percentage%% - -; Available tokens: -; %percentage% (default) - is set to 100 if full-at is reached -; %percentage_raw% -; %time% -; %consumption% (shows current discharge rate in watts) -label-discharging = Discharging %percentage%% - -; Available tokens: -; %percentage% (default) - is set to 100 if full-at is reached -; %percentage_raw% -label-full = Fully charged - -; Only applies if is used +label-charging = -%percentage%% +label-discharging = -%percentage%% +label-full = %percentage%% + ramp-capacity-0 =  ramp-capacity-1 =  ramp-capacity-2 =  ramp-capacity-3 =  ramp-capacity-4 =  -; Only applies if is used -bar-capacity-width = 10 - -; Only applies if is used animation-charging-0 =  animation-charging-1 =  animation-charging-2 =  animation-charging-3 =  animation-charging-4 =  -; Framerate in milliseconds animation-charging-framerate = 750 -; Only applies if is used -animation-discharging-0 =  -animation-discharging-1 =  -animation-discharging-2 =  -animation-discharging-3 =  -animation-discharging-4 =  -; Framerate in milliseconds -animation-discharging-framerate = 500 - [module/network] type = internal/network -; Name of the network interface to display. You can get the names of the -; interfaces on your machine with `ip link` -; Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth` interface = wlan1 - -; 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 -; Available tags: -; (default) -; -format-connected = - -; Available tags: -; (default) +format-connected = format-disconnected = -; Available tags: -; (default) -; -; -format-packetloss = - -; All labels support the following tokens: -; %ifname% [wireless+wired] -; %local_ip% [wireless+wired] -; %local_ip6% [wireless+wired] -; %essid% [wireless] -; %signal% [wireless] -; %upspeed% [wireless+wired] -; %downspeed% [wireless+wired] -; %linkspeed% [wired] - -; Default: %ifname% %local_ip% -label-connected = %essid% %downspeed:9% -label-connected-foreground = #eefafafa - -; Default: (none) -label-disconnected = not connected -label-disconnected-foreground = #66ffffff - -; 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 +format-packetloss = + +label-connected = %essid% + -- cgit v1.2.1