aboutsummaryrefslogtreecommitdiff
path: root/gpu
diff options
context:
space:
mode:
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