From 5692dd3f010837ce3acbdf5d2d1c462b25e42006 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 11 Jan 2017 12:50:27 -0800 Subject: [PATCH] [Linux] Allow setting of profile for hangouts --- dotfiles/lib/bin/start_hangouts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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