From 43b96f03b5af60586a864ea64e8c71b11ea6eb85 Mon Sep 17 00:00:00 2001 From: SoSeDiK Date: Mon, 8 Apr 2024 01:19:02 +0300 Subject: props: Allow setting per-window fullscreen opacity (#5470) --- src/debug/HyprCtl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug/HyprCtl.cpp') diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index d672a2d0..ad62de12 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -1209,6 +1209,10 @@ std::string dispatchSetProp(eHyprCtlOutputFormat format, std::string request) { PWINDOW->m_sSpecialRenderData.alphaInactiveOverride.forceSetIgnoreLocked(configStringToInt(VAL), lock); } else if (PROP == "alphainactive") { PWINDOW->m_sSpecialRenderData.alphaInactive.forceSetIgnoreLocked(std::stof(VAL), lock); + } else if (PROP == "alphafullscreenoverride") { + PWINDOW->m_sSpecialRenderData.alphaFullscreenOverride.forceSetIgnoreLocked(configStringToInt(VAL), lock); + } else if (PROP == "alphafullscreen") { + PWINDOW->m_sSpecialRenderData.alphaFullscreen.forceSetIgnoreLocked(std::stof(VAL), lock); } else if (PROP == "activebordercolor") { PWINDOW->m_sSpecialRenderData.activeBorderColor.forceSetIgnoreLocked(CGradientValueData(CColor(configStringToInt(VAL))), lock); } else if (PROP == "inactivebordercolor") { -- cgit v1.2.3