Changed some network Polybar modules stuff
parent
ab392d78e0
commit
423ec21906
|
@ -140,7 +140,7 @@ font-2 = "Roboto Mono:pixelsize=10;3"
|
|||
|
||||
modules-left = bspwm title
|
||||
modules-center = now-playing date
|
||||
modules-right = mail mail2 updates cpu memory keyboard pulseaudio-control battery network caveau notifications powermenu
|
||||
modules-right = mail mail2 updates cpu memory keyboard pulseaudio-control battery wired-network caveau notifications powermenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
|
|
|
@ -732,16 +732,20 @@ toggle-off-foreground = ${color.secondary}
|
|||
; If you use both a wired and a wireless network, just add 2 module definitions. For example
|
||||
[module/wired-network]
|
||||
type = internal/network
|
||||
interface = enp3s0
|
||||
interface = br1
|
||||
label-connected = " %local_ip%"
|
||||
format-connected-prefix =
|
||||
|
||||
[module/wireless-network]
|
||||
[module/wwan-network]
|
||||
type = internal/network
|
||||
interface = wlp2s0
|
||||
interface = wwp0s20u4i6
|
||||
;label-connected = " WWAN"
|
||||
format-connected-prefix =
|
||||
|
||||
; Normal Module
|
||||
[module/network]
|
||||
[module/wifi-network]
|
||||
type = internal/network
|
||||
interface = enp3s0
|
||||
interface = wlan0
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
|
@ -771,14 +775,14 @@ unknown-as-up = true
|
|||
; Available tags:
|
||||
; <label-connected> (default)
|
||||
; <ramp-signal>
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
format-connected = <ramp-signal>
|
||||
|
||||
; Available tags:
|
||||
; <label-disconnected> (default)
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-prefix =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-prefix =
|
||||
;format-disconnected-prefix =
|
||||
format-disconnected-foreground = ${color.foreground-alt}
|
||||
;format-disconnected-foreground = ${color.foreground-alt}
|
||||
|
||||
; Available tags:
|
||||
; <label-connected> (default)
|
||||
|
@ -796,13 +800,13 @@ format-disconnected-foreground = ${color.foreground-alt}
|
|||
; %downspeed% [wireless+wired]
|
||||
; %linkspeed% [wired]
|
||||
; Default: %ifname% %local_ip%
|
||||
label-connected = "%{A1:networkmanager_dmenu &:}%local_ip%"
|
||||
;label-connected = "%{A1:~/Scripts/rofi-wifi-menu.sh &:}%essid%"
|
||||
;label-connected = "%{A1:networkmanager_dmenu &:}%local_ip% %upspeed% %downspeed%%{A}"
|
||||
|
||||
; Available tokens:
|
||||
; %ifname% [wireless+wired]
|
||||
; Default: (none)
|
||||
label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
|
||||
;label-disconnected = "%{A1:~/Scripts/rofi-wifi-menu.sh &:} Offline%{A}"
|
||||
;;label-disconnected-foreground = #66ffffff
|
||||
|
||||
; Available tokens:
|
||||
|
@ -819,9 +823,9 @@ label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
|
|||
;label-packetloss-foreground = #eefafafa
|
||||
|
||||
; Only applies if <ramp-signal> is used
|
||||
ramp-signal-0 =
|
||||
;ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
;ramp-signal-0 =
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
|
||||
; Only applies if <animation-packetloss> is used
|
||||
|
|
|
@ -25,7 +25,7 @@ underline_shortcut=1
|
|||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2+\0\0\0\xc2\0\0\x5j\0\0\x3\xa0\0\0\x2.\0\0\0\xc5\0\0\x5g\0\0\x3\x9d\0\0\0\0\0\0\0\0\a\x80\0\0\x2.\0\0\0\xc5\0\0\x5g\0\0\x3\x9d)
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2.\0\0\0\xc5\0\0\x5m\0\0\x3\xa3\0\0\x2\x31\0\0\0\xc8\0\0\x5j\0\0\x3\xa0\0\0\0\0\0\0\0\0\a\x80\0\0\x2\x31\0\0\0\xc8\0\0\x5j\0\0\x3\xa0)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
|
Reference in New Issue