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-2"
"DP-3" "DP-3"
]; ];
modules-left = [ "wlr/workspaces" "wlr/mode" "wlr/taskbar" ]; modules-left = [ "wlr/taskbar" ];
modules-center = [ "clock" "custom/swaync" ]; modules-center = [ "clock" "custom/swaync" ];
modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ]; modules-right = [ "pulseaudio" "backlight" "battery" "tray" ];
"clock" = { "clock" = {
"format" = "{:%A %d %b %T}"; "format" = "{:%A %d %b %T}";
# "tooltip" = true; # "tooltip" = true;
@ -26,14 +26,14 @@
"tooltip" = false; "tooltip" = false;
"format"= "{icon} {}"; "format"= "{icon} {}";
"format-icons" = { "format-icons" = {
"notification" = "a<span foreground='red'><sup>a</sup></span>"; "notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
"none" = "a"; "none" = "🔔";
"dnd-notification" = "a<span foreground='red'><sup>a</sup></span>"; "dnd-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
"dnd-none" = "a"; "dnd-none" = "🔔";
"inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>"; "inhibited-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
"inhibited-none" = "a"; "inhibited-none" = "🔔";
"dnd-inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>"; "dnd-inhibited-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
"dnd-inhibited-none" = "a"; "dnd-inhibited-none" = "🔔";
}; };
"return-type" = "json"; "return-type" = "json";
"exec-if" = "which swaync-client"; "exec-if" = "which swaync-client";
@ -45,8 +45,8 @@
}; };
}; };
style = '' style = ''
#custom-swaync { .module {
padding: 5px; margin: 0px 10px 0px 10px;
} }
''; '';
}; };