diff options
| author | Robert Günzler <r@gnzler.io> | 2020-01-29 16:12:57 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-01-29 17:55:11 +0100 |
| commit | 35107f0f7eb3cb7e27c00fc354d2c696b8acb848 (patch) | |
| tree | c233d138c2dcf857d77f79a0ef6a72b7dd75ee85 /.config/waybar/config | |
| parent | 7fa8e691e4bb545fe65cc72863813a71e8cba1c5 (diff) | |
waybar: Show wireguard status
Diffstat (limited to '')
| -rw-r--r-- | .config/waybar/config | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.config/waybar/config b/.config/waybar/config index 6f29e7e..04965c8 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -6,7 +6,7 @@ "modules-left": ["sway/mode", "sway/workspaces", "sway/window", "custom/media", "custom/toggl"], // "modules-center": ["sway/window"], - "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network", "battery", "clock#local", "clock#utc", "tray"], + "modules-right": ["cpu", "memory", "temperature", "idle_inhibitor", "backlight", "pulseaudio", "network#wg", "network", "battery", "clock#local", "clock#utc", "tray"], "sway/workspaces": { "disable-scroll": true, "all-outputs": false, @@ -96,11 +96,10 @@ "format-alt": "{ifname}: {ipaddr}/{cidr}", "tooltip": false }, - "network#vpn": { - "interface": "tun0", - "format-wifi": " {ifname}", - "format-ethernet": " {ifname}", - "format-disconnected": "", + "network#wg": { + "interface": "wg*", + "format": "", + "format-alt": "{ifname}", "tooltip": false }, "pulseaudio": { |