mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 07:01:57 -07:00
hyprctl: screen_shader config fixes (#4102)
* Allow "/" in values of requests * Don't tick on empty value
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user