Config files to make everyday life easier...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
237 B

function nvidia {
case "${1^^}" in
pkexec tee /proc/acpi/bbswitch <<< OFF
pkexec tee /proc/acpi/bbswitch <<< ON
printf "To enable or disable your discrete GPU, use ON or OFF.\n"