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 + } }