hyprctl: screen_shader config fixes (#4102)

* Allow "/" in values of requests

* Don't tick on empty value
This commit is contained in:
dranull 2024-01-14 17:12:52 +00:00 committed by GitHub
parent 4cee94b91c
commit 13d9a637d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -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);