prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
7.64k stars 894 forks source link

[Bug]: No CPU and GPU temperatures in Waybar after reinstalling HyDE #1979

Closed s0m3th1ng-r4nd0m closed 2 weeks ago

s0m3th1ng-r4nd0m commented 2 weeks ago

Bug Report

Description

I did ./install.sh -r to update my dotfiles today and after that i can't see the CPU and GPU temperatures in my Waybar.

Steps to Reproduce

  1. git pull in HyDE directory
  2. ./install.sh -r
  3. see that CPU and GPU temperatures don't show in Waybar anymore.

Expected Behavior

To be able to see CPU and GPU temperatures beside CPU and ram usage.

Screenshots

[If applicable, add screenshots to help explain your problem.]

Environment

i didn't mess with anything else except for that i added ~/.cargo/bin to path in my hyprland.conf.

e.g.,

Additional Information

none

kRHYME7 commented 2 weeks ago

output of gpuinfo.sh

s0m3th1ng-r4nd0m commented 2 weeks ago

no command found when run in home directory but running in ~/.local/share/bin gives this output.

241110_16h30m16s_screenshot.png

s0m3th1ng-r4nd0m commented 2 weeks ago

no command found when run in home directory but running in ~/.local/share/bin gives this output.

there's no ~/.local/share/bin in the output of echo $PATH

kRHYME7 commented 2 weeks ago

there's no ~/.local/share/bin in the output of echo $PATH

did you modify your path in env?

like added another directory to PATH?

This is wrong

env = PATH,$PATH:/new/path/ 

use this instead

env = PATH,$PATH:$scrPath:/new/path
s0m3th1ng-r4nd0m commented 2 weeks ago

did you modify your path in env?

like added another directory to PATH?

yup. that's what i did.

This is wrong

env = PATH,$PATH:/new/path/ 

oh, i see. so i was just resetting it to ~/.cargo/bin instead of appending ~/.cargo/bin to $PATH

use this instead

env = PATH,$PATH:$scrPath:/new/path

well that fixes it. thanks! i thought i could append $PATH by making another environment variable.