mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
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