From 1b523c7ac404c4d51758ec885c3628d09dc2c627 Mon Sep 17 00:00:00 2001 From: Benjamin Palko Date: Wed, 27 Aug 2025 09:33:18 -0400 Subject: [PATCH] persist visibility --- services/Visibility.qml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/services/Visibility.qml b/services/Visibility.qml index b4895b4..d188159 100644 --- a/services/Visibility.qml +++ b/services/Visibility.qml @@ -4,9 +4,9 @@ import qs.widgets import Quickshell Singleton { - property bool launcher - property bool pomodoro - property bool powermenu + property alias launcher: properties.launcher + property alias pomodoro: properties.pomodoro + property alias powermenu: properties.powermenu property StyledPopupWindow activePopup function togglePopup(popup: StyledPopupWindow) { @@ -16,4 +16,12 @@ Singleton { popup.state = popup.state == "opened" ? "" : "opened"; activePopup = popup; } + + PersistentProperties { + id: properties + + property bool launcher + property bool pomodoro + property bool powermenu + } }