From 7c14f6ba0b7799b2c9bc277d56d51025b5b24970 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Sat, 24 Sep 2022 12:00:07 +0300 Subject: [PATCH] commit --- .../nobara-layouts/layout-scripts/macos.sh | 18 +++++++++++++++++- .../nobara-layouts/layout-scripts/win10.sh | 2 +- .../nobara-layouts/layout-scripts/win11.sh | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh index a5232d9..4d8d0db 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh @@ -5,10 +5,11 @@ gnome-extensions reset dash-to-dock@micxgx.gmail.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/Move_Clock/ +dconf reset -f /org/gnome/shell/extensions/just-perfection/ # Get needed extensions into userland @@ -36,6 +37,18 @@ else export RELOG_NEEDED=1 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 zenity --question --text="New extensions have been installed!, reload required!" then @@ -45,4 +58,7 @@ fi # Enable Dash 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 diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh index 183e690..53e5ea6 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh @@ -68,7 +68,7 @@ gsettings set org.gnome.shell.extensions.dash-to-panel panel-element-positions ' # Enable taskbar gnome-extensions enable dash-to-panel@jderose9.github.com -# Enable appmenu +# Enable arcmenu gnome-extensions enable arcmenu@arcmenu.com # Enable just perfection gnome-extensions enable just-perfection-desktop@just-perfection diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh index 7303b7d..2f80123 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh @@ -73,7 +73,7 @@ gsettings set org.gnome.shell.extensions.dash-to-panel panel-element-positions ' # Enable taskbar gnome-extensions enable dash-to-panel@jderose9.github.com -# Enable appmenu +# Enable arcmenu gnome-extensions enable arcmenu@arcmenu.com # Enable just perfection gnome-extensions enable just-perfection-desktop@just-perfection