testing new swaync things, added padding to the swaync waybar widget

This commit is contained in:
Gabriella Bere 2024-08-24 18:06:23 +01:00
parent ae195c40d0
commit 8436756daa
3 changed files with 24 additions and 11 deletions

View file

@ -22,18 +22,18 @@
# "tooltip-format" = "{=%A; %d %B %Y}\n<tt>{calendar}</tt>";
"interval" = 1;
};
"custom/swaync": {
"custom/swaync" = {
"tooltip" = false;
"format"= "{icon}";
"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" = "";
"notification" = "a<span foreground='red'><sup>a</sup></span>";
"none" = "a";
"dnd-notification" = "a<span foreground='red'><sup>a</sup></span>";
"dnd-none" = "a";
"inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>";
"inhibited-none" = "a";
"dnd-inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>";
"dnd-inhibited-none" = "a";
};
"return-type" = "json";
"exec-if" = "which swaync-client";
@ -44,5 +44,10 @@
};
};
};
style = ''
#custom-swaync {
padding: 2%;
}
'';
};
}