waybar mpris
This commit is contained in:
parent
e06b6ecf3d
commit
a55c75925c
1 changed files with 19 additions and 0 deletions
|
@ -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}";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue