From 6880272c5b18acd063b47e1f04c03c1a78d08499 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 26 Jul 2025 14:30:48 +1000 Subject: config: allow enable/disable panels Closes #240 --- modules/drawers/Drawers.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/drawers') diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index 255bf72..86c2a1a 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -63,7 +63,7 @@ Variants { } HyprlandFocusGrab { - active: visibilities.launcher || visibilities.session + active: (visibilities.launcher && Config.launcher.enabled) || (visibilities.session && Config.session.enabled) windows: [win] onCleared: { visibilities.launcher = false; @@ -73,7 +73,7 @@ Variants { StyledRect { anchors.fill: parent - opacity: visibilities.session ? 0.5 : 0 + opacity: visibilities.session && Config.session.enabled ? 0.5 : 0 color: Colours.palette.m3scrim Behavior on opacity { -- cgit v1.2.3-freya