bs_nix/laptop/setupo_laptop_pwr.sh

7 lines
150 B
Bash
Executable File

#!/bin/bash
echo "Installing power-saving packages"
sudo dnf install -y powertop tlp
echo "Edit /etc/default/tlp such that the default mode is BAT"