waybar customization changes

This commit is contained in:
xunuwu 2025-04-03 06:58:31 +02:00
parent 110b856dcb
commit 7d2896c4b0
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -16,14 +16,26 @@
"sway/window" "sway/window"
]; ];
modules-right = [ modules-right = [
"mpris"
"tray" "tray"
"clock" "clock"
]; ];
"sway/workspaces" = { "sway/workspaces" = {
format = "{icon}"; format = "{icon}";
}; };
"sway/window" = {
max-length = 80;
};
mpris = {
ignored-players = ["firefox"];
on-click-right = "";
on-click-middle = "";
format = "{dynamic}";
dynamic-order = ["title" "album" "artist"];
dynamic-importance-order = ["title" "album" "artist"];
};
clock = { clock = {
format = "{:%a %H:%M}"; format = "{:%V|%d %a %H:%M}";
tooltip-format = "<big>{:%a %Y-%m-%d %H:%M}</big>\n<small>{calendar}</small>"; tooltip-format = "<big>{:%a %Y-%m-%d %H:%M}</big>\n<small>{calendar}</small>";
}; };
} }