Add awesome wlan signal strength indicator

This commit is contained in:
M1dgard 2018-04-17 15:32:51 +02:00
parent 4073f2a170
commit 09f073e0de
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 17 additions and 12 deletions

View file

@ -54,6 +54,7 @@ font-3 = "Material Icons:pixelsize=14;3"
font-4 = "Fira Sans:size=12;1"
font-5 = "Fira Mono: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-4 = siji:pixelsize=10;1
@ -264,25 +265,29 @@ type = internal/network
interface = wlp5s0
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
label-connected = %essid%
label-connected-foreground = ${colors.foreground-alt}
format-disconnected = <label-disconnected>
label-disconnected =
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-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-foreground = ${colors.foreground-alt}
ramp-signal-0 = " "
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
ramp-signal-font = 8
ramp-signal-foreground = ${colors.foreground}
[module/eth]
type = internal/network

Binary file not shown.