pastilhasandClaude Opus 5 91cf1130e0 Show the current tailnet next to the bar icon
Adds a label to the left of the mark naming the tailnet the selected
profile belongs to: the second-from-last label of the domain, so
offscale.pastilhas.dev reads "pastilhas" and headscale.pertento.ai reads
"pertento". Taking the second-level domain rather than a fixed index keeps
the distinctive part if a tailnet ever has four labels.

Read from the accounts list the service already polls, so no extra
process runs for it.

BarIconButton is icon-only by design (labelVisible: false, fixedWidth:
slotSize, and its `text` feeds a glyph rather than a label), so the label
could not live inside it — the bar widget is now a Row of label + button,
and its footprint comes from the row.

Coloured with the brand yellow, dimmed by opacity rather than by
darkening when Tailscale is off: Qt.darker on yellow shifts the hue to
olive instead of quietening it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 22:25:11 +01:00
2026-08-15 22:17:41 +01:00

Offscale Omarchy Widget

Native Omarchy bar widget for Offscale.

Features

  • Shows Offscale connection state in the bar
  • Left click opens a keyboard-friendly panel
  • Right click toggles Offscale on/off
  • Switch between available Offscale connections when multiple are available
  • Browse machines from tailscale status --json
  • Copy a machine's Offscale IP, host name, or DNS name
  • Send files to a machine with Taildrop, when the tailnet allows file sharing

Keyboard shortcuts

Inside the panel:

  • j / k or arrows: move cursor
  • enter / space: activate current row
  • c: copy selected peer IP
  • n: copy selected peer name
  • d: copy selected peer DNS name
  • s: send files to selected peer
  • t: toggle Offscale
  • r: refresh status
  • esc: close

Requirements

  • tailscale CLI on PATH
  • wl-copy for clipboard copy actions
  • Taildrop enabled for the tailnet, to send files

Receiving files

Incoming Taildrop files are saved to ~/Downloads by the omarchy-tailscale-receive service, which announces each one with a notification (an image preview when the file is an image, and a click to open it). The Offscale service install enables it; omarchy tailscale receive runs the same loop by hand.

Icon

Renders the Offscale mark natively as a theme-colored 3×3 dot grid, matching the official SVG silhouette while avoiding tiny-SVG rendering quirks in the bar.

Add to the bar

This widget ships as first-party plugin omarchy.tailscale. Add it with omarchy plugin enable omarchy.tailscale, then place it with omarchy bar move omarchy.tailscale if desired.

S
Description
Offscale — a rebranded fork of the Omarchy Quickshell Tailscale bar widget
Readme
653 KiB
Languages
QML 87.8%
JavaScript 12.2%