Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

quickshell/nuguland/IdentityRow.qml

Raw
import QtQuick

Row {
    id: root

    required property Theme theme
    property string glyph: ""
    property string value: ""

    width: parent ? parent.width : 0
    spacing: 9

    Text {
        width: 18
        text: root.glyph
        color: root.theme ? root.theme.ui.minor : "white"
        font.family: "Symbols Nerd Font Mono"
        font.pixelSize: 13
    }

    NuguText {
        theme: root.theme
        variant: "meta"
        text: root.value
        width: Math.max(1, parent.width - 27)
    }
}