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.
1234567891011121314 |
- function nvidia {
- case "${1^^}" in
- "OFF")
- pkexec tee /proc/acpi/bbswitch <<< OFF
- ;;
- "ON")
- pkexec tee /proc/acpi/bbswitch <<< ON
- ;;
- *)
- printf "To enable or disable your discrete GPU, use ON or OFF.\n"
- ;;
- esac
- }
|