Skip to content

Commit

Permalink
Improve apt sources configuration script
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Oct 16, 2024
1 parent 28f316e commit 71f3e4a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apt/setup_sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,21 @@ echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://ap
# Speedtest
# curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | bash

# TeamViewer
if command -v teamviewer &> /dev/null; then
sudo teamviewer repo default
fi

# -----
# PPAs
# -----
add-apt-repository ppa:linrunner/tlp
# add-apt-repository ppa:linuxuprising/java
add-apt-repository ppa:obsproject/obs-studio
add-apt-repository ppa:phoerious/keepassxc
# add-apt-repository ppa:thopiekar/openrgb
if [ "$(hostnamectl chassis)" = "laptop" ]; then
echo "This seems to be a laptop. Enabling the Touchegg repository."
echo "This seems to be a laptop. Enabling the TLP and Touchegg repositories."
add-apt-repository ppa:linrunner/tlp
add-apt-repository ppa:touchegg/stable
else
echo "This does not seem to be a laptop. Skipping Touchegg repository setup."
Expand Down

0 comments on commit 71f3e4a

Please sign in to comment.