mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ipc: added bar setDisplayMode {mode}
This commit is contained in:
@@ -33,6 +33,11 @@ Item {
|
||||
function showBar() {
|
||||
BarService.isVisible = true;
|
||||
}
|
||||
function setDisplayMode(mode: string) {
|
||||
if (mode === "always_visible" || mode === "non_exclusive" || mode === "auto_hide") {
|
||||
Settings.data.bar.displayMode = mode;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Settings IPC helpers (outside IpcHandler to avoid QVariant IPC warnings)
|
||||
|
||||
Reference in New Issue
Block a user