workspaces: Add binds:hide_special_on_workspace_change (#9728)
This commit is contained in:
parent
fc7223edc0
commit
05eb0aa43d
4 changed files with 23 additions and 4 deletions
|
|
@ -1246,6 +1246,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{false},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "binds:hide_special_on_workspace_change",
|
||||
.description = "If enabled, changing the active workspace (including to itself) will hide the special workspace on the monitor where the newly active workspace resides.",
|
||||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{false},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "binds:allow_workspace_cycles",
|
||||
.description = "If enabled, workspaces don’t forget their previous workspace, so cycles can be created by switching to the first workspace in a sequence, then endlessly "
|
||||
|
|
|
|||
|
|
@ -626,6 +626,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("binds:pass_mouse_when_bound", Hyprlang::INT{0});
|
||||
registerConfigVar("binds:scroll_event_delay", Hyprlang::INT{300});
|
||||
registerConfigVar("binds:workspace_back_and_forth", Hyprlang::INT{0});
|
||||
registerConfigVar("binds:hide_special_on_workspace_change", Hyprlang::INT{0});
|
||||
registerConfigVar("binds:allow_workspace_cycles", Hyprlang::INT{0});
|
||||
registerConfigVar("binds:workspace_center_on", Hyprlang::INT{1});
|
||||
registerConfigVar("binds:focus_preferred_method", Hyprlang::INT{0});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue