forked from Shinonome/dots-hyprland
[Feature] Change shell mode per monitor (#736)
This commit is contained in:
@@ -221,6 +221,12 @@ let configOptions = {
|
||||
'cycleTab': "Ctrl+Tab",
|
||||
}
|
||||
},
|
||||
'bar': {
|
||||
// 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"]
|
||||
'modes': ["normal"]
|
||||
},
|
||||
}
|
||||
|
||||
// Override defaults with user's options
|
||||
|
||||
@@ -101,8 +101,7 @@ export const Bar = async (monitor = 0) => {
|
||||
'nothing': nothingContent,
|
||||
},
|
||||
setup: (self) => self.hook(currentShellMode, (self) => {
|
||||
self.shown = currentShellMode.value;
|
||||
|
||||
self.shown = currentShellMode.value[monitor];
|
||||
})
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user