// The bar entry for clipboard history. The icon is intentionally familiar and
// quiet: the history itself is a utility, not another permanent status readout.

import QtQuick
import qs.config
import qs.services
import qs.widgets

Pill {
    id: root

    implicitWidth: 30
    implicitHeight: 28

    onActivated: ShellState.toggle("clipboard")

    ThemedIcon {
        anchors.verticalCenter: parent.verticalCenter
        size: 16
        icon: "edit-paste-symbolic"
        iconFallback: "edit-copy-symbolic"
        tint: ShellState.clipboardOpen ? Theme.accent : Theme.fg
    }
}
