forked from Shinonome/dots-hyprland
allow swap and cpu usage to always be shown (#1210)
This commit is contained in:
@@ -277,6 +277,8 @@
|
||||
}
|
||||
},
|
||||
"bar": {
|
||||
// Whether to show Swap and CPU usage when there's media. RAM is always shown.
|
||||
"alwaysShowFullResources": false,
|
||||
// Array of bar modes for each monitor. Hit Ctrl+Alt+Slash to cycle.
|
||||
// Modes: "normal", "focus" (workspace indicator only), "nothing"
|
||||
// Example for four monitors: ["normal", "focus", "normal", "nothing"]
|
||||
|
||||
@@ -210,7 +210,7 @@ export default () => {
|
||||
}),
|
||||
setup: (self) => self.hook(Mpris, label => {
|
||||
const mpris = Mpris.getPlayer('');
|
||||
self.revealChild = (!mpris);
|
||||
self.revealChild = (!mpris || userOptions.bar.alwaysShowFullResources);
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user