mirror of
https://git.davidovski.xyz/dot.git
synced 2024-08-15 00:43:28 +00:00
fixed polybar
This commit is contained in:
parent
9a524d6389
commit
149716fa4d
1 changed files with 8 additions and 129 deletions
|
@ -160,163 +160,42 @@ format-prefix = "力 "
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
full-at = 99
|
full-at = 99
|
||||||
battery = BAT0
|
battery = BAT1
|
||||||
adapter = ADP1
|
adapter = ADP1
|
||||||
|
|
||||||
poll-interval = 5
|
poll-interval = 3
|
||||||
; 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
|
|
||||||
time-format = %H:%M
|
time-format = %H:%M
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-charging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-charging>
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
format-charging = <animation-charging> <label-charging>
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-discharging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-discharging>
|
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
|
|
||||||
; Available tags:
|
label-charging = -%percentage%%
|
||||||
; <label-full> (default)
|
label-discharging = -%percentage%%
|
||||||
; <bar-capacity>
|
label-full = %percentage%%
|
||||||
; <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
|
|
||||||
ramp-capacity-0 =
|
ramp-capacity-0 =
|
||||||
ramp-capacity-1 =
|
ramp-capacity-1 =
|
||||||
ramp-capacity-2 =
|
ramp-capacity-2 =
|
||||||
ramp-capacity-3 =
|
ramp-capacity-3 =
|
||||||
ramp-capacity-4 =
|
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-0 =
|
||||||
animation-charging-1 =
|
animation-charging-1 =
|
||||||
animation-charging-2 =
|
animation-charging-2 =
|
||||||
animation-charging-3 =
|
animation-charging-3 =
|
||||||
animation-charging-4 =
|
animation-charging-4 =
|
||||||
; Framerate in milliseconds
|
|
||||||
animation-charging-framerate = 750
|
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]
|
[module/network]
|
||||||
type = internal/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
|
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
|
udspeed-minwidth = 5
|
||||||
|
|
||||||
; Accumulate values from all interfaces
|
|
||||||
; when querying for up/downspeed rate
|
|
||||||
; Default: false
|
|
||||||
accumulate-stats = true
|
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
|
unknown-as-up = true
|
||||||
; Available tags:
|
format-connected = <label-connected>
|
||||||
; <label-connected> (default)
|
|
||||||
; <ramp-signal>
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-disconnected> (default)
|
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
|
|
||||||
; Available tags:
|
format-packetloss = <label-connected>
|
||||||
; <label-connected> (default)
|
|
||||||
; <label-packetloss>
|
|
||||||
; <animation-packetloss>
|
|
||||||
format-packetloss = <animation-packetloss> <label-connected>
|
|
||||||
|
|
||||||
; All labels support the following tokens:
|
label-connected = %essid%
|
||||||
; %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
|
|
||||||
|
|
Loading…
Reference in a new issue