Files
dotfiles/.local/bin/station-launch-walker
2026-04-01 20:37:45 +01:00

16 lines
515 B
Bash
Executable File

#!/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
setsid uwsm-app -- elephant > /dev/null 2>&1 &
fi
# Ensure walker service is running
if ! pgrep -f "walker --gapplication-service" > /dev/null; then
setsid uwsm-app -- walker --gapplication-service > /dev/null 2>&1 &
fi
exec walker --width 644 --maxheight 300 --minheight 300 "$@"