pastilhasandClaude Opus 5 bbdf6cfa61 Make the tailnet label open the panel
The label was a plain Text with its own MouseArea, which is not registered
in bar.clickTargets. While a panel is open, KeyboardPanel puts a
full-screen overlay above everything and forwards clicks landing in the
bar strip only to registered targets — so a left click opened the panel
and then had the same click treated as "outside", dismissing it. It
looked like nothing happened. Right click was unaffected because
toggleOffscale() never involves the panel.

Use a WidgetButton instead: it registers itself via syncClickRegistration()
and renders the label text natively, so both the Text and the MouseArea
go away. Left toggles the panel, right toggles Offscale, middle refreshes
— the same three buttons as the icon, so the widget reads as one target.

`dimmed` handles the inactive state rather than darkening the colour,
since Qt.darker on yellow shifts the hue to olive.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-15 22:43:41 +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%