Files
dotfiles/dotfiles/lib/bin/taffybar

14 lines
282 B
Bash
Executable File

#!/usr/bin/env zsh
# -*- mode:sh
cd "$HOME/.config/taffybar"
stack install
if command_exists "imalison-taffybar"; then
imalison-taffybar "$@"
else
# Move .lib/bin to the end of PATH so that this script is not called again
add_to_path "$HOME/.lib/bin" --after
taffybar "$@"
fi