diff options
-rwxr-xr-x | home/xyz/.local/bin/sbar | 2 | ||||
-rw-r--r-- | 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 |