Add Solus OS support

This commit is contained in:
Muhammad Rivan 2021-06-25 15:16:50 +07:00
parent 0fd58cd15c
commit f8467a05d9
No known key found for this signature in database
GPG key ID: E72DFBD12B671F58
2 changed files with 10 additions and 4 deletions

View file

@ -148,9 +148,15 @@ else
if (is_my_distro "arch" || is_my_distro "void") && has_command xfce4-session; then
msg="XFCE: you may need to logout after changing your theme to fix your panel opacity."
notif_msg="${msg}\n\n${final_msg}"
elif (is_my_distro "solus") && has_command gnome-shell; then
msg="GNOME: you may need to disable 'User Themes' extension to fix your dock."
elif (is_my_distro "debian") && [[ "${GNOME_VERSION}" == "old" ]]; then
msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog."
fi
if [[ "${msg}" ]]; then
echo; prompt -w "${msg}"
notif_msg="${msg}\n\n${final_msg}"
else
notif_msg="${final_msg}"
fi

View file

@ -178,7 +178,7 @@ install_theme_deps() {
prepare_xbps && sudo xbps-install -Sy sassc glib-devel
elif has_command eopkg; then
# Rolling release
sudo eopkg upgrade; sudo eopkg install sassc glib2 libxml2
sudo eopkg -y upgrade; sudo eopkg -y install sassc glib2 libxml2
else
installation_sorry
fi
@ -209,7 +209,7 @@ install_beggy_deps() {
prepare_xbps && sudo xbps-install -Sy ImageMagick
elif has_command eopkg; then
# Rolling release
sudo eopkg upgrade; sudo eopkg install imagemagick
sudo eopkg -y upgrade; sudo eopkg -y install imagemagick
else
installation_sorry
fi
@ -242,7 +242,7 @@ install_dialog_deps() {
prepare_xbps && sudo xbps-install -Sy dialog
elif has_command eopkg; then
# Rolling release
sudo eopkg upgrade; sudo eopkg install dialog
sudo eopkg -y upgrade; sudo eopkg -y install dialog
else
installation_sorry
fi