wip qs
This commit is contained in:
parent
c7e8c1a9f5
commit
269a336f50
6 changed files with 194 additions and 0 deletions
30
homeConfigurations/muede/.config/quickshell/Pill.qml
Normal file
30
homeConfigurations/muede/.config/quickshell/Pill.qml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
import Quickshell
|
||||
import QtQuick.Layouts
|
||||
import QtQuick
|
||||
|
||||
Rectangle {
|
||||
default property alias content: container.data
|
||||
|
||||
property color pillAccentColor: Theme.colors.foreground
|
||||
property color backgroundColor: Theme.colors.background
|
||||
|
||||
palette {
|
||||
text: pillAccentColor
|
||||
windowText: pillAccentColor
|
||||
}
|
||||
|
||||
color: backgroundColor
|
||||
border.color: pillAccentColor
|
||||
|
||||
border.width: 2
|
||||
radius: 15
|
||||
|
||||
implicitHeight: container.implicitHeight
|
||||
implicitWidth: container.implicitWidth + 16
|
||||
|
||||
RowLayout {
|
||||
id: container
|
||||
anchors.centerIn: parent
|
||||
spacing: 8
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue