diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:17:37 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-03-04 23:17:37 +0100 |
commit | dc91fa53ff7726a0fb0f12099fe331aee7ae964f (patch) | |
tree | 83515156a3e53efb84f46fcec5621fdc3d2d275a /gpu | |
parent | f3f80c1efb7f7452c01f600a671a45088ad0c591 (diff) | |
download | scripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.tar.gz scripts-dc91fa53ff7726a0fb0f12099fe331aee7ae964f.zip |
Created simple scripts to switch startup graphic cards setup.
Diffstat (limited to 'gpu')
-rwxr-xr-x | gpu/gpuHybrid.sh | 5 | ||||
-rwxr-xr-x | gpu/gpuIntel.sh | 5 |
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 |