From dc91fa53ff7726a0fb0f12099fe331aee7ae964f Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 4 Mar 2020 23:17:37 +0100 Subject: Created simple scripts to switch startup graphic cards setup. --- gpu/gpuHybrid.sh | 5 +++++ gpu/gpuIntel.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 gpu/gpuHybrid.sh create mode 100755 gpu/gpuIntel.sh (limited to 'gpu') 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 -- cgit v1.2.1