Update Bash Scripts/Install_Programs.sh
This commit is contained in:
1 parent
cfeec4cdc6
commit
9463b60fc4
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user