diff options
author | davidovski <david@davidovski.xyz> | 2021-10-10 04:02:12 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-10 04:02:12 +0100 |
commit | 149716fa4d03736458ff61b2591feff1a0ae7e4b (patch) | |
tree | 9252d62c4e224ca8b137fc76c56497bbfc099431 /config/polybar | |
parent | 9a524d6389c1f323fde8d0a9ba503bcdd3205a09 (diff) |
fixed polybar
Diffstat (limited to 'config/polybar')
-rw-r--r-- | config/polybar/config | 143 |
1 files 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: -; <label-charging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-charging> format-charging = <animation-charging> <label-charging> - -; Available tags: -; <label-discharging> (default) -; <bar-capacity> -; <ramp-capacity> -; <animation-discharging> format-discharging = <ramp-capacity> <label-discharging> -; Available tags: -; <label-full> (default) -; <bar-capacity> -; <ramp-capacity> -;format-full = <ramp-capacity> <label-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 <ramp-capacity> 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 <bar-capacity> is used -bar-capacity-width = 10 - -; Only applies if <animation-charging> 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 <animation-discharging> 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: -; <label-connected> (default) -; <ramp-signal> -format-connected = <ramp-signal> <label-connected> - -; Available tags: -; <label-disconnected> (default) +format-connected = <label-connected> format-disconnected = <label-disconnected> -; Available tags: -; <label-connected> (default) -; <label-packetloss> -; <animation-packetloss> -format-packetloss = <animation-packetloss> <label-connected> - -; 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 <ramp-signal> is used -ramp-signal-0 = 😱 -ramp-signal-1 = 😠 -ramp-signal-2 = 😒 -ramp-signal-3 = 😊 -ramp-signal-4 = 😃 -ramp-signal-5 = 😈 - -; Only applies if <animation-packetloss> 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> + +label-connected = %essid% + |