Files
dotfiles/.local/bin/station-launch-walker

16 lines
515 B
Plaintext
Raw Normal View History

2026-03-06 21:09:52 +00:00
#!/bin/bash
# Launch the Walker application launcher while ensuring that it's data provider (called elephant) is running first.
# Ensure elephant is running before launching walker
if ! pgrep -x elephant > /dev/null; then
2026-04-01 20:37:45 +01:00
setsid uwsm-app -- elephant > /dev/null 2>&1 &
2026-03-06 21:09:52 +00:00
fi
# Ensure walker service is running
if ! pgrep -f "walker --gapplication-service" > /dev/null; then
2026-04-01 20:37:45 +01:00
setsid uwsm-app -- walker --gapplication-service > /dev/null 2>&1 &
2026-03-06 21:09:52 +00:00
fi
exec walker --width 644 --maxheight 300 --minheight 300 "$@"