diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2021-04-07 20:21:08 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2021-04-07 20:21:08 +0200 |
commit | b3017b9ee5fdf4d79b8f3c5253cfd6ec62b31844 (patch) | |
tree | 8d36338a257cba4bb311fec0ca87658a162cbbac /gpu/gpuNvidia.sh | |
parent | 3d03e86fc19b5cf10e83fda358af894ab80b3868 (diff) | |
download | scripts-b3017b9ee5fdf4d79b8f3c5253cfd6ec62b31844.tar.gz scripts-b3017b9ee5fdf4d79b8f3c5253cfd6ec62b31844.zip |
Made gpu scripts not dependant on wm.
Diffstat (limited to 'gpu/gpuNvidia.sh')
-rwxr-xr-x | gpu/gpuNvidia.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/gpuNvidia.sh b/gpu/gpuNvidia.sh index c02877c..8ff239e 100755 --- a/gpu/gpuNvidia.sh +++ b/gpu/gpuNvidia.sh @@ -1,5 +1,6 @@ #!/bin/sh # # Sets only nvidia at startup -cp "$HOME/.xinitrci3bcknvidia" "$HOME/.xinitrci3" +cat "$HOME/.xinitrcprevnvidia" >"$HOME/.xinitrcprev" +cat "$HOME/.xinitrcpostnvidia" >"$HOME/.xinitrcpost" sudo optimus-manager --set-startup nvidia |