diff options
Diffstat (limited to 'sh')
-rwxr-xr-x | sh/upd | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -126,16 +126,20 @@ fast () { } userjs () { - kill $(pidof "$BROWSER") case "$hostname" in - xyzstudio) profile_dir="$HOME/.mozilla/firefox/dyafk";; + xyzstudio) + profile_dir="$HOME/.mozilla/firefox/dyafk" + sudo systemctl stop dyafk@xyz + ;; *) profile_dir="$HOME/.mozilla/firefox/xxxxxxxx.fly";; esac + kill $(pidof "$BROWSER") # change working dir for cleaner 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 "$profile_dir" + [ "$hostname" = xyzstudio ] && sudo systemctl start dyafk@xyz } misc () { |