styled waybar somewhat, added 🔔 as notifications icon

This commit is contained in:
Gabriella Bere 2024-08-24 18:27:10 +01:00
parent 75a45c1398
commit b33b517c48

View file

@ -13,9 +13,9 @@
"DP-2"
"DP-3"
];
modules-left = [ "wlr/workspaces" "wlr/mode" "wlr/taskbar" ];
modules-left = [ "wlr/taskbar" ];
modules-center = [ "clock" "custom/swaync" ];
modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ];
modules-right = [ "pulseaudio" "backlight" "battery" "tray" ];
"clock" = {
"format" = "{:%A %d %b %T}";
# "tooltip" = true;
@ -26,14 +26,14 @@
"tooltip" = false;
"format"= "{icon} {}";
"format-icons" = {
"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";
"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";
@ -45,8 +45,8 @@
};
};
style = ''
#custom-swaync {
padding: 5px;
.module {
margin: 0px 10px 0px 10px;
}
'';
};