aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-12-26 19:17:12 +0900
committerGitHub <noreply@github.com>2023-12-26 19:17:12 +0900
commit453d8b3f439d022569ea0b077e7c69039d96746a (patch)
tree52e89ada62c8696d600675e12bd7cea663d74f8d /config/waybar
parent76672ae5a6ac03c416bc705d51dec363f88b7a40 (diff)
parent8440999fa6f62305b125b366d6f6309a25d06ebf (diff)
Merge pull request #103 from SherLock707/development
Development: Replaced dunst with Swaync
Diffstat (limited to 'config/waybar')
-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