forked from Shinonome/dots-hyprland
make paused music not hide resources (#1285)
This commit is contained in:
@@ -210,7 +210,7 @@ export default () => {
|
||||
}),
|
||||
setup: (self) => self.hook(Mpris, label => {
|
||||
const mpris = Mpris.getPlayer('');
|
||||
self.revealChild = (!mpris || userOptions.bar.alwaysShowFullResources);
|
||||
self.revealChild = (!mpris || mpris.playBackStatus !== 'Playing' || userOptions.bar.alwaysShowFullResources);
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user