Add wifi status to polybar

This commit is contained in:
Jake Howard 2018-11-19 08:40:56 +00:00
parent bba012f47c
commit ef1426e24c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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}