mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
allow swap and cpu usage to always be shown (#1210)
This commit is contained in:
parent
9c5dad1cc6
commit
5546384cd5
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue