forked from colonelpanic/dotfiles
[taffybar] Use stack run instead of your own thing
This commit is contained in:
parent
c165225803
commit
d626da4796
@ -2,12 +2,4 @@
|
|||||||
# -*- mode:sh
|
# -*- mode:sh
|
||||||
|
|
||||||
cd "$HOME/.config/taffybar"
|
cd "$HOME/.config/taffybar"
|
||||||
stack install
|
stack run
|
||||||
|
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user