mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
clipboard history: checkmark for selected entry
This commit is contained in:
parent
0ff0efe39c
commit
72fa76fde6
1 changed files with 17 additions and 0 deletions
|
|
@ -163,6 +163,23 @@ RippleButton {
|
|||
url: modelData
|
||||
}
|
||||
}
|
||||
Loader {
|
||||
visible: itemName == Quickshell.clipboardText
|
||||
active: itemName == Quickshell.clipboardText
|
||||
sourceComponent: Rectangle {
|
||||
implicitWidth: activeText.implicitHeight
|
||||
implicitHeight: activeText.implicitHeight
|
||||
radius: Appearance.rounding.full
|
||||
color: Appearance.m3colors.m3primary
|
||||
MaterialSymbol {
|
||||
id: activeText
|
||||
anchors.centerIn: parent
|
||||
text: "check"
|
||||
font.pixelSize: Appearance.font.pixelSize.normal
|
||||
color: Appearance.m3colors.m3onPrimary
|
||||
}
|
||||
}
|
||||
}
|
||||
StyledText {
|
||||
Layout.fillWidth: true
|
||||
id: nameText
|
||||
|
|
|
|||
Loading…
Reference in a new issue