Forked from omarchy.tailscale at the packaged commit (omarchy-dev 4.0.0.r1744.gf002044). The `tailscale` branch holds the pristine upstream subtree history so upstream changes can still be merged in; `master` is this fork. - Rename the plugin to pastilhas.offscale: manifest id/name, moduleName and ipcTarget, and display strings. Deliberately NOT renamed: the lowercase "tailscale" CLI invocations, the TailscaleIPs/TailscaleIPv6 JSON fields from `tailscale status --json`, and authorizeTailscaleOperator. Renaming those loads fine but silently breaks peer parsing. - TailscaleIcon.qml -> OffscaleIcon.qml, now rendering offscale-logo.png instead of the 3x3 dot grid, keeping the crossed/warning states. - Add OffscaleHero.qml: a copy of qs.Ui.PanelHero with a titleComponent slot, so the wordmark (offscale-text.png) can replace the title text. Otherwise byte-identical to the original, so it stays diffable. - Drop the cycling hero phrases entirely - the array, the 2.8s timer and the metaOpacity fade. - Show the local machine as a PeerRow of its own, so it gets the same layout and copy menu as tailnet peers. Adds `navigable` to PeerRow so that row stays out of the peers keyboard cursor. - Enlarge the bar icon: BarIconButton pins its icon to opticalCanvas, so opticalSize/slotSize are overridden alongside iconSize. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
40 lines
946 B
JSON
40 lines
946 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "pastilhas.offscale",
|
|
"name": "Offscale",
|
|
"version": "1.0.0",
|
|
"author": "pastilhas",
|
|
"license": "MIT",
|
|
"description": "Offscale status, connection switching, machine browsing, and quick copy actions in the Omarchy bar.",
|
|
"kinds": [
|
|
"bar-widget"
|
|
],
|
|
"entryPoints": {
|
|
"barWidget": "Panel.qml"
|
|
},
|
|
"barWidget": {
|
|
"displayName": "Offscale",
|
|
"description": "Toggle Offscale, switch connections, browse machines, and copy machine IPs or names.",
|
|
"category": "Network",
|
|
"allowMultiple": false,
|
|
"defaultSection": "right",
|
|
"defaults": {
|
|
"refreshIntervalSec": 30
|
|
},
|
|
"schema": [
|
|
{
|
|
"key": "refreshIntervalSec",
|
|
"type": "integer",
|
|
"label": "Refresh interval (seconds)",
|
|
"min": 5,
|
|
"max": 3600,
|
|
"step": 5,
|
|
"defaultValue": 30
|
|
}
|
|
]
|
|
},
|
|
"omarchy": {
|
|
"clonedFrom": "omarchy.tailscale"
|
|
}
|
|
}
|