Add script for installing gnome-shell extensions
This commit is contained in:
parent
104c266135
commit
2e4e23dfb9
2 changed files with 25 additions and 0 deletions
|
@ -30,6 +30,10 @@ flatpak install flathub com.bitwarden.desktop
|
|||
flatpak install flathub com.github.xournalpp.xournalpp
|
||||
flatpak install flathub org.signal.Signal
|
||||
flatpak install flathub com.usebottles.bottles
|
||||
flatpak install flathub com.mattjakeman.ExtensionManager
|
||||
|
||||
# Install Steam
|
||||
sudo apt install steam
|
||||
|
||||
# Install gnome extensions
|
||||
source "$softwareRoot/gnome-extensions.sh"
|
||||
|
|
21
scripts/PopOS/software/gnome-extensions.sh
Executable file
21
scripts/PopOS/software/gnome-extensions.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
exec sudo bash "$0"
|
||||
fi
|
||||
|
||||
commandName=gnome-shell-extension-installer
|
||||
workingDirectory=$(pwd)
|
||||
contextRoot=$(mktemp -d)
|
||||
cd $contextRoot
|
||||
|
||||
wget -O $commandName "https://github.com/brunelli/gnome-shell-extension-installer/raw/master/gnome-shell-extension-installer"
|
||||
install $commandName /usr/local/bin
|
||||
|
||||
cd $workingDirectory
|
||||
rm -rf $contextRoot
|
||||
|
||||
gnome-shell-extension-installer 779 --yes
|
||||
gnome-shell-extension-installer 4907 --yes
|
||||
killall -SIGQUIT gnome-shell
|
Loading…
Reference in a new issue