Add workspace app icon side-effects and add wiki link for settings. (#387)
* Add side-effect for app icons for workspaces and udated mpris types. * Add links to workspace icon toggles. * Add subtitle
This commit is contained in:
@@ -46,6 +46,9 @@ export const initializeActivePlayerHook = (): void => {
|
||||
});
|
||||
};
|
||||
|
||||
export const getPlayerInfo = (): MprisPlayer => {
|
||||
export const getPlayerInfo = (): MprisPlayer | undefined => {
|
||||
if (media.players.length === 0) {
|
||||
return;
|
||||
}
|
||||
return media.players.find((p) => p.bus_name === curPlayer.value) || media.players[0];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user