makes individual app scripts

This commit is contained in:
2025-04-21 11:33:38 -07:00
parent 9cd14a76e7
commit 925e63d67f
4 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
sudo snap remove firefox
sudo apt remove firefox -y
sudo add-apt-repository ppa:mozillateam/ppa -y
# Set priority
echo "Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1" | sudo tee/etc/apt/preferences.d/mozillateamppa >/dev/null
sudo apt update
sudo apt install firefox -y

3
ubuntu/apps/ghostty.sh Normal file
View File

@@ -0,0 +1,3 @@
cd ~/Downloads
wget https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.1.3-0-ppa2/ghostty_1.1.3-0.ppa2_amd64_24.04.deb
sudo dpkg -i ./ghostty_1.1.3-0.ppa2_amd64_24.04.deb

27
ubuntu/apps/resilio.sh Normal file
View File

@@ -0,0 +1,27 @@
cd ~/Downloads
rm resilio-sync_3.0.3.1065-1_amd64.deb
wget https://download-cdn.resilio.com/3.0.3.1065/debian/amd64/0/resilio-sync_3.0.3.1065-1_amd64.deb
sudo dpkg -i resilio-sync_3.0.3.1065-1_amd64.deb
sudo systemctl disable resilio-sync
sudo systemctl stop resilio-sync
echo "[Unit]
Description=Resilio Sync service
Documentation=https://help.getsync.com/
After=network.target network-online.target
[Service]
Type=forking
Restart=on-failure
PIDFile=%h/.config/resilio-sync/sync.pid
ExecStart=/usr/bin/rslsync --config %h/.config/resilio-sync/config.json
ExecStartPre=/etc/resilio-sync/init_user_config.sh
ExecStartPost=/bin/sleep 1
[Install]
WantedBy=default.target" | sudo tee /usr/lib/systemd/user/resilio-sync.service >/dev/null
systemctl --user enable resilio-sync
systemctl --user start resilio-sync
#uninstall: sudo apt-get purge resilio-sync

3
ubuntu/apps/zed.sh Normal file
View File

@@ -0,0 +1,3 @@
curl -f https://zed.dev/install.sh | sh
echo 'export PATH=$HOME/.local/bin:$PATH' >>~/.bashrc
source ~/.bashrc