diff options
author | Francisco Soto | 2018-07-14 17:30:40 -0700 |
---|---|---|
committer | Francisco Soto | 2018-07-14 17:30:40 -0700 |
commit | f0dc07a8aafb9451e5e71bdc8d0d81f3ad62c73e (patch) | |
tree | c8d0f712a92b08e28983f5e77c30f5b5bea7af07 /graphics.patch | |
parent | ba418374e592d0c31ab7a6db95dd330830c6171e (diff) | |
download | aur-f0dc07a8aafb9451e5e71bdc8d0d81f3ad62c73e.tar.gz |
Don't alias nvidia. It allows for turning on/off graphics without reboot.
Diffstat (limited to 'graphics.patch')
-rw-r--r-- | graphics.patch | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/graphics.patch b/graphics.patch index 7a608e1fcce8..01c3e45e477c 100644 --- a/graphics.patch +++ b/graphics.patch @@ -1,8 +1,23 @@ ---- src/system76/src/graphics.rs 2018-07-02 00:24:56.431499529 -0700 -+++ src/system76/src/graphics.rs.new 2018-07-02 00:25:55.448165538 -0700 +--- src/system76/src/graphics.rs 2018-07-14 17:12:09.993043915 -0700 ++++ src/system76/src/graphics.rs.new 2018-07-14 17:12:06.843043959 -0700 +@@ -12,10 +12,10 @@ + blacklist nvidia + blacklist nvidia-drm + blacklist nvidia-modeset +-alias nouveau off +-alias nvidia off +-alias nvidia-drm off +-alias nvidia-modeset off ++#alias nouveau off ++#alias nvidia off ++#alias nvidia-drm off ++#alias nvidia-modeset off + "#; + + pub struct Graphics { @@ -136,7 +136,7 @@ } - + eprintln!("Updating initramfs"); - let status = process::Command::new("update-initramfs").arg("-u").status()?; + let status = process::Command::new("mkinitcpio").arg("-p").arg("linux").status()?; |