summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-08-02 15:19:25 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-08-02 15:19:25 +0200
commit9b791ac8786eed2d242d0909dd2379f008952042 (patch)
tree403c08eb322e18d045606822911a7eb6036f0070 /config/hyprland/waybar/config.jsonc
parente614a330978ce7e7f6d130cc7d199150e16a409d (diff)
parent63c64f071ecd45cf66ab49d199a634cd8db27056 (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'config/hyprland/waybar/config.jsonc')
-rw-r--r--config/hyprland/waybar/config.jsonc7
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}",