add configuration menu

This commit is contained in:
Benjamin Palko 2025-09-07 13:25:02 -04:00
parent 25e313e31b
commit 47532bd626
4 changed files with 35 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import "bar"
import "configuration"
import "drawers"
import "launcher"
import "pomodoro"
@ -75,6 +76,7 @@ Variants {
}
}
}
Configuration {}
Launcher {}
Pomodoro {}
PowerMenu {}

View file

@ -5,6 +5,12 @@ import Quickshell.Hyprland
Scope {
id: root
LuxShortcut {
name: 'configuration'
description: 'Open the configuration screen'
onPressed: Visibility.configuration = !Visibility.configuration
}
LuxShortcut {
name: 'launcher'
description: 'Open the application launcher'

View file

@ -0,0 +1,25 @@
import qs.components
import qs.services
import QtQuick
import QtQuick.Controls
StyledPanelWindow {
id: window
name: "configuration"
visible: Visibility.configuration
implicitWidth: 800
implicitHeight: 800
ScrollView {
id: view
anchors.fill: parent
background: Item {}
}
component Menus: QtObject {
property Component theme
}
}

View file

@ -3,6 +3,7 @@ pragma Singleton
import Quickshell
Singleton {
property alias configuration: properties.configuration
property alias dashboard: properties.dashboard
property alias launcher: properties.launcher
property alias pomodoro: properties.pomodoro
@ -12,6 +13,7 @@ Singleton {
PersistentProperties {
id: properties
property bool configuration
property bool dashboard
property bool launcher
property bool pomodoro