diff options
author | Vaxry <[email protected]> | 2023-12-11 22:58:40 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-12-11 22:58:51 +0000 |
commit | ea7569d7e0941d19f5f469a5fbb79bc0fa62b935 (patch) | |
tree | 66cbdeb4cea529b9226f64d3fd4a911f3a1bffbc /src/config/ConfigManager.hpp | |
parent | e53134ca904e47a24191ea028c019ac9728b7dad (diff) | |
download | Hyprland-ea7569d7e0941d19f5f469a5fbb79bc0fa62b935.tar.gz Hyprland-ea7569d7e0941d19f5f469a5fbb79bc0fa62b935.zip |
config: improve layoutopt handling for workspacerules
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r-- | src/config/ConfigManager.hpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 8009100e..d5957cd5 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -37,21 +37,21 @@ struct SConfigValue { }; struct SWorkspaceRule { - std::string monitor = ""; - std::string workspaceString = ""; - std::string workspaceName = ""; - int workspaceId = -1; - bool isDefault = false; - bool isPersistent = false; - std::optional<int64_t> gapsIn; - std::optional<int64_t> gapsOut; - std::optional<int64_t> borderSize; - std::optional<int> border; - std::optional<int> rounding; - std::optional<int> decorate; - std::optional<int> shadow; - std::optional<std::string> onCreatedEmptyRunCmd; - std::map<std::string, std::any> layoutopts; + std::string monitor = ""; + std::string workspaceString = ""; + std::string workspaceName = ""; + int workspaceId = -1; + bool isDefault = false; + bool isPersistent = false; + std::optional<int64_t> gapsIn; + std::optional<int64_t> gapsOut; + std::optional<int64_t> borderSize; + std::optional<int> border; + std::optional<int> rounding; + std::optional<int> decorate; + std::optional<int> shadow; + std::optional<std::string> onCreatedEmptyRunCmd; + std::map<std::string, std::string> layoutopts; }; struct SMonitorAdditionalReservedArea { |