aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-12-12 14:35:58 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2020-12-12 14:35:58 +0100
commit90b5bcd99f9a2723b5e56bcf11a70d30d1153723 (patch)
tree1a444cd2da382f59530c2e3b5daa58532f102d07
parent8b1f6ba1f5c8df81646fb64597026747ba4d3d87 (diff)
downloadscripts-90b5bcd99f9a2723b5e56bcf11a70d30d1153723.tar.gz
scripts-90b5bcd99f9a2723b5e56bcf11a70d30d1153723.zip
optimus-manager script to set only NVIDA GPU.
-rwxr-xr-xgpu/gpuNvidia.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gpu/gpuNvidia.sh b/gpu/gpuNvidia.sh
new file mode 100755
index 0000000..c02877c
--- /dev/null
+++ b/gpu/gpuNvidia.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# Sets only nvidia at startup
+cp "$HOME/.xinitrci3bcknvidia" "$HOME/.xinitrci3"
+sudo optimus-manager --set-startup nvidia