diff options
| author | dranull <150595692+dranull@users.noreply.github.com> | 2024-01-14 17:12:52 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-14 18:12:52 +0100 |
| commit | 13d9a637d61ffdd0cb23dda80f6a971f17e0f5b3 (patch) | |
| tree | 7460428fe95e9503ea744302246cbd476de1ac3d /src/config/ConfigManager.cpp | |
| parent | 4cee94b91c9337036f3ea94f80cf8259c5c51cb4 (diff) | |
hyprctl: screen_shader config fixes (#4102)
* Allow "/" in values of requests
* Don't tick on empty value
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 69128c52..57985c41 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -550,7 +550,7 @@ void CConfigManager::configSetValueSafe(const std::string& COMMAND, const std::s } } - if (COMMAND == "decoration:screen_shader") { + if (COMMAND == "decoration:screen_shader" && VALUE != STRVAL_EMPTY) { const auto PATH = absolutePath(VALUE, configCurrentPath); configPaths.push_back(PATH); |
