aboutsummaryrefslogtreecommitdiff
path: root/gpu
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
parentf3f80c1efb7f7452c01f600a671a45088ad0c591 (diff)
downloadscripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.tar.gz
scripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.zip
Created simple scripts to switch startup graphic cards setup.
Diffstat (limited to 'gpu')
-rwxr-xr-xgpu/gpuHybrid.sh5
-rwxr-xr-xgpu/gpuIntel.sh5
2 files changed, 10 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
diff --git a/gpu/gpuIntel.sh b/gpu/gpuIntel.sh
new file mode 100755
index 0000000..5b9409c
--- /dev/null
+++ b/gpu/gpuIntel.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# Sets off nvidia at startup
+cp "$HOME/.xinitrci3bckintel" "$HOME/.xinitrci3"
+sudo optimus-manager --set-startup intel