Add wifi status to polybar
This commit is contained in:
parent
bba012f47c
commit
ef1426e24c
1 changed files with 8 additions and 1 deletions
|
@ -23,7 +23,7 @@ font-1 = "FontAwesome5FreeSolid:size=8;2"
|
|||
|
||||
modules-left = i3 xwindow
|
||||
modules-center = date
|
||||
modules-right = player_mpris_tail memory cpu pulseaudio wattage battery power-menu
|
||||
modules-right = player_mpris_tail memory cpu wifi pulseaudio wattage battery power-menu
|
||||
|
||||
module-margin = 2
|
||||
|
||||
|
@ -138,3 +138,10 @@ full-at = ${module/battery.full-at}
|
|||
label-discharging = %consumption%W
|
||||
label-charging = ${self.label-discharging}
|
||||
poll-interval = ${module/battery.poll-interval}
|
||||
|
||||
[module/wifi]
|
||||
type = internal/network
|
||||
interface = wlp2s0
|
||||
label-connected = %local_ip% (%essid%)
|
||||
label-connected-foreground = #0F0
|
||||
label-packetloss = ${self.label-connected}
|
||||
|
|
Loading…
Reference in a new issue