diff --git a/dotfiles/lib/bin/taffybar b/dotfiles/lib/bin/taffybar index c3b3e0bd..3d838f78 100755 --- a/dotfiles/lib/bin/taffybar +++ b/dotfiles/lib/bin/taffybar @@ -2,4 +2,12 @@ # -*- mode:sh cd "$HOME/.config/taffybar" -stack run +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