2026-08-09 01:22:23 -07:00
|
|
|
#!/bin/sh
|
2026-08-09 02:29:36 -07:00
|
|
|
# Run the real gesture daemon in the foreground so you can watch the display
|
|
|
|
|
# while you swipe. Ctrl-C to stop.
|
2026-08-09 01:22:23 -07:00
|
|
|
#
|
|
|
|
|
# Expect: swipe right-to-left -> zooms in one host at a time
|
|
|
|
|
# swipe left-to-right -> walks back out to the overview
|
|
|
|
|
# "Execute ..." in the output means a gesture matched and fired.
|
|
|
|
|
#
|
2026-08-09 02:29:36 -07:00
|
|
|
# Pass --replace to take over from an already-running daemon; without it,
|
|
|
|
|
# socktop-gestures refuses to start a second instance (which would make every
|
|
|
|
|
# swipe fire twice).
|
2026-08-09 01:22:23 -07:00
|
|
|
set -eu
|
2026-08-09 02:29:36 -07:00
|
|
|
exec "$(dirname "$0")/../socktop-gestures" -v "$@"
|