quickshell clipboard

This commit is contained in:
end-4
2025-05-26 20:02:43 +02:00
parent 24b369882a
commit 262f278bb4
7 changed files with 153 additions and 27 deletions
@@ -67,7 +67,7 @@ RippleButton {
RowLayout {
id: rowLayout
spacing: 10
spacing: iconLoader.sourceComponent === null ? 0 : 10
anchors.fill: parent
anchors.leftMargin: root.horizontalMargin + root.buttonHorizontalPadding
anchors.rightMargin: root.horizontalMargin + root.buttonHorizontalPadding
@@ -76,7 +76,9 @@ RippleButton {
Loader {
id: iconLoader
active: true
sourceComponent: root.materialSymbol == "" ? iconImageComponent : materialSymbolComponent
sourceComponent: root.materialSymbol !== "" ? materialSymbolComponent :
root.itemIcon !== "" ? iconImageComponent :
null
}
Component {
@@ -111,6 +113,7 @@ RippleButton {
StyledText {
Layout.fillWidth: true
id: nameText
textFormat: Text.PlainText // TODO: make cliphist entry highlighting working
font.pixelSize: Appearance.font.pixelSize.normal
font.family: Appearance.font.family[root.fontType]
color: Appearance.m3colors.m3onSurface