diff options
| author | Tom Englund <tomenglund26@gmail.com> | 2024-08-09 19:33:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 19:33:20 +0200 |
| commit | 8b37e81374928856d8fd859b95a62c8bf4211901 (patch) | |
| tree | 652ada086c38773b8616da8a7926ad7b5ab51dab /src/managers/XCursorManager.hpp | |
| parent | fd1d4e288edd586a3d5273cda053a51f5b14cad7 (diff) | |
cursormgr: add a new setting to sync gsettings (#7253)
cursor:sync_gsettings_theme is set to default true and if enabled it
will now sync xcursor theme loading with gsettings if it can, meaning
CSD clients will now also change to the appropiate theme upon start and
hyprctl setcursor THEME SIZE .
Diffstat (limited to 'src/managers/XCursorManager.hpp')
| -rw-r--r-- | src/managers/XCursorManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/XCursorManager.hpp b/src/managers/XCursorManager.hpp index 20637055..464c1ec3 100644 --- a/src/managers/XCursorManager.hpp +++ b/src/managers/XCursorManager.hpp @@ -38,6 +38,7 @@ class CXCursorManager { std::string getLegacyShapeName(std::string const& shape); std::vector<SP<SXCursors>> loadStandardCursors(std::string const& name, int size); std::vector<SP<SXCursors>> loadAllFromDir(std::string const& path, int size); + void syncGsettings(); int lastLoadSize = 0; std::string themeName = ""; |
