mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 10:26:00 +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
|
@ -548,6 +548,9 @@ std::string dispatchKeyword(std::string in) {
|
|||
|
||||
if (COMMAND.contains("general: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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue