This commit is contained in:
Ward Nakchbandi 2022-09-24 12:00:07 +03:00
parent 9b8e8416ac
commit 7c14f6ba0b
3 changed files with 19 additions and 3 deletions

View File

@ -5,10 +5,11 @@
gnome-extensions reset dash-to-dock@micxgx.gmail.com gnome-extensions reset dash-to-dock@micxgx.gmail.com
gnome-extensions reset Move_Clock@rmy.pobox.com gnome-extensions reset Move_Clock@rmy.pobox.com
gnome-extensions reset just-perfection-desktop@just-perfection
dconf reset -f /org/gnome/shell/extensions/dash-to-dock/ dconf reset -f /org/gnome/shell/extensions/dash-to-dock/
dconf reset -f /org/gnome/shell/extensions/Move_Clock/ dconf reset -f /org/gnome/shell/extensions/Move_Clock/
dconf reset -f /org/gnome/shell/extensions/just-perfection/
# Get needed extensions into userland # Get needed extensions into userland
@ -36,6 +37,18 @@ else
export RELOG_NEEDED=1 export RELOG_NEEDED=1
fi fi
# Just Perfection
if [ -d "$HOME/.local/share/gnome-shell/extensions/just-perfection-desktop@just-perfection" ]; then
echo "just perfection already in userland no need to download anything"
else
mkdir -p "$HOME/.cache/nobara-layouts/extensions/"
cd "$HOME/.cache/nobara-layouts/extensions/"
ls just-perfection-desktopjust-perfection.v22.shell-extension.zip || wget https://extensions.gnome.org/extension-data/just-perfection-desktopjust-perfection.v22.shell-extension.zip
gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/just-perfection-desktopjust-perfection.v22.shell-extension.zip"
export RELOG_NEEDED=1
fi
if [[ "$RELOG_NEEDED" == 1 ]]; then if [[ "$RELOG_NEEDED" == 1 ]]; then
if zenity --question --text="New extensions have been installed!, reload required!" if zenity --question --text="New extensions have been installed!, reload required!"
then then
@ -45,4 +58,7 @@ fi
# Enable Dash # Enable Dash
gnome-extensions enable dash-to-dock@micxgx.gmail.com gnome-extensions enable dash-to-dock@micxgx.gmail.com
# Enable just perfection
gnome-extensions enable just-perfection-desktop@just-perfection
# Enable Move Clock
gnome-extensions enable Move_Clock@rmy.pobox.com gnome-extensions enable Move_Clock@rmy.pobox.com

View File

@ -68,7 +68,7 @@ gsettings set org.gnome.shell.extensions.dash-to-panel panel-element-positions '
# Enable taskbar # Enable taskbar
gnome-extensions enable dash-to-panel@jderose9.github.com gnome-extensions enable dash-to-panel@jderose9.github.com
# Enable appmenu # Enable arcmenu
gnome-extensions enable arcmenu@arcmenu.com gnome-extensions enable arcmenu@arcmenu.com
# Enable just perfection # Enable just perfection
gnome-extensions enable just-perfection-desktop@just-perfection gnome-extensions enable just-perfection-desktop@just-perfection

View File

@ -73,7 +73,7 @@ gsettings set org.gnome.shell.extensions.dash-to-panel panel-element-positions '
# Enable taskbar # Enable taskbar
gnome-extensions enable dash-to-panel@jderose9.github.com gnome-extensions enable dash-to-panel@jderose9.github.com
# Enable appmenu # Enable arcmenu
gnome-extensions enable arcmenu@arcmenu.com gnome-extensions enable arcmenu@arcmenu.com
# Enable just perfection # Enable just perfection
gnome-extensions enable just-perfection-desktop@just-perfection gnome-extensions enable just-perfection-desktop@just-perfection