From 46603e3753b292122e78cd804aefa0c0c6eedadf Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Fri, 3 May 2024 16:02:00 -0500 Subject: [PATCH] / firefox wip --- scripts/99_deploy.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 84f28ec..e641d82 100644 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -95,7 +95,7 @@ firefox_profile_dir() { if [ -z "$dir" ] then - echo "firefox profile directory not found" + echo "error: firefox profile directory not found" else ffprofiledir=${ffdir}${dir} echo "${ffprofiledir}" @@ -134,17 +134,17 @@ if [ ${operation} == "dots" ] ; then deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}" ffpd=$(firefox_profile_dir) + if [[ ${ffpd} == error ]] ; then + echo ${ffpd} + else + file_name=user.json + file_path=${ffpd} + deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}" - echo "----" - echo ${ffpd} - - #file_name=user.json - #file_path=/home/${user}/.mozilla/firefox/... - #deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}" - #file_name=userChrome.css - #file_path=/home/${user}/.mozilla/firefox/.../chrome - #deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}" - + file_name=userChrome.css + file_path=${ffpd}/chrome + deploy_file "${dots_trg}/firefox/${file_name}" "${file_path}/${file_name}" + fi # hypridle file_name=hypridle.conf