waybar mpris

This commit is contained in:
Reid 2024-07-25 21:15:07 -07:00
parent e06b6ecf3d
commit a55c75925c
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD

View file

@ -40,11 +40,19 @@ in {
"clock"
];
modules-right = [
"group/playback"
"group/status"
"tray"
"group/power"
];
"group/playback" = {
orientation = "inherit";
modules = [
"mpris"
];
};
"group/status" = {
orientation = "inherit";
modules = [
@ -210,6 +218,17 @@ in {
{ type = "audio-in"; }
];
};
mpris = {
format = " {dynamic}";
format-paused = "{status_icon} {dynamic}";
dynamic-order = [ "title" ];
tooltip-format = "{player}: {dynamic}";
interval = 1;
status-icons = {
playing = "";
paused = "";
};
};
clock = {
format = "{:%H:%M}";
format-alt = "{:%a %b %d %R}";