mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
119 lines
2.2 KiB
QML
119 lines
2.2 KiB
QML
|
||
/*
|
||
* Noctalia – made by https://github.com/noctalia-dev
|
||
* Licensed under the MIT License.
|
||
* Forks and modifications are allowed under the MIT License,
|
||
* but proper credit must be given to the original author.
|
||
*/
|
||
|
||
// Disable reload popup add this as a new row: //pragma Env QS_NO_RELOAD_POPUP=1
|
||
|
||
// Qt & Quickshell Core
|
||
import QtQuick
|
||
import Quickshell
|
||
import Quickshell.Io
|
||
import Quickshell.Services.Pipewire
|
||
import Quickshell.Widgets
|
||
|
||
// Commons & Services
|
||
import qs.Commons
|
||
import qs.Services
|
||
import qs.Widgets
|
||
|
||
// Core Modules
|
||
import qs.Modules.Background
|
||
import qs.Modules.Dock
|
||
import qs.Modules.LockScreen
|
||
|
||
// Bar & Bar Components
|
||
import qs.Modules.Bar
|
||
import qs.Modules.Bar.Extras
|
||
import qs.Modules.Bar.Bluetooth
|
||
import qs.Modules.Bar.Calendar
|
||
import qs.Modules.Bar.Power
|
||
import qs.Modules.Bar.WiFi
|
||
|
||
// Panels & UI Components
|
||
import qs.Modules.ControlCenter
|
||
import qs.Modules.Launcher
|
||
import qs.Modules.Notification
|
||
import qs.Modules.Settings
|
||
import qs.Modules.Toast
|
||
import qs.Modules.Wallpaper
|
||
|
||
ShellRoot {
|
||
id: shellRoot
|
||
|
||
Background {}
|
||
Overview {}
|
||
ScreenCorners {}
|
||
Bar {}
|
||
Dock {}
|
||
|
||
Notification {
|
||
id: notification
|
||
}
|
||
|
||
LockScreen {
|
||
id: lockScreen
|
||
}
|
||
|
||
ToastOverlay {}
|
||
|
||
// IPCService is treated as a service
|
||
// but it's actually an Item that needs to exists in the shell.
|
||
IPCService {}
|
||
|
||
// ------------------------------
|
||
// All the NPanels
|
||
Launcher {
|
||
id: launcherPanel
|
||
objectName: "launcherPanel"
|
||
}
|
||
|
||
ControlCenterPanel {
|
||
id: controlCenterPanel
|
||
objectName: "controlCenterPanel"
|
||
}
|
||
|
||
CalendarPanel {
|
||
id: calendarPanel
|
||
objectName: "calendarPanel"
|
||
}
|
||
|
||
SettingsPanel {
|
||
id: settingsPanel
|
||
objectName: "settingsPanel"
|
||
}
|
||
|
||
NotificationHistoryPanel {
|
||
id: notificationHistoryPanel
|
||
objectName: "notificationHistoryPanel"
|
||
}
|
||
|
||
PowerPanel {
|
||
id: powerPanel
|
||
objectName: "powerPanel"
|
||
}
|
||
|
||
WiFiPanel {
|
||
id: wifiPanel
|
||
objectName: "wifiPanel"
|
||
}
|
||
|
||
BluetoothPanel {
|
||
id: bluetoothPanel
|
||
objectName: "bluetoothPanel"
|
||
}
|
||
|
||
WallpaperPanel {
|
||
id: wallpaperPanel
|
||
objectName: "wallpaperPanel"
|
||
}
|
||
|
||
Component.onCompleted: {
|
||
// Save a ref. to our lockScreen so we can access it easily
|
||
PanelService.lockScreen = lockScreen
|
||
}
|
||
}
|