Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temperature not showing - Arch #11

Open
JustCryen opened this issue May 20, 2022 · 1 comment
Open

Temperature not showing - Arch #11

JustCryen opened this issue May 20, 2022 · 1 comment

Comments

@JustCryen
Copy link

I'm running Arch so this might be the reason of the script malfunctioning… maybe.
I have installed the Tmux Plugin Manager, used it to download/install the plugin (it appears in the .tmux/plugins), restarted tmux and I still can't see a temperature readout.

Have I misunderstood the installation process or should it actually work now?

@JustCryen
Copy link
Author

I noticed that the command sensors | egrep '^Package' | sed '/^\s*$/d' | awk '{printf("%f ", $4)}' gives this output:
63.000000 %
I'm not sure it the "%" should be included as it's probably an escape sign.
sh temp_cpu.sh outputs this

temp_cpu.sh: line 30: printf: 63.000000: invalid number
63ºC
temp_cpu.sh: line 43: printf: 63.000000: invalid number
 63ºC%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant