.config/sway/scripts/foot.sh
1 2 3 4 5 6 7 8 9 10
#!/bin/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"}" "$@" &