diff --git a/scripts/install.sh b/scripts/install.sh index 5de4499..4ad0fdc 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -5,13 +5,6 @@ FIREFOXFOLDER=~/.mozilla/firefox PROFILENAME="" THEME=DEFAULT -# Determine firefox profile being currently used programatically -# credits: https://stackoverflow.com/questions/57526217/ -function current_profile() { - pgrep firefox | xargs -I{} lsof -p {} 2>/dev/null | grep .parentlock | - awk '{for(i=9;i<=NF;++i)printf $i""FS ; print ""}' | cut -d'/' -f6 -} - # Get options. while getopts 'f:p:g:t:h' flag; do