chezmoi/dot_config/sway/scripts/executable_foot.sh
Joachim Nielandt 1e29d375de Added foot
2023-05-18 08:03:51 +02:00

11 lines
239 B
Bash

#!/usr/bin/env sh
# wrapper script for foot
USER_CONFIG_PATH="${HOME}/.config/foot/foot.ini"
if [ -f "$USER_CONFIG_PATH" ]; then
USER_CONFIG=$USER_CONFIG_PATH
fi
foot -c "${USER_CONFIG:-"/usr/share/sway/templates/foot.ini"}" "$@" &