diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/gnome2.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/gnome2.sh index 232d73a..6d1013e 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/gnome2.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/gnome2.sh @@ -18,109 +18,6 @@ dconf reset -f /org/gnome/shell/extensions/places-menu/ || dconf reset -f /org/gnome/shell/extensions/window-list/ || dconf reset -f /org/gnome/shell/extensions/arcmenu/ || -# Get needed extensions into userland - -# Arcmenu - -if [ -d "$HOME/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com" ]; then - echo "arcmenu already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls arcmenuarcmenu.com.v39.shell-extension.zip || wget https://extensions.gnome.org/extension-data/arcmenuarcmenu.com.v39.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/arcmenuarcmenu.com.v39.shell-extension.zip" - export RELOG_NEEDED=1 -fi - -# Frippery Move Clock - -if [ -d "$HOME/.local/share/gnome-shell/extensions/Move_Clock@rmy.pobox.com" ]; then - echo "Frippery Move Clock already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./Move_Clockrmy.pobox.com.v27.shell-extension.zip || wget https://extensions.gnome.org/extension-data/Move_Clockrmy.pobox.com.v27.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/Move_Clockrmy.pobox.com.v27.shell-extension.zip" - 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 - gnome-session-quit --force --no-prompt - fi -fi - -# window list - -if [ -d "$HOME/.local/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com" ]; then - echo "window list already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls window-listgnome-shell-extensions.gcampax.github.com.v43.shell-extension.zip || wget https://extensions.gnome.org/extension-data/window-listgnome-shell-extensions.gcampax.github.com.v43.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/window-listgnome-shell-extensions.gcampax.github.com.v43.shell-extension.zip" - export RELOG_NEEDED=1 -fi - -# Launch new instance - -if [ -d "$HOME/.local/share/gnome-shell/extensions/launch-new-instance@gnome-shell-extensions.gcampax.github.com" ]; then - echo "launch new instance already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls launch-new-instancegnome-shell-extensions.gcampax.github.com.v34.shell-extension.zip || wget https://extensions.gnome.org/extension-data/launch-new-instancegnome-shell-extensions.gcampax.github.com.v34.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/launch-new-instancegnome-shell-extensions.gcampax.github.com.v34.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 - gnome-session-quit --force --no-prompt - fi -fi - -# places menu - -if [ -d "$HOME/.local/share/gnome-shell/extensions/places-menu@gnome-shell-extensions.gcampax.github.com" ]; then - echo "places menu already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls places-menugnome-shell-extensions.gcampax.github.com.v54.shell-extension.zip || wget https://extensions.gnome.org/extension-data/places-menugnome-shell-extensions.gcampax.github.com.v54.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/places-menugnome-shell-extensions.gcampax.github.com.v54.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 - gnome-session-quit --force --no-prompt - fi -fi - - -if [[ "$RELOG_NEEDED" == 1 ]]; then - if zenity --question --text="New extensions have been installed!, reload required!" - then - gnome-session-quit --force --no-prompt - fi -fi - # add new settings gsettings set org.gnome.shell.extensions.arcmenu menu-hotkey 'Super_L' 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 d4314e8..b161c89 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/macos.sh @@ -11,51 +11,6 @@ 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 - -# Dash to Dock - -if [ -d "$HOME/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com" ]; then - echo "dash to dock already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip || wget https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip" - export RELOG_NEEDED=1 -fi - -# Frippery Move Clock - -if [ -d "$HOME/.local/share/gnome-shell/extensions/Move_Clock@rmy.pobox.com" ]; then - echo "Frippery Move Clock already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./Move_Clockrmy.pobox.com.v27.shell-extension.zip || wget https://extensions.gnome.org/extension-data/Move_Clockrmy.pobox.com.v27.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/Move_Clockrmy.pobox.com.v27.shell-extension.zip" - 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 - gnome-session-quit --force --no-prompt - fi -fi - # Enable Dash gnome-extensions enable dash-to-dock@micxgx.gmail.com # Enable just perfection diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh index b06bbc2..3286731 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh @@ -9,39 +9,6 @@ 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/just-perfection/ || -# Get needed extensions into userland - -# Dash to Dock - -if [ -d "$HOME/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com" ]; then - echo "dash to dock already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip || wget https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/dash-to-dockmicxgx.gmail.com.v73.shell-extension.zip" - 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 - gnome-session-quit --force --no-prompt - fi -fi - # add new settings gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 64 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 92db62d..cdb1ac8 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win10.sh @@ -11,54 +11,6 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || dconf reset -f /org/gnome/shell/extensions/just-perfection/ || dconf reset -f /org/gnome/shell/extensions/arcmenu/ || -# Get needed extensions into userland - -# Dash to panel - -if [ -d "$HOME/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com" ]; then - echo "dash to panel already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./dash-to-panel@jderose9.github.com_v51.zip || wget https://github.com/home-sweet-gnome/dash-to-panel/releases/download/v51/dash-to-panel@jderose9.github.com_v51.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/dash-to-panel@jderose9.github.com_v51.zip" - export RELOG_NEEDED=1 -fi - -# Arcmenu - -if [ -d "$HOME/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com" ]; then - echo "arcmenu already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls arcmenuarcmenu.com.v39.shell-extension.zip || wget https://extensions.gnome.org/extension-data/arcmenuarcmenu.com.v39.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/arcmenuarcmenu.com.v39.shell-extension.zip" - 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 - gnome-session-quit --force --no-prompt - fi -fi - # add new settings gsettings set org.gnome.shell.extensions.arcmenu menu-hotkey 'Super_L' 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 868ebd6..acc85f7 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/win11.sh @@ -11,51 +11,6 @@ dconf reset -f /org/gnome/shell/extensions/dash-to-panel/ || dconf reset -f /org/gnome/shell/extensions/just-perfection/ || dconf reset -f /org/gnome/shell/extensions/arcmenu/ || -# Get needed extensions into userland - -# Dash to panel - -if [ -d "$HOME/.local/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com" ]; then - echo "dash to panel already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls ./dash-to-panel@jderose9.github.com_v51.zip || wget https://github.com/home-sweet-gnome/dash-to-panel/releases/download/v51/dash-to-panel@jderose9.github.com_v51.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/dash-to-panel@jderose9.github.com_v51.zip" - export RELOG_NEEDED=1 -fi - -# Arcmenu - -if [ -d "$HOME/.local/share/gnome-shell/extensions/arcmenu@arcmenu.com" ]; then - echo "arcmenu already in userland no need to download anything" -else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls arcmenuarcmenu.com.v39.shell-extension.zip || wget https://extensions.gnome.org/extension-data/arcmenuarcmenu.com.v39.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/arcmenuarcmenu.com.v39.shell-extension.zip" - 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 - gnome-session-quit --force --no-prompt - fi -fi - # add new settings gsettings set org.gnome.shell.extensions.arcmenu menu-hotkey 'Super_L' diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/audio.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/audio.sh index 8b2d6da..c36790f 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/audio.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/audio.sh @@ -1,37 +1,8 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/volume-mixer@evermiss.net" ]]; then - echo "mixer already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable volume-mixer@evermiss.net - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls volume-mixerevermiss.net.v10.shell-extension.zip || wget https://extensions.gnome.org/extension-data/volume-mixerevermiss.net.v10.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/volume-mixerevermiss.net.v10.shell-extension.zip" - export RELOG_NEEDED=1 - fi - - if [[ -d "$HOME/.local/share/gnome-shell/extensions/sound-output-device-chooser@kgshank.net" ]]; then - echo "sound already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable sound-output-device-chooser@kgshank.net - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls sound-output-device-chooserkgshank.net.v41.shell-extension.zip || wget https://extensions.gnome.org/extension-data/sound-output-device-chooserkgshank.net.v41.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/sound-output-device-chooserkgshank.net.v41.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable volume-mixer@evermiss.net else -echo "Disabling Now" gnome-extensions disable volume-mixer@evermiss.net gnome-extensions disable sound-output-device-chooser@kgshank.net fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh index cd4e724..71971a9 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh @@ -1,25 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/blur-my-shell@aunetx" ]]; then - echo "blur my shell already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable blur-my-shell@aunetx - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls blur-my-shellaunetx.v28.shell-extension.zip || wget https://extensions.gnome.org/extension-data/blur-my-shellaunetx.v28.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/blur-my-shellaunetx.v28.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable blur-my-shell@aunetx else -echo "Disabling Now" gnome-extensions disable blur-my-shell@aunetx fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh index a533ef3..690227d 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/espresso@coadmunkee.github.com" ]]; then - echo "espresso already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable espresso@coadmunkee.github.com - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls espressocoadmunkee.github.com.v7.shell-extension.zip || wget https://extensions.gnome.org/extension-data/espressocoadmunkee.github.com.v7.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/espressocoadmunkee.github.com.v7.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable caffeine@patapon.info else -echo "Disabling Now" -gnome-extensions disable espresso@coadmunkee.github.com +gnome-extensions disable caffeine@patapon.info fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh index 77d3f97..cdcf279 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh @@ -1,24 +1,8 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/gnome-clipboard@b00f.github.io" ]]; then - echo "clipboard already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable gnome-clipboard@b00f.github.io - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls gnome-clipboardb00f.github.io.v11.shell-extension.zip || wget https://extensions.gnome.org/extension-data/gnome-clipboardb00f.github.io.v11.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/gnome-clipboardb00f.github.io.v11.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi + gnome-extensions enable gnome-clipboard@b00f.github.io fi else -echo "Disabling Now" gnome-extensions disable gnome-clipboard@b00f.github.io fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/desktop.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/desktop.sh index 393837f..0f3d1d8 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/desktop.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/desktop.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/ding@rastersoft.com" ]]; then - echo "desktop already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable ding@rastersoft.com - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls dingrastersoft.com.v43.shell-extension.zip || wget https://extensions.gnome.org/extension-data/dingrastersoft.com.v43.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/dingrastersoft.com.v43.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable ding@rastersoft.com else -echo "Disabling Now" gnome-extensions disable ding@rastersoft.com fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/hid.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/hid.sh index 05da98a..7a16b12 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/hid.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/hid.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/wireless-hid@chlumskyvaclav.gmail.com" ]]; then - echo "Wireless HID already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable wireless-hid@chlumskyvaclav.gmail.com - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls wireless-hidchlumskyvaclav.gmail.com.v7.shell-extension.zip || wget https://extensions.gnome.org/extension-data/wireless-hidchlumskyvaclav.gmail.com.v7.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/wireless-hidchlumskyvaclav.gmail.com.v7.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable wireless-hid@chlumskyvaclav.gmail.com else -echo "Disabling Now" gnome-extensions disable wireless-hid@chlumskyvaclav.gmail.com fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/kde.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/kde.sh index f76995c..baaf479 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/kde.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/kde.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.io" ]]; then - echo "gsconnect already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable gsconnect@andyholmes.github.io - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls gsconnectandyholmes.github.io.v50.shell-extension.zip || wget https://extensions.gnome.org/extension-data/gsconnectandyholmes.github.io.v50.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/gsconnectandyholmes.github.io.v50.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable gsconnect@andyholmes.github.io else -echo "Disabling Now" gnome-extensions disable gsconnect@andyholmes.github.io fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/spacebar.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/spacebar.sh index dc2a52a..b52a2da 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/spacebar.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/spacebar.sh @@ -3,22 +3,7 @@ # Get needed extensions into userland if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/space-bar@luchrioh" ]]; then - echo "spacebar already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable space-bar@luchrioh - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls space-barluchrioh.v2.shell-extension.zip || wget https://extensions.gnome.org/extension-data/space-barluchrioh.v2.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/space-barluchrioh.v2.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable space-bar@luchrioh else -echo "Disabling Now" gnome-extensions disable space-bar@luchrioh fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/stats.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/stats.sh index 84bb444..c7da94d 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/stats.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/stats.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/Vitals@CoreCoding.com" ]]; then - echo "Vitals already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable Vitals@CoreCoding.com - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls VitalsCoreCoding.com.v57.shell-extension.zip || wget https://extensions.gnome.org/extension-data/VitalsCoreCoding.com.v57.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/VitalsCoreCoding.com.v57.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable Vitals@CoreCoding.com else -echo "Disabling Now" gnome-extensions disable Vitals@CoreCoding.com fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh index af196ea..558647a 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/supergfxctl-gex@asus-linux.org" ]]; then - echo "supergfxctl already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable supergfxctl-gex@asus-linux.org - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls supergfxctl-gexasus-linux.org.v14.shell-extension.zip || wget https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v14.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/supergfxctl-gexasus-linux.org.v14.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable supergfxctl-gex@asus-linux.org else -echo "Disabling Now" gnome-extensions disable supergfxctl-gex@asus-linux.org fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh index 8675941..97e5cc8 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh @@ -4,22 +4,7 @@ if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/trayIconsReloaded@selfmade.pl" ]]; then - echo "tray icons already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable trayIconsReloaded@selfmade.pl - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls trayIconsReloadedselfmade.pl.v23.shell-extension.zip || wget https://extensions.gnome.org/extension-data/trayIconsReloadedselfmade.pl.v23.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/trayIconsReloadedselfmade.pl.v23.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com else -echo "Disabling Now" -gnome-extensions disable trayIconsReloaded@selfmade.pl +gnome-extensions disable appindicatorsupport@rgcjonas.gmail.com fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/weather.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/weather.sh index e4eaa16..40251a9 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/weather.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/weather.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de" ]]; then - echo "weather already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable openweather-extension@jenslody.de - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls openweather-extensionjenslody.de.v107.shell-extension.zip || wget https://extensions.gnome.org/extension-data/openweather-extensionjenslody.de.v107.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/openweather-extensionjenslody.de.v107.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable openweather-extension@jenslody.de else -echo "Disabling Now" gnome-extensions disable openweather-extension@jenslody.de fi diff --git a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh index 41a1a29..f646582 100755 --- a/src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh +++ b/src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh @@ -1,24 +1,7 @@ #! /bin/bash -# Get needed extensions into userland - if [[ $1 == enable ]]; then - if [[ -d "$HOME/.local/share/gnome-shell/extensions/auto-move-windows@gnome-shell-extensions.gcampax.github.com" ]]; then - echo "workspace already in userland no need to download anything" - echo "Enabling Now" - gnome-extensions enable auto-move-windows@gnome-shell-extensions.gcampax.github.com - else - mkdir -p "$HOME/.cache/nobara-layouts/extensions/" - cd "$HOME/.cache/nobara-layouts/extensions/" - ls auto-move-windowsgnome-shell-extensions.gcampax.github.com.v49.shell-extension.zip || wget https://extensions.gnome.org/extension-data/auto-move-windowsgnome-shell-extensions.gcampax.github.com.v49.shell-extension.zip - gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/auto-move-windowsgnome-shell-extensions.gcampax.github.com.v49.shell-extension.zip" - export RELOG_NEEDED=1 - - if [[ $ALL != True ]]; then - /etc/nobara/scripts/nobara-layouts/reload.sh - fi - fi + gnome-extensions enable auto-move-windows@gnome-shell-extensions.gcampax.github.com else -echo "Disabling Now" gnome-extensions disable auto-move-windows@gnome-shell-extensions.gcampax.github.com fi