aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/backup-firefox
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/backup-firefox')
-rwxr-xr-xscripts/backup-firefox1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/backup-firefox b/scripts/backup-firefox
index 9b80d5f..c15f813 100755
--- a/scripts/backup-firefox
+++ b/scripts/backup-firefox
@@ -4,6 +4,7 @@ profiles=( ) # List of profiles
timestamp="$(date +"%Y%m%d-%H%M%S")-"
user_name=$(whoami)
user="$user_name/"
+home="/home/"
firefox_pid=$(ps -C firefox u | grep $user_name | awk '{print $2}') # Current Firefox pid
psd=$(systemctl is-active psd) # psd activation