add quickshell
This commit is contained in:
parent
3d48e35de5
commit
10960f620d
32 changed files with 1415 additions and 11 deletions
20
quickshell/BarPill.qml
Normal file
20
quickshell/BarPill.qml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
Rectangle {
|
||||
default property alias content: inner.data
|
||||
|
||||
property int minWidth: 0
|
||||
|
||||
color: Theme.bg1
|
||||
radius: Theme.radius
|
||||
height: Theme.barHeight - 8
|
||||
width: Math.max(inner.implicitWidth + Theme.spacing * 2, minWidth)
|
||||
clip: true
|
||||
|
||||
RowLayout {
|
||||
id: inner
|
||||
anchors.centerIn: parent
|
||||
spacing: 5
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue