Commit graph

8 commits

Author SHA1 Message Date
7356dce619 Ignore local work log
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:26:54 +01:00
98dea3dca6 Add MIT license and public README
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:15:10 +01:00
b420072cba Preserve current route priority on reinstall
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:12:44 +01:00
b9c78d982b Harden against set -e/pipefail crashes and sed marker edge cases
Fixes from a two-agent bug review, all verified:
- active_uplink/tether_ip never fail (bare assignments were killing the
  TUI when offline or on mid-check unplug; netns-tested)
- all TUI menu actions guarded with || true; risky steps inside
  cmd_install/tui_switch/revive_usbmuxd individually guarded since
  || true disables errexit inside the callee
- pause on tui_connect error paths so warnings survive the redraw
- tui_switch: require non-empty uplink before claiming success
- strip_windowrules refuses to range-delete without the end marker;
  newline guard before append (both fixture-tested)
- probes drain output instead of grep -q (pipefail SIGPIPE)
- removed dead pair_wait; quoted .desktop Exec path; priority rejects
  unknown args; unpair reports failure; help no longer prints set line

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:10:56 +01:00
c48020f02d Center TUI copy, shrink window to 520x400 via own app-id windowrule
.desktop now uses --app-id=omatether; install writes a marker-delimited
float/center/size rule block into ~/.config/hypr/windows.conf (backed up
once, removed on uninstall). Dropped udevadm trigger from install — it
wedges an already-connected iPhone (device unconfigured); targeted
usbmuxd restart instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 19:44:30 +01:00
52c21e2467 Add gum TUI (default mode) + Walker floating launcher
Context-aware menu: Connect phone (USB wait + Trust walkthrough),
Switch internet → iPhone / back, live status header. install now
writes a TUI.float .desktop entry and restarts elephant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 19:35:43 +01:00
b0374f87e7 Fix SIGPIPE under pipefail in status (awk-exit and head -1 pipelines)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 19:27:21 +01:00
4d30b9d55a omatether v0.1.0 — iPhone USB tethering for Omarchy/Arch
usbmuxd pairing + ipheth + systemd-networkd profile (Driver=ipheth match,
fallback metric 750, RequiredForOnline=no). Commands: install/pair/unpair/
status/priority/uninstall.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 19:26:31 +01:00