quickshell media player enchantments

This commit is contained in:
2025-07-28 02:41:01 +01:00
parent 22df7e7181
commit 097fee8d1c
10 changed files with 192 additions and 91 deletions

View File

@@ -8,6 +8,7 @@ import Quickshell.Widgets
import "widgets" as Widgets
import "widgets/player" as Player
import "widgets/common" as Common
import "widgets/clock" as Clock
// Tako kindly threatened you to sort the naming schema and to put all the svg's in an asset folder, so please do that
@@ -22,15 +23,20 @@ import "widgets/common" as Common
right: true
}
implicitHeight: 30
implicitHeight: 32
RowLayout {
height: 28
anchors {
fill: parent
top: parent.top
left: parent.left
right: parent.right
// bottomMargin: 2
leftMargin: 10
rightMargin: 10
}
RowLayout { // Left
Layout.alignment: Qt.AlignLeft
Clock.Date {}
}
RowLayout { // Center
// TODO: add icons of the active window per workspace in the workspace tab
@@ -50,13 +56,7 @@ import "widgets/common" as Common
}
}
Common.VerticalSeprator {}
WrapperItem {
Text { // Date & Time
text: Widgets.Time.time
color: '#FFFFFF'
font.pointSize: 10.75
}
}
Clock.Clock {}
Widgets.SystemTray {
id: systemTray
}
@@ -68,7 +68,7 @@ import "widgets/common" as Common
left: parent.left
right: parent.right
}
height: 2
height: 1
color: "#8d8d8d"
}
}