commit
This commit is contained in:
parent
449b735ca5
commit
aa92bbf9ff
@ -2,7 +2,6 @@
|
||||
|
||||
# Get needed extensions into userland
|
||||
|
||||
# Dash to panel
|
||||
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"
|
||||
|
28
src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh
Executable file
28
src/etc/nobara/scripts/nobara-layouts/settings-scripts/blur.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#! /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
|
||||
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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable blur-my-shell@aunetx
|
||||
fi
|
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh
Executable file
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/caffeine.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#! /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
|
||||
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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable espresso@coadmunkee.github.com
|
||||
fi
|
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh
Executable file
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/clipboard.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#! /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
|
||||
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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable gnome-clipboard@b00f.github.io
|
||||
fi
|
@ -2,7 +2,6 @@
|
||||
|
||||
# Get needed extensions into userland
|
||||
|
||||
# Dash to panel
|
||||
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"
|
||||
|
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh
Executable file
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/supergfxctl.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Get needed extensions into userland
|
||||
|
||||
if [[ $1 == enable ]]; then
|
||||
if [ -d "$HOME/.local/share/gnome-shell/extensions/supergfxctl-gex@asus-linux.orgm" ]; 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.v15.shell-extension.zip || wget https://extensions.gnome.org/extension-data/supergfxctl-gexasus-linux.org.v15.shell-extension.zip
|
||||
gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/supergfxctl-gexasus-linux.org.v15.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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable supergfxctl-gex@asus-linux.org
|
||||
fi
|
28
src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh
Executable file
28
src/etc/nobara/scripts/nobara-layouts/settings-scripts/tray.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Get needed extensions into userland
|
||||
|
||||
|
||||
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.v26.shell-extension.zip || wget https://extensions.gnome.org/extension-data/trayIconsReloadedselfmade.pl.v26.shell-extension.zip
|
||||
gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/trayIconsReloadedselfmade.pl.v26.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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable trayIconsReloaded@selfmade.pl
|
||||
fi
|
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh
Executable file
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/workspace.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#! /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.v50.shell-extension.zip || wget https://extensions.gnome.org/extension-data/auto-move-windowsgnome-shell-extensions.gcampax.github.com.v50.shell-extension.zip
|
||||
gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/auto-move-windowsgnome-shell-extensions.gcampax.github.com.v50.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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable auto-move-windows@gnome-shell-extensions.gcampax.github.com
|
||||
fi
|
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh
Executable file
27
src/etc/nobara/scripts/nobara-layouts/settings-scripts/x11.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Get needed extensions into userland
|
||||
|
||||
if [[ $1 == enable ]]; then
|
||||
if [ -d "$HOME/.local/share/gnome-shell/extensions/x11gestures@joseexposito.github.io" ]; then
|
||||
echo "x11 gestures already in userland no need to download anything"
|
||||
echo "Enabling Now"
|
||||
gnome-extensions enable x11gestures@joseexposito.github.io
|
||||
else
|
||||
mkdir -p "$HOME/.cache/nobara-layouts/extensions/"
|
||||
cd "$HOME/.cache/nobara-layouts/extensions/"
|
||||
ls x11gesturesjoseexposito.github.io.v14.shell-extension.zip || wget https://extensions.gnome.org/extension-data/x11gesturesjoseexposito.github.io.v14.shell-extension.zip
|
||||
gnome-extensions install "$HOME/.cache/nobara-layouts/extensions/x11gesturesjoseexposito.github.io.v14.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
|
||||
else
|
||||
echo "Disabling Now"
|
||||
gnome-extensions disable x11gestures@joseexposito.github.io
|
||||
fi
|
Loading…
Reference in New Issue
Block a user