diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-23 01:28:20 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-23 01:49:23 +0100 |
| commit | 29308b94ca2d95597b3c4e3ac1d3edbcd2f23cdd (patch) | |
| tree | bc7c9b36fc4941f17c81625964e5110118695b10 /src/config/ConfigManager.cpp | |
| parent | 7778f01194d84fae18827fd338299dd7482ef7c5 (diff) | |
windows: add misc:initial_workspace_tracking
By default enabled, will track the initial opened workspace of a window spawned for 2 minutes or until it's moved to a different workspace.
For example: you run a launcher and open an app on workspace 1, but quickly switch to workspace 2. The app will now open on workspace 1 regardless of your switch.
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 05694832..eaaed1f7 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -350,6 +350,7 @@ CConfigManager::CConfigManager() { m_pConfig->addConfigValue("misc:new_window_takes_over_fullscreen", Hyprlang::INT{0}); m_pConfig->addConfigValue("misc:enable_hyprcursor", Hyprlang::INT{1}); m_pConfig->addConfigValue("misc:hide_cursor_on_key_press", Hyprlang::INT{0}); + m_pConfig->addConfigValue("misc:initial_workspace_tracking", Hyprlang::INT{1}); m_pConfig->addConfigValue("group:insert_after_current", Hyprlang::INT{1}); m_pConfig->addConfigValue("group:focus_removed_window", Hyprlang::INT{1}); |
