Browse Source

Added waybar module for swaync in Default TOP rose-pine

pull/102/head
SherLock707 2 years ago
parent
commit
8440999fa6
  1. 1
      config/waybar/configs/[TOP] Default
  2. 23
      config/waybar/modules
  3. 1
      config/waybar/style/Rose Pine.css

1
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",

23
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,
},
}

1
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,

Loading…
Cancel
Save