Add awesome wlan signal strength indicator
This commit is contained in:
parent
4073f2a170
commit
09f073e0de
2 changed files with 17 additions and 12 deletions
|
@ -54,6 +54,7 @@ font-3 = "Material Icons:pixelsize=14;3"
|
||||||
font-4 = "Fira Sans:size=12;1"
|
font-4 = "Fira Sans:size=12;1"
|
||||||
font-5 = "Fira Mono:size=10;1"
|
font-5 = "Fira Mono:size=10;1"
|
||||||
font-6 = "Weather Icons:size=10;1"
|
font-6 = "Weather Icons:size=10;1"
|
||||||
|
font-7 = "Material Wifi Signal strength:pixelsize=14;2"
|
||||||
;font-3 = unifont:fontformat=truetype:size=8:antialias=false;0
|
;font-3 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||||
;font-4 = siji:pixelsize=10;1
|
;font-4 = siji:pixelsize=10;1
|
||||||
|
|
||||||
|
@ -264,25 +265,29 @@ type = internal/network
|
||||||
interface = wlp5s0
|
interface = wlp5s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
; %{T8} select font 8
|
||||||
|
; %{F#333} use a dark foreground colour
|
||||||
|
; icon for "full signal strength" in my font 8
|
||||||
|
; %{F}%{T-} reset foreground colour and font
|
||||||
|
; %{O-18} go back 18 pixels to the left
|
||||||
|
; <ramp-signal> show a signal strength icon
|
||||||
|
; This overlays the actual signal strength icon over the dark "full signal" icon
|
||||||
|
format-connected = %{T8}%{F#333}%{F}%{T-}%{O-18}<ramp-signal> <label-connected>
|
||||||
|
format-connected-foreground = ${colors.foreground-alt}
|
||||||
format-connected-underline = #9f78e1
|
format-connected-underline = #9f78e1
|
||||||
label-connected = %essid%
|
label-connected = %essid%
|
||||||
label-connected-foreground = ${colors.foreground-alt}
|
|
||||||
|
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
label-disconnected =
|
label-disconnected =
|
||||||
label-disconnected-foreground = ${colors.foreground-alt}
|
label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
;format-disconnected = <label-disconnected>
|
|
||||||
;format-disconnected-underline = ${self.format-connected-underline}
|
|
||||||
;label-disconnected = %ifname% disconnected
|
|
||||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
|
||||||
|
|
||||||
ramp-signal-0 =
|
ramp-signal-0 = " "
|
||||||
ramp-signal-1 =
|
ramp-signal-1 =
|
||||||
ramp-signal-2 =
|
ramp-signal-2 =
|
||||||
ramp-signal-3 =
|
ramp-signal-3 =
|
||||||
ramp-signal-4 =
|
ramp-signal-4 =
|
||||||
ramp-signal-foreground = ${colors.foreground-alt}
|
ramp-signal-font = 8
|
||||||
|
ramp-signal-foreground = ${colors.foreground}
|
||||||
|
|
||||||
[module/eth]
|
[module/eth]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
|
|
BIN
polybar/material-wifi-icons.ttf
Normal file
BIN
polybar/material-wifi-icons.ttf
Normal file
Binary file not shown.
Loading…
Reference in a new issue