aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSherLock707 <kirangeorge1995@gmail.com>2023-12-26 15:24:56 +0530
committerSherLock707 <kirangeorge1995@gmail.com>2023-12-26 15:24:56 +0530
commit8440999fa6f62305b125b366d6f6309a25d06ebf (patch)
tree52e89ada62c8696d600675e12bd7cea663d74f8d
parent3678f78162e273580e40416c2ad984c66ceb1d72 (diff)
Added waybar module for swaync in Default TOP rose-pine
-rw-r--r--config/waybar/configs/[TOP] Default1
-rw-r--r--config/waybar/modules23
-rw-r--r--config/waybar/style/Rose Pine.css1
3 files changed, 23 insertions, 2 deletions
diff --git a/config/waybar/configs/[TOP] Default b/config/waybar/configs/[TOP] Default
index a75f7524..b40bc576 100644
--- a/config/waybar/configs/[TOP] Default
+++ b/config/waybar/configs/[TOP] Default
@@ -45,6 +45,7 @@
"modules-right": [
"network#speed",
"custom/separator#dot-line",
+ "custom/swaync",
"tray",
"mpris",
"custom/separator#dot-line",
diff --git a/config/waybar/modules b/config/waybar/modules
index a462e75d..992eeb1c 100644
--- a/config/waybar/modules
+++ b/config/waybar/modules
@@ -1,4 +1,4 @@
-//* ---- 💫 https://github.com/JaKooLit 💫 ---- *//
+git@github.com:SherLock707/Hyprland-Dots.git//* ---- 💫 https://github.com/JaKooLit 💫 ---- *//
{
// HYPRLAND WORKSPACES. CHOOSE as desired and place on waybar configs
@@ -714,7 +714,26 @@
"interval" : 86400, // once every day
"tooltip": true,
},
-
+"custom/swaync": {
+ "tooltip": false,
+ "format": "{icon} {}",
+ "format-icons": {
+ "notification": "ï‚¢<span foreground='red'><sup>ï‘„</sup></span>",
+ "none": "ï‚¢",
+ "dnd-notification": "<span foreground='red'><sup></sup></span>",
+ "dnd-none": "",
+ "inhibited-notification": "ï‚¢<span foreground='red'><sup>ï‘„</sup></span>",
+ "inhibited-none": "ï‚¢",
+ "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
+ "dnd-inhibited-none": ""
+ },
+ "return-type": "json",
+ "exec-if": "which swaync-client",
+ "exec": "swaync-client -swb",
+ "on-click": "sleep 0.1 && swaync-client -t -sw",
+ "on-click-right": "swaync-client -d -sw",
+ "escape": true,
+ },
}
diff --git a/config/waybar/style/Rose Pine.css b/config/waybar/style/Rose Pine.css
index f4ba4303..a585a20d 100644
--- a/config/waybar/style/Rose Pine.css
+++ b/config/waybar/style/Rose Pine.css
@@ -128,6 +128,7 @@ tooltip {
#custom-power,
#custom-speaker,
#custom-updater,
+#custom-swaync,
#custom-weather,
#custom-weather.clearNight,
#custom-weather.cloudyFoggyDay,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage