[Linux] Allow setting of profile for hangouts

This commit is contained in:
Ivan Malison 2017-01-11 12:50:27 -08:00
parent 58d2604bda
commit 5692dd3f01
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,3 +1,9 @@
#!/usr/bin/env sh
google-chrome-stable --profile-directory=Default --app-id=knipolnnllmklapflnccelgolnpehhpl
HANGOUTS_PROFILE="Default"
[ -e $HOME/.hangouts_profile ] && HANGOUTS_PROFILE="$(cat $HOME/.hangouts_profile)"
google-chrome-stable \
--profile-directory="$HANGOUTS_PROFILE" \
--app-id=knipolnnllmklapflnccelgolnpehhpl