diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-05-10 14:25:55 -0700 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-05-10 14:25:55 -0700 | 
| commit | 6692c47255d3dfbdbe668f6ddcb8e5d7b6aa254c (patch) | |
| tree | f827660d3d3a1320fb7efc9e6e1dde4977bdb555 | |
| parent | 14178bdc7b89676dca4ce7a5ce533bd15de120d6 (diff) | |
upd consider studio dyafk firefox profile arkenfox userjs update
| -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 () { | 
