adding new notification daemon and menu thing

This commit is contained in:
Matt Nish-Lapidus 2025-02-09 14:00:00 -05:00
parent d26e8a696d
commit 380d407dd2
6 changed files with 74 additions and 7 deletions

View file

@ -2,7 +2,7 @@
{
imports = with nix-config.homeModules; [
mako
# mako
mpv
yazi
hyprlock

View file

@ -12,9 +12,31 @@
"network",
"wireplumber",
"power-profiles-daemon",
"upower"
"upower",
"custom/notification",
],
"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
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",