update
This commit is contained in:
parent
1af3e78926
commit
3921f293a2
2 changed files with 11 additions and 4 deletions
|
@ -200,7 +200,7 @@ else
|
|||
|
||||
echo; prompt -w "${final_msg}"
|
||||
|
||||
if [[ -x /usr/bin/notify-send && "$UID" != '0' ]]; then
|
||||
if has_command notify-send && [[ "$UID" != '0' ]]; then
|
||||
notify-send "'${name}' theme has been installed. Enjoy!" "${notif_msg}" -i "dialog-information-symbolic"
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -753,7 +753,10 @@ install_dash_to_dock() {
|
|||
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
|
||||
}
|
||||
|
||||
install_dash_to_dock_theme() {
|
||||
|
@ -776,7 +779,9 @@ install_dash_to_dock_theme() {
|
|||
fi
|
||||
fi
|
||||
|
||||
if has_command dbus-launch; then
|
||||
udo dbus-launch dconf write /org/gnome/shell/extensions/dash-to-dock/apply-custom-theme true
|
||||
fi
|
||||
}
|
||||
|
||||
revert_dash_to_dock_theme() {
|
||||
|
@ -786,7 +791,9 @@ revert_dash_to_dock_theme() {
|
|||
restore_file "${DASH_TO_DOCK_DIR_ROOT}/stylesheet.css" "sudo"
|
||||
fi
|
||||
|
||||
if has_command dbus-launch; then
|
||||
udo dbus-launch dconf write /org/gnome/shell/extensions/dash-to-dock/apply-custom-theme false
|
||||
fi
|
||||
}
|
||||
|
||||
###############################################################################
|
||||
|
|
Loading…
Reference in a new issue