diff options
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/upd | 10 | 
1 files changed, 7 insertions, 3 deletions
@@ -8,7 +8,7 @@ all () {  		qb  	fi  	[ "$hostname" = xyzinsp ] && music -	if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ]; then +	if [ "$hostname" = xyzinsp ] || [ "$hostname" = xyzpp ] || [ "$hostname" = xyzstudio ]; then  		userjs  	fi  } @@ -118,11 +118,15 @@ fast () {  userjs () {  	kill $(pidof "$BROWSER") +	case "$hostname" in +		xyzstudio) profile_dir="$HOME/.mozilla/firefox/dyafk";; +		*) profile_dir="$HOME/.mozilla/firefox/xxxxxxxx.fly";; +	esac  	# change working dir for cleaner -	cd "$HOME/.mozilla/firefox/xxxxxxxx.fly" || exit +	cd "$profile_dir" || exit  	arkenfox-cleaner -s  	# when multiple firefox profiles, it will prompt me to choose, which breaks automation, so I explicitly specify one profile -	arkenfox-updater -s -p "$HOME/.mozilla/firefox/xxxxxxxx.fly" +	arkenfox-updater -s -p "$profile_dir"  }  misc () {  | 
