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"
|
||||
];
|
||||
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}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue