Getting Starship worked out with a config style

This commit is contained in:
Raven Scott 2022-06-25 19:42:27 -05:00
parent 7fd99350c3
commit c4488915c2
14 changed files with 119 additions and 5 deletions

View File

@ -3,6 +3,7 @@ To install use: auto-install packageName
PackageName - Software URL PackageName - Software URL
starship-bash - https://starship.rs
webmin - https://www.webmin.com/ webmin - https://www.webmin.com/
osjs-webdesktop - https://www.os-js.org/ osjs-webdesktop - https://www.os-js.org/
wp - https://wordpress.org/ wp - https://wordpress.org/

16
alma/starship Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
echo 'eval "$(starship init bash)"' >> ~/.bashrc
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

View File

@ -2,4 +2,5 @@ Software Currently Avalible for Alpine:
To install use: auto-install packageName To install use: auto-install packageName
PackageName - Software URL PackageName - Software URL
Sorry, No installers have been coded yet :(
starship-bash - https://starship.rs

16
alpine/starship Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
echo 'eval "$(starship init bash)"' >> ~/.bashrc
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

View File

@ -1 +1,7 @@
There is no installers configured yet.
Software Currently Avalible for AlmaLinux:
To install use: auto-install packageName
PackageName - Software URL
starship-bash - https://starship.rs

16
arch/starship Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
echo 'eval "$(starship init bash)"' >> ~/.bashrc
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

1
debian/list vendored
View File

@ -3,6 +3,7 @@ To install use: auto-install packageName
PackageName - Software URL PackageName - Software URL
starship-bash - https://starship.rs
webmin - https://www.webmin.com/ webmin - https://www.webmin.com/
osjs-webdesktop - https://www.os-js.org/ osjs-webdesktop - https://www.os-js.org/
wp - https://wordpress.org/ wp - https://wordpress.org/

16
debian/starship vendored Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
echo 'eval "$(starship init bash)"' >> ~/.bashrc
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

3
notify Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
wget -q -O /usr/bin/notif https://ssh.surf/notif && chmod +x /usr/bin/notif
echo "Notify Install complete"

View File

@ -3,6 +3,7 @@ To install simply use: auto-install packageName
PackageName - Software URL PackageName - Software URL
starship-bash - https://starship.rs
webmin - https://www.webmin.com/ webmin - https://www.webmin.com/
osjs-webdesktop - https://www.os-js.org/ osjs-webdesktop - https://www.os-js.org/
wp - https://wordpress.org/ wp - https://wordpress.org/

3
ubuntu/notify copy Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
wget -q -O /usr/bin/notif https://ssh.surf/notif && chmod +x /usr/bin/notif
echo "Notify Install complete"

View File

@ -12,7 +12,7 @@ notif "We have installed rsyslog restarting requrired services"
sleep 2 sleep 2
service ssh stop service ssh stop
sleep 2 sleep 2
service rsyslog start systemctl start rsyslog
sleep 2 sleep 2
service ssh start service ssh start
sleep 2 sleep 2
@ -34,7 +34,7 @@ chmod +x /var/tools/firewallctl
notif "Downloading the secuNotify service and enabling it to run on boot" notif "Downloading the secuNotify service and enabling it to run on boot"
sleep 2 sleep 2
wget -O /etc/systemd/system/secuNotify.service https://ssh.surf/install/secu/secuNotify.service wget -O /etc/systemd/system/secuNotify.service https://ssh.surf/install/secu/secuNotify.service
sed -i 's/service ssh start/service rsyslog start \&\& service ssh start \&\& service secuNotify start/g' /start.sh sed -i 's/service ssh start/systemctl start rsyslog \&\& service ssh start \&\& service secuNotify start/g' /start.sh
sleep 2 sleep 2
service apache2 restart service apache2 restart
sleep 2 sleep 2

33
ubuntu/starship Normal file
View File

@ -0,0 +1,33 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
#/bin/bash
# install DroidSansMono Nerd Font --> u can choose another at: https://www.nerdfonts.com/font-downloads
apt install zip unzip -y
echo "[-] Download fonts [-]"
echo "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
unzip FiraCode.zip -d ~/.fonts
rm -vf FiraCode.zip
sudo apt install fontconfig -y
fc-cache -fv
echo "downloading preconfigured style"
mkdir -vp ~/.config
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/87202532789681
echo "done!"
echo 'eval "$(starship init bash)"' >> ~/.bashrc
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

View File

@ -10,7 +10,8 @@ echo "downloading the Notification Bot"
wget -q -O - https://ssh.surf/notify | bash wget -q -O - https://ssh.surf/notify | bash
apt update apt update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata dialog
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
notif "Welcome to the Wordpress Automated installer for Discord-Linux, We are preparing your installation..." notif "Welcome to the Wordpress Automated installer for Discord-Linux, We are preparing your installation..."