summaryrefslogtreecommitdiff
path: root/sh/upd
diff options
context:
space:
mode:
Diffstat (limited to 'sh/upd')
-rwxr-xr-xsh/upd10
1 files changed, 7 insertions, 3 deletions
diff --git a/sh/upd b/sh/upd
index e2a4ee0..693f323 100755
--- a/sh/upd
+++ b/sh/upd
@@ -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 () {