check for weasel-pageant before evaling it

pull/1/head
Andrew Coleman 2019-07-09 16:48:54 -04:00
parent efaae1318f
commit e3f704258b
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
#!/bin/bash
eval $(~/winhome/Downloads/weasel-pageant-1.3/weasel-pageant -r)
WEASEL_HOME=~/winhome/Downloads/weasel-pageant-1.3
test -f $WEASEL_HOME/weasel-pageant && eval $($WEASEL_HOME/weasel-pageant -rb -a $HOME/.weasel-pageant.sock) || true