calcite: add notification center and kdeconnect
This commit is contained in:
parent
854f450677
commit
f1079f3095
9 changed files with 65 additions and 22 deletions
|
@ -57,6 +57,8 @@ in
|
|||
"battery"
|
||||
"custom/separator"
|
||||
"tray"
|
||||
"custom/separator"
|
||||
"custom/notification"
|
||||
];
|
||||
"niri/workspaces" = {
|
||||
all-outputs = true;
|
||||
|
@ -158,6 +160,27 @@ in
|
|||
icon-size = 18;
|
||||
spacing = 14;
|
||||
};
|
||||
|
||||
"custom/notification" = {
|
||||
escape = true;
|
||||
exec = "swaync-client -swb";
|
||||
exec-if = "which swaync-client";
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
dnd-inhibited-none = "";
|
||||
dnd-inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
||||
dnd-none = "";
|
||||
dnd-notification = "<span foreground='red'><sup></sup></span>";
|
||||
inhibited-none = "";
|
||||
inhibited-notification = "<span foreground='red'><sup></sup></span>";
|
||||
none = "";
|
||||
notification = "<span foreground='red'><sup></sup></span>";
|
||||
};
|
||||
on-click = "swaync-client -t -sw";
|
||||
on-click-right = "swaync-client -d -sw";
|
||||
return-type = "json";
|
||||
tooltip = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue