nix/nixos/desktop/quickshell/ui/TailMark.qml
Markus Zoppelt 288f844ccf feat: network, tailscale, syncthing, and richer sysinfo
fix: open Tailscale and Syncthing panels on any click
2026-08-22 17:00:50 +02:00

28 lines
632 B
QML

import QtQuick
import ".."
Item {
id: root
property var stroke
width: 15
height: 15
implicitWidth: 15
implicitHeight: 15
readonly property real d: 3.6
readonly property real g: (15 - d) / 2
Repeater {
model: 9
Rectangle {
required property int index
width: root.d
height: root.d
radius: width / 2
x: (index % 3) * root.g
y: Math.floor(index / 3) * root.g
color: root.stroke || Theme.fg
opacity: index === 3 || index === 4 || index === 5 || index === 7 ? 1 : 0.28
}
}
}