Update Bash Scripts/Install_Programs.sh

This commit is contained in:
Gabe committed 2026-10-12 22:03:12 +00:00
1 parent cfeec4cdc6
commit 9463b60fc4
1 file changed
+5
+5
View File
@@ -78,6 +78,11 @@ install_steam () {
}
install_tlp () {
if [ ! -d /sys/class/power_supply/BAT0 ] && [ ! -d /sys/class/power_supply/BAT1 ]; then
echo "No battery detected, skipping TLP"
echo
return 0
fi
confirm "TLP" || return 0
# power-profiles-daemon (default on GNOME/KDE) fights TLP over the same settings
if systemctl cat power-profiles-daemon.service >/dev/null 2>&1; then