Initial Release
This commit is contained in:
commit
8b3b95aae8
54 changed files with 5601 additions and 0 deletions
16
scripts/system76-power/graphics-compute.sh
Normal file
16
scripts/system76-power/graphics-compute.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# name: Switch to Compute Graphics
|
||||
# icon: preferences-system-symbolic
|
||||
# description: Use integrated GPU for display; discrete for CUDA / OpenCL
|
||||
# keywords: compute graphics switch nvidia
|
||||
|
||||
gnome-terminal -- sh -c '
|
||||
if system76-power graphics compute; then
|
||||
echo "Succesfully switched. You may now reboot"
|
||||
else
|
||||
echo "Failed to switch\nPress key to exit"
|
||||
fi
|
||||
|
||||
read x
|
||||
'
|
||||
Loading…
Add table
Add a link
Reference in a new issue