diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-03-29 21:51:12 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-03-29 21:51:12 -0700 |
commit | 0b7a6e2ccc0030d7931c2fdb17aeb7c67917b208 (patch) | |
tree | a372350cebe7af69e0daadccf2490058583941f1 /home/xyz/.xinitrc | |
parent | 4b36e3f5991674159294fb456cb209effbd44a5d (diff) |
`envycontrol -q` new version returns "nvidia" instead
Diffstat (limited to 'home/xyz/.xinitrc')
-rw-r--r-- | home/xyz/.xinitrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.xinitrc b/home/xyz/.xinitrc index 2fb8a47b..910e742f 100644 --- a/home/xyz/.xinitrc +++ b/home/xyz/.xinitrc @@ -45,7 +45,7 @@ udiskie & xset r rate 250 30 # https://dianne.skoll.ca/wiki/Remind_FAQ#How_can_I_generate_popup_windows_to_warn_me_of_timed_reminders.3F rem -z -k'notify-send -u critical "reminder" %s &' & -if [ "$(envycontrol -q)" = 'Current graphics mode is: nvidia' ]; then +if [ "$(envycontrol -q)" = 'nvidia' ]; then # my testing shows this seems no need? xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto |