aboutsummaryrefslogtreecommitdiff
path: root/gpu/gpuHybrid.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-03-04 23:17:37 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2020-03-04 23:17:37 +0100
commitdc91fa53ff7726a0fb0f12099fe331aee7ae964f (patch)
tree83515156a3e53efb84f46fcec5621fdc3d2d275a /gpu/gpuHybrid.sh
parentf3f80c1efb7f7452c01f600a671a45088ad0c591 (diff)
downloadscripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.tar.gz
scripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.zip
Created simple scripts to switch startup graphic cards setup.
Diffstat (limited to 'gpu/gpuHybrid.sh')
-rwxr-xr-xgpu/gpuHybrid.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gpu/gpuHybrid.sh b/gpu/gpuHybrid.sh
new file mode 100755
index 0000000..d3c05a0
--- /dev/null
+++ b/gpu/gpuHybrid.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# Sets on nvidia at startup
+cp "$HOME/.xinitrci3bcknvidia" "$HOME/.xinitrci3"
+sudo optimus-manager --set-startup hybrid