/ firefox wip

This commit is contained in:
tuxwarrior
2024-05-03 16:02:00 -05:00
parent 625767a5dc
commit 46603e3753

View File

@@ -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