diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-02 10:42:52 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-02 10:42:52 +0200 |
commit | 03d5f1e7cb38859477089b88737a40950ea28843 (patch) | |
tree | dcbe98397ee0573ef67864d693382b26be40aa2c /config/hyprland/waybar/config.jsonc | |
parent | f5b7a1a7cd4052b37dfd576d5ca5864a2b969e09 (diff) |
added wireguard module to waybar
Diffstat (limited to 'config/hyprland/waybar/config.jsonc')
-rw-r--r-- | config/hyprland/waybar/config.jsonc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc index 816a851..aadc6d3 100644 --- a/config/hyprland/waybar/config.jsonc +++ b/config/hyprland/waybar/config.jsonc @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["battery", "clock", "wlr/workspaces", "mpd"], "modules-center": ["hyprland/window"], - "modules-right": ["network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"], + "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"], "wlr/workspaces": { "on-click": "activate", }, @@ -44,6 +44,11 @@ "default":["", "", "", "", ""] }, }, + "custom/wireguard": { + "exec": "ip addr show dev wg0", + "format": "wg0", + "restart-interval": 3, + }, "network": { "format-wifi": " ", "tooltip-format-wifi": "{ifname} {essid}", |