mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-09-01 07:19:58 +02:00
i3-companion: replace network module by custom IPC for Network Manager
This commit is contained in:
parent
b3c386b778
commit
7df5011824
3 changed files with 176 additions and 33 deletions
|
@ -31,11 +31,11 @@ modules-center = date
|
|||
|
||||
[bar/alone]
|
||||
inherit = bar/common
|
||||
modules-right = cpu memory brightness battery ethernet wlan disk pulseaudio
|
||||
modules-right = cpu memory brightness battery network disk pulseaudio
|
||||
|
||||
[bar/primary]
|
||||
inherit = bar/common
|
||||
modules-right = cpu memory brightness battery ethernet wlan disk pulseaudio
|
||||
modules-right = cpu memory brightness battery network disk pulseaudio
|
||||
|
||||
[bar/secondary]
|
||||
inherit = bar/common
|
||||
|
@ -98,16 +98,10 @@ type = internal/memory
|
|||
interval = 5
|
||||
label = %percentage_used: 2%%
|
||||
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = ${env:WLAN:}
|
||||
interval = 5
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
label-connected = %essid%
|
||||
format-disconnected =
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
[module/network]
|
||||
type = custom/ipc
|
||||
hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt
|
||||
initial = 1
|
||||
|
||||
[module/ethernet]
|
||||
type = internal/network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue