From b3017b9ee5fdf4d79b8f3c5253cfd6ec62b31844 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 7 Apr 2021 20:21:08 +0200 Subject: Made gpu scripts not dependant on wm. --- gpu/gpuNvidia.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gpu/gpuNvidia.sh') 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 -- cgit v1.2.1