feat: add tiling variables to cosmic config

This commit is contained in:
Ashley Wulber 2024-02-08 14:25:18 -05:00 committed by GitHub
parent e43c0f648d
commit 5eb5af4675
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 189 additions and 44 deletions

View file

@ -578,7 +578,11 @@ where
Vec::new()
};
let active_hint = theme.active_hint as u8;
let active_hint = if state.config.cosmic_conf.active_hint {
theme.active_hint as u8
} else {
0
};
// overlay redirect windows
// they need to be over sticky windows, because they could be popups of sticky windows,
@ -664,7 +668,7 @@ where
let offset = match previous.as_ref() {
Some((previous, previous_idx, start)) => {
let layout = state.config.workspace.workspace_layout;
let layout = state.config.cosmic_conf.workspaces.workspace_layout;
let workspace = state
.shell