mirror of
https://github.com/tuxdotrs/tshell.git
synced 2026-09-19 18:49:02 +05:30
style: format qml files
This commit is contained in:
@@ -11,23 +11,9 @@ Singleton {
|
|||||||
return `${Quickshell.shellPath("modules/bar")}/${name}.qml`;
|
return `${Quickshell.shellPath("modules/bar")}/${name}.qml`;
|
||||||
}
|
}
|
||||||
|
|
||||||
property var left: [
|
property var left: [root.widget("LauncherButton"), root.widget("PowerProfileWidget"), root.widget("HomeWidget"),]
|
||||||
root.widget("LauncherButton"),
|
|
||||||
root.widget("PowerProfileWidget"),
|
|
||||||
root.widget("HomeWidget"),
|
|
||||||
]
|
|
||||||
|
|
||||||
property var center: [
|
property var center: [root.widget("CavaVisualizer"), root.widget("Workspaces"), root.widget("CavaVisualizer"),]
|
||||||
root.widget("CavaVisualizer"),
|
|
||||||
root.widget("Workspaces"),
|
|
||||||
root.widget("CavaVisualizer"),
|
|
||||||
]
|
|
||||||
|
|
||||||
property var right: [
|
property var right: [root.widget("AudioWidget"), root.widget("BatteryIndicator"), root.widget("SystemTrayWidget"), root.widget("ClockWidget"), root.widget("GhostButton")]
|
||||||
root.widget("AudioWidget"),
|
|
||||||
root.widget("BatteryIndicator"),
|
|
||||||
root.widget("SystemTrayWidget"),
|
|
||||||
root.widget("ClockWidget"),
|
|
||||||
root.widget("GhostButton")
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,20 +5,17 @@ import qs.ui
|
|||||||
import qs.services
|
import qs.services
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
BarButton {
|
BarButton {
|
||||||
hoverHighlight: false
|
hoverHighlight: false
|
||||||
pointerCursor: false
|
pointerCursor: false
|
||||||
label: Audio.inputName
|
label: Audio.inputName
|
||||||
iconSource: Audio.inputIcon
|
iconSource: Audio.inputIcon
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BarButton {
|
||||||
BarButton {
|
|
||||||
hoverHighlight: false
|
hoverHighlight: false
|
||||||
pointerCursor: false
|
pointerCursor: false
|
||||||
label: Audio.outputName
|
label: Audio.outputName
|
||||||
iconSource: Audio.outputIcon
|
iconSource: Audio.outputIcon
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -114,4 +114,3 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user