This commit is contained in:
Sakooooo 2025-01-08 11:17:54 +04:00
parent 7d14df79e9
commit 5cf07d7e54
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 41 additions and 10 deletions

View file

@ -1,5 +1,6 @@
import Quickshell.Hyprland
import QtQuick
import QtQuick.Layouts
import Quickshell
import Quickshell.Hyprland
Repeater {}

View file

@ -1,6 +1,8 @@
import Quickshell
import Quickshell.Io
import Quickshell.Hyprland
import QtQuick
import QtQuick.Layouts
ShellRoot {
@ -15,22 +17,50 @@ ShellRoot {
screen: modelData
anchors {
top: true
left: true
right: true
top: true;
left: true;
right: true;
}
height: 30
height: 30;
// left
RowLayout {
anchors.left: parent.left
anchors.top: parent.top
anchors.bottom: parent.bottom
spacing: 5
Workspaces {}
Text {
anchors.centerIn: parent
text: "Left side"
}
}
// Center
RowLayout {
anchors.centerIn: parent
Text {
// now just time instead of root.time
text: time
}
}
// right
RowLayout {
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
spacing: 5
Text {
text: "Right side"
}
}
}
}
Process {