This commit is contained in:
Vince 2021-06-25 12:17:37 +08:00
parent 3f3e4bba1b
commit b01351cf06
2 changed files with 4 additions and 3 deletions

View File

@ -129,7 +129,7 @@ msg=""
final_msg="Run '${0} --help' to explore more customization features!" final_msg="Run '${0} --help' to explore more customization features!"
notif_msg="" notif_msg=""
process_ids=() process_ids=()
# This is important for 'udu' because 'return "${result}"' is considered the # This is important for 'udo' because 'return "${result}"' is considered the
# last command in 'BASH_COMMAND' variable # last command in 'BASH_COMMAND' variable
WHITESUR_COMMAND="" WHITESUR_COMMAND=""
export ANIM_PID="0" export ANIM_PID="0"

View File

@ -643,7 +643,6 @@ remove_firefox_theme() {
rm -rf "${FIREFOX_THEME_DIR}" rm -rf "${FIREFOX_THEME_DIR}"
rm -rf "${FIREFOX_FLATPAK_DIR_HOME}/"*"default"*"/chrome" rm -rf "${FIREFOX_FLATPAK_DIR_HOME}/"*"default"*"/chrome"
rm -rf "${FIREFOX_FLATPAK_THEME_DIR}" rm -rf "${FIREFOX_FLATPAK_THEME_DIR}"
# Again, this too
rm -rf "${FIREFOX_SNAP_DIR_HOME}/"*"default"*"/chrome" rm -rf "${FIREFOX_SNAP_DIR_HOME}/"*"default"*"/chrome"
rm -rf "${FIREFOX_SNAP_THEME_DIR}" rm -rf "${FIREFOX_SNAP_THEME_DIR}"
} }
@ -673,6 +672,8 @@ revert_dash_to_dock_theme() {
elif [[ -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then elif [[ -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then
restore_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo" restore_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo"
fi fi
udo dbus-launch dconf write /org/gnome/shell/extensions/dash-to-dock/apply-custom-theme false
} }
############################################################################### ###############################################################################
@ -771,7 +772,7 @@ customize_theme() {
if [[ "${compact}" == 'false' ]]; then if [[ "${compact}" == 'false' ]]; then
prompt -s "Changing Definition mode to HD (Bigger font, Bigger size) ..." prompt -s "Changing Definition mode to HD (Bigger font, Bigger size) ..."
#FIXME: @vince is it not implemented yet? #FIXME: @vince is it not implemented yet? (Only Gnome-shell and Gtk theme finished!)
fi fi
} }