[taffybar] Use stack run instead of your own thing

This commit is contained in:
Ivan Malison 2018-05-15 15:33:10 -07:00
parent c165225803
commit d626da4796
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2,12 +2,4 @@
# -*- 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
stack run