This commit is contained in:
Patrick Alvin Alcala 2025-06-30 10:30:44 +08:00
parent 209ba130c0
commit f0d81507e7
10 changed files with 133 additions and 23 deletions

View file

@ -13,6 +13,7 @@
"cpu",
"memory",
"pulseaudio",
"custom/notification",
"clock",
],
// Modules configuration
@ -20,7 +21,7 @@
"disable-scroll": true,
"disable-markup": false,
"all-outputs": false,
"format": "{name}",
"format": "{id}",
"persistent-workspaces": {
"HDMI-A-1": [1, 2, 3, 4, 5],
},
@ -47,7 +48,7 @@
// "format": "<span style=\"italic\">{}</span>",
// },
"tray": {
"icon-size": 16,
"icon-size": 24,
"spacing": 4,
},
"clock": {
@ -111,6 +112,26 @@
"default": ["🔈️", "🔊"],
},
"on-click": "pavucontrol",
},
"custom/notification": {
"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": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
// "custom/media": {
// "format": "{icon} {}",