mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-05-25 21:18:35 +00:00
@@ -780,14 +780,13 @@ remove_firefox_theme() {
|
||||
# DASH TO DOCK #
|
||||
###############################################################################
|
||||
|
||||
install_dash_to_dock() {
|
||||
fix_dash_to_dock() {
|
||||
if [[ -d "${DASH_TO_DOCK_DIR_HOME}" ]]; then
|
||||
backup_file "${DASH_TO_DOCK_DIR_HOME}" "udo"
|
||||
rm -rf "${DASH_TO_DOCK_DIR_HOME}"
|
||||
backup_file "${DASH_TO_DOCK_DIR_HOME}/stylesheet.css" "udo"
|
||||
elif [[ -d "${DASH_TO_DOCK_DIR_ROOT}" ]]; then
|
||||
backup_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo"
|
||||
fi
|
||||
|
||||
udo cp -rf "${DASH_TO_DOCK_SRC_DIR}/dash-to-dock@micxgx.gmail.com" "${GNOME_SHELL_EXTENSION_DIR}"
|
||||
|
||||
if has_command dbus-launch; then
|
||||
udo dbus-launch dconf write /org/gnome/shell/extensions/dash-to-dock/apply-custom-theme true
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user