From 3a55f1689d112c77b2d3306e8e08ca244ef49aa3 Mon Sep 17 00:00:00 2001
From: Alfred Burgess <aburgess@ucc.asn.au>
Date: Sun, 16 Jun 2024 15:51:15 +1000
Subject: [PATCH] Added integration with Swww-Haven

---
 waybar/config.jsonc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index 5158082..561cae6 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -13,6 +13,8 @@
         "sway/mode",
         "sway/scratchpad",
 	"custom/arrow10",
+        "custom/swww-haven",
+	"custom/arrow10",
         "custom/media"
     ],
     "modules-center": [
@@ -210,4 +212,12 @@
       "format": "",
       "tooltip": false
     },
+    "custom/swww-haven": {
+      "format": " {} ",
+      "interval": 1,
+      "return-type": "json",
+      "exec": "$HOME/Workspace/swww-haven/bars/waybar.sh 2> /dev/null",
+      "on-click": "swww-haven set"
+    }
+
 }
-- 
GitLab