feat(bar): add waybar-mpris
This commit is contained in:
parent
c03d1102ea
commit
af89796a75
2 changed files with 10 additions and 0 deletions
|
|
@ -47,6 +47,7 @@
|
|||
hyprshot
|
||||
pavucontrol
|
||||
networkmanagerapplet
|
||||
waybar-mpris
|
||||
|
||||
# nix-tools
|
||||
nix-output-monitor
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
];
|
||||
modules-center = [ "hyprland/window" ];
|
||||
modules-right = [
|
||||
"custom/waybar-mpris"
|
||||
"pulseaudio"
|
||||
"backlight"
|
||||
"network"
|
||||
|
|
@ -144,6 +145,14 @@
|
|||
"spacing" = 7;
|
||||
};
|
||||
};
|
||||
|
||||
"custom/waybar-mpris" = {
|
||||
return-type = "json";
|
||||
exec = "waybar-mpris --position --autofocus";
|
||||
on-click = "waybar-mpris --send toggle";
|
||||
on-click-right = "waybar-mpris --send player-next";
|
||||
escape = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue