save last state
This commit is contained in:
@@ -41,7 +41,7 @@ in {
|
||||
"backlight"
|
||||
"battery"
|
||||
"clock"
|
||||
"custom/mako"
|
||||
"custom/dunst"
|
||||
];
|
||||
|
||||
"hyprland/workspaces" = {
|
||||
@@ -120,6 +120,34 @@ in {
|
||||
interval = 10;
|
||||
};
|
||||
|
||||
"custom/dunst" = {
|
||||
exec = "dunst.sh";
|
||||
on-click = "dunstctl set-paused toggle";
|
||||
restart-interval = 1;
|
||||
tooltip = false;
|
||||
};
|
||||
|
||||
"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;
|
||||
};
|
||||
|
||||
# "custom/mail" = {
|
||||
# format-icons = {
|
||||
# icon = "<span foreground='#928374'> </span>";
|
||||
|
||||
Reference in New Issue
Block a user