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" "clock"
]; ];
modules-right = [ modules-right = [
"group/playback"
"group/status" "group/status"
"tray" "tray"
"group/power" "group/power"
]; ];
"group/playback" = {
orientation = "inherit";
modules = [
"mpris"
];
};
"group/status" = { "group/status" = {
orientation = "inherit"; orientation = "inherit";
modules = [ modules = [
@ -210,6 +218,17 @@ in {
{ type = "audio-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 = { clock = {
format = "{:%H:%M}"; format = "{:%H:%M}";
format-alt = "{:%a %b %d %R}"; format-alt = "{:%a %b %d %R}";