This commit is contained in:
Daniel Ziltener 2024-01-17 16:44:07 +01:00
parent 3e0152dc9e
commit 8b4b6b6343
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -92,7 +92,8 @@
"battery#bat2", "battery#bat2",
"clock", "clock",
"wireplumber", "wireplumber",
"tray" "tray",
"custom/notifications"
], ],
"network": { "network": {
"format-alt": "{ifname}: {ipaddr}/{cidr}", "format-alt": "{ifname}: {ipaddr}/{cidr}",
@ -140,6 +141,26 @@
"show-empty": true, "show-empty": true,
"tooltip": true, "tooltip": true,
"tooltip-format": "{app}: {title}" "tooltip-format": "{app}: {title}"
},
"custom/notifications": {
"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
} }
} }
] ]