mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 21:45:58 +01:00
reload shader on dynamic shader keyword
This commit is contained in:
parent
cb85eea261
commit
fbc839e8d9
1 changed files with 3 additions and 0 deletions
|
@ -549,6 +549,9 @@ std::string dispatchKeyword(std::string in) {
|
||||||
if (COMMAND.contains("general:layout"))
|
if (COMMAND.contains("general:layout"))
|
||||||
g_pLayoutManager->switchToLayout(g_pConfigManager->getString("general:layout")); // update layout
|
g_pLayoutManager->switchToLayout(g_pConfigManager->getString("general:layout")); // update layout
|
||||||
|
|
||||||
|
if (COMMAND.contains("decoration:screen_shader"))
|
||||||
|
g_pHyprOpenGL->m_bReloadScreenShader = true;
|
||||||
|
|
||||||
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
|
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
|
||||||
|
|
||||||
if (retval == "")
|
if (retval == "")
|
||||||
|
|
Loading…
Reference in a new issue