summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'config/hyprland/waybar/config.jsonc')
-rw-r--r--config/hyprland/waybar/config.jsonc24
1 files changed, 20 insertions, 4 deletions
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc
index 816a851..d2bad38 100644
--- a/config/hyprland/waybar/config.jsonc
+++ b/config/hyprland/waybar/config.jsonc
@@ -1,10 +1,21 @@
{
"layer": "top",
- "modules-left": ["battery", "clock", "wlr/workspaces", "mpd"],
+ "modules-left": ["battery", "clock", "hyprland/workspaces", "mpd"],
"modules-center": ["hyprland/window"],
- "modules-right": ["network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"],
- "wlr/workspaces": {
- "on-click": "activate",
+ "modules-right": ["custom/wireguard", "network", "pulseaudio", "temperature", "cpu", "custom/memory", "tray"],
+ "hyprland/workspaces": {
+ "format": "{icon}",
+ "format-icons": {
+ "1": "I",
+ "2": "II",
+ "3": "III",
+ "4": "IV",
+ "5": "V",
+ "6": "VI",
+ "7": "VII",
+ "8": "VIII",
+ "9": "IX",
+ },
},
"mpd": {
"tooltip": false,
@@ -44,6 +55,11 @@
"default":["", "", "", "", ""]
},
},
+ "custom/wireguard": {
+ "exec": "ip addr show dev wg0",
+ "format": "wg0",
+ "restart-interval": 3,
+ },
"network": {
"format-wifi": " ",
"tooltip-format-wifi": "{ifname} {essid}",