refactor: Add GUI setup script and install graphical apps if GUI is detected
This commit is contained in:
parent
86565625ff
commit
c3c623f1d1
|
@ -0,0 +1 @@
|
||||||
|
snap install bluemail
|
|
@ -0,0 +1,9 @@
|
||||||
|
apt install floorp
|
||||||
|
apt install snapd
|
||||||
|
apt install flatpak
|
||||||
|
|
||||||
|
chmod +x ./gui/spotify.sh
|
||||||
|
./gui/spotify.sh
|
||||||
|
|
||||||
|
chmod +x ./gui/bluemail.sh
|
||||||
|
./gui/bluemail.sh
|
|
@ -0,0 +1,4 @@
|
||||||
|
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
|
||||||
|
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
|
||||||
|
|
||||||
|
sudo apt-get update && sudo apt-get install spotify-client
|
8
setup.sh
8
setup.sh
|
@ -51,3 +51,11 @@ install_node_if_no_gui() {
|
||||||
configure_terminal
|
configure_terminal
|
||||||
configure_apt_cacher
|
configure_apt_cacher
|
||||||
install_node_if_no_gui
|
install_node_if_no_gui
|
||||||
|
|
||||||
|
if [ -z "$XDG_CURRENT_DESKTOP" ]; then
|
||||||
|
echo "No GUI detected, not installing graphical apps..."
|
||||||
|
else
|
||||||
|
echo "GUI detected, let's install some graphical apps!"
|
||||||
|
sudo chmod +x ./gui/setup.sh
|
||||||
|
./gui/setup.sh
|
||||||
|
fi
|
Loading…
Reference in New Issue