workspace view rework
This commit is contained in:
@@ -4,11 +4,13 @@ import Quickshell.Io
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Hyprland
|
||||
|
||||
import "widgets" as Widgets
|
||||
import "widgets/player" as Player
|
||||
import "widgets/common" as Common
|
||||
import "widgets/clock" as Clock
|
||||
import "widgets/workspace" as Workspace
|
||||
|
||||
// Tako kindly threatened you to sort the naming schema and to put all the svg's in an asset folder, so please do that
|
||||
|
||||
@@ -37,26 +39,26 @@ import "widgets/clock" as Clock
|
||||
RowLayout { // Left
|
||||
Layout.alignment: Qt.AlignLeft
|
||||
Clock.Date {}
|
||||
Clock.Clock {}
|
||||
Workspace.WorkspaceWidget {}
|
||||
}
|
||||
RowLayout { // Center
|
||||
// TODO: add icons of the active window per workspace in the workspace tab
|
||||
anchors.centerIn: parent
|
||||
Widgets.Workspaces {}
|
||||
}
|
||||
RowLayout { // Right
|
||||
Layout.alignment: Qt.AlignRight
|
||||
Common.VerticalSeprator {}
|
||||
Loader {
|
||||
sourceComponent: Widgets.Audio {}
|
||||
}
|
||||
RowLayout {
|
||||
Text {
|
||||
text: HyprlandWindowTracker.HyprlandWindowTracker.aaaa
|
||||
}
|
||||
visible: Player.activePlayer.isPlaying()
|
||||
Common.VerticalSeprator {}
|
||||
Player.PlayerWidgetV2 {
|
||||
}
|
||||
}
|
||||
Common.VerticalSeprator {}
|
||||
Clock.Clock {}
|
||||
Widgets.SystemTray {
|
||||
id: systemTray
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user