diff --git a/dotfiles/lib/bin/start_hangouts.sh b/dotfiles/lib/bin/start_hangouts.sh index 99e54684..d8d3cbde 100755 --- a/dotfiles/lib/bin/start_hangouts.sh +++ b/dotfiles/lib/bin/start_hangouts.sh @@ -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