mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
105 lines
1.8 KiB
QML
105 lines
1.8 KiB
QML
//@ pragma UseQApplication
|
|
|
|
import Quickshell
|
|
import qs.Modules
|
|
import qs.Modules.AppDrawer
|
|
import qs.Modules.CentcomCenter
|
|
import qs.Modules.ControlCenter
|
|
import qs.Modules.Settings
|
|
import qs.Modules.TopBar
|
|
import qs.Modules.ProcessList
|
|
import qs.Modules.ControlCenter.Network
|
|
import qs.Modals
|
|
|
|
ShellRoot {
|
|
id: root
|
|
|
|
// Multi-monitor support using Variants
|
|
Variants {
|
|
model: Quickshell.screens
|
|
|
|
delegate: TopBar {
|
|
modelData: item
|
|
}
|
|
|
|
}
|
|
|
|
// Global popup windows
|
|
CentcomPopout {
|
|
id: centcomPopout
|
|
}
|
|
|
|
SystemTrayContextMenu {
|
|
id: systemTrayContextMenu
|
|
}
|
|
|
|
NotificationCenter {
|
|
id: notificationCenter
|
|
}
|
|
|
|
NotificationPopup {
|
|
id: notificationPopup
|
|
}
|
|
|
|
ControlCenterPopout {
|
|
id: controlCenterPopout
|
|
onPowerActionRequested: (action, title, message) => {
|
|
powerConfirmModal.powerConfirmAction = action;
|
|
powerConfirmModal.powerConfirmTitle = title;
|
|
powerConfirmModal.powerConfirmMessage = message;
|
|
powerConfirmModal.powerConfirmVisible = true;
|
|
}
|
|
}
|
|
|
|
WifiPasswordModal {
|
|
id: wifiPasswordModal
|
|
}
|
|
|
|
NetworkInfoModal {
|
|
id: networkInfoModal
|
|
}
|
|
|
|
BatteryPopout {
|
|
id: batteryPopout
|
|
}
|
|
|
|
PowerMenu {
|
|
id: powerMenu
|
|
}
|
|
|
|
PowerConfirmModal {
|
|
id: powerConfirmModal
|
|
}
|
|
|
|
ProcessListPopout {
|
|
id: processListPopout
|
|
}
|
|
|
|
SettingsModal {
|
|
id: settingsModal
|
|
}
|
|
|
|
|
|
// Application and clipboard components
|
|
AppDrawerPopout {
|
|
id: appDrawerPopout
|
|
}
|
|
|
|
SpotlightModal {
|
|
id: spotlightModal
|
|
}
|
|
|
|
ProcessListModal {
|
|
id: processListModal
|
|
}
|
|
|
|
ClipboardHistoryModal {
|
|
id: clipboardHistoryModalPopup
|
|
}
|
|
|
|
Toast {
|
|
id: toastWidget
|
|
}
|
|
|
|
}
|