mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2026-09-19 18:19:02 +05:30
31 lines
563 B
QML
31 lines
563 B
QML
pragma Singleton
|
|
|
|
import Quickshell
|
|
import qs.ui
|
|
import qs.services
|
|
|
|
Singleton {
|
|
id: root
|
|
|
|
function widget(name: string): url {
|
|
return `${Quickshell.shellPath("modules/bar")}/${name}.qml`;
|
|
}
|
|
|
|
property var left: [
|
|
root.widget("LauncherButton"),
|
|
root.widget("BatteryIndicator"),
|
|
]
|
|
|
|
property var center: [
|
|
root.widget("CavaVisualizer"),
|
|
root.widget("Workspaces"),
|
|
root.widget("CavaVisualizer"),
|
|
]
|
|
|
|
property var right: [
|
|
root.widget("SystemTrayWidget"),
|
|
root.widget("ClockWidget"),
|
|
root.widget("GhostButton")
|
|
]
|
|
}
|