mirror of
https://github.com/tuxdotrs/tshell.git
synced 2026-09-19 18:49:02 +05:30
20 lines
678 B
QML
20 lines
678 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("PowerProfileWidget"), root.widget("GPUWidget"), root.widget("HomeWidget"), root.widget("MusicWidget")]
|
|
|
|
property var center: [root.widget("CavaVisualizer"), root.widget("Workspaces"), root.widget("CavaVisualizer"),]
|
|
|
|
property var right: [root.widget("AudioWidget"), root.widget("BatteryIndicator"), root.widget("SystemTrayWidget"), root.widget("ClockWidget"), root.widget("GhostButton")]
|
|
}
|