noctalia-shell/shell.qml
quadbyte b3002b42b4 SettingsWindow Loading
- reworked the way we load the settings to avoid using
Qt.createComponent which breaks hot reload and more
- introduced a new PanelManager singleton to hold some references to
some panels and later will be used to force having a single panel opened
at all time
2025-08-12 18:58:22 -04:00

55 lines
957 B
QML

// Disable reload popup add this as a new row: //pragma Env QS_NO_RELOAD_POPUP=1
import QtQuick
import Quickshell
import Quickshell.Io
import Quickshell.Widgets
import Quickshell.Services.Pipewire
import qs.Widgets
import qs.Modules.Audio
import qs.Modules.Bar
import qs.Modules.Calendar
import qs.Modules.DemoPanel
import qs.Modules.Background
import qs.Modules.SidePanel
import qs.Modules.Notification
import qs.Modules.Settings
import qs.Services
ShellRoot {
id: shellRoot
Background {}
Overview {}
ScreenCorners {}
Bar {}
DemoPanel {
id: demoPanel
}
SidePanel {
id: sidePanel
}
Notification {
id: notification
}
Calendar {
id: calendar
}
SettingsWindow {
id: settingsWindow
}
Component.onCompleted: {
PanelManager.settingsWindow = settingsWindow
// Ensure our singleton is created as soon as possible
// so we start fetching weather asap if necessary
Location.init()
}
}