From a77535d9dab00f5c081bb6e0f2fb2d8f34bba773 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 3 Apr 2022 03:25:35 -0700 Subject: envycontrol new version --- home/xyz/.local/bin/sbar | 2 +- home/xyz/.xinitrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/xyz/.local/bin/sbar b/home/xyz/.local/bin/sbar index 9bb08b88..62504d13 100755 --- a/home/xyz/.local/bin/sbar +++ b/home/xyz/.local/bin/sbar @@ -33,7 +33,7 @@ update_bat () { } update_gpu () { - gpu="$(envycontrol --status | awk 'END{print toupper(substr($NF,0,1))}')" + gpu="$(envycontrol -q | awk 'END{print toupper(substr($NF,0,1))}')" } display () { diff --git a/home/xyz/.xinitrc b/home/xyz/.xinitrc index 957cdbdc..47e7a125 100644 --- a/home/xyz/.xinitrc +++ b/home/xyz/.xinitrc @@ -51,7 +51,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 --status)" = 'Current graphics mode is: nvidia' ]; then +if [ "$(envycontrol -q)" = 'Current graphics mode is: nvidia' ]; then # my testing shows this seems no need? xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto -- cgit v1.2.3-70-g09d2