add quickshell bar
This commit is contained in:
20
roles/quickshell/files/bar/Workspaces.qml
Normal file
20
roles/quickshell/files/bar/Workspaces.qml
Normal file
@ -0,0 +1,20 @@
|
||||
import Quickshell.Hyprland
|
||||
import QtQuick
|
||||
|
||||
Row {
|
||||
id: root
|
||||
required property string screenName
|
||||
spacing: 4
|
||||
|
||||
Repeater {
|
||||
id: workspacesRepeater
|
||||
model: Hyprland.workspaces
|
||||
property string screenName: root.screenName
|
||||
|
||||
delegate: WorkspaceButton {
|
||||
required property var modelData
|
||||
workspace: modelData
|
||||
screenName: workspacesRepeater.screenName
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user