bbdf6cfa61a8aa47888de0ec3ca95f58e60a6633
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>
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/kor arrows: move cursorenter/space: activate current rowc: copy selected peer IPn: copy selected peer named: copy selected peer DNS names: send files to selected peert: toggle Offscaler: refresh statusesc: close
Requirements
tailscaleCLI onPATHwl-copyfor 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.
Description
Offscale — a rebranded fork of the Omarchy Quickshell Tailscale bar widget
653 KiB
Languages
QML
87.8%
JavaScript
12.2%