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

The cpu_usage2 blocklet isn't working #447

Open
bound-variable opened this issue Feb 5, 2022 · 1 comment
Open

The cpu_usage2 blocklet isn't working #447

bound-variable opened this issue Feb 5, 2022 · 1 comment

Comments

@bound-variable
Copy link

Actual behavior

It's not appearing in the bar. The other cpu_usage blocklet works.

i3blocks config relevant to blocklet(s)

(The default)

[cpu_usage2]
command=$SCRIPT_DIR/cpu_usage2
markup=pango
interval=persist
#min_width=CPU 100.00%
#REFRESH_TIME=1
#LABEL=CPU 
#WARN_PERCENT=50
#CRIT_PERCENT=80
#DECIMALS=2

Output of blocklet(s) when run from command line

./cpu_usage2.c: line 1: //: Is a directory
./cpu_usage2.c: line 2: //: Is a directory
./cpu_usage2.c: line 3: syntax error near unexpected token `newline'
./cpu_usage2.c: line 3: `// Copyright 2019 Nolan Leake <nolan@sigbus.net>'
@bitterhalt
Copy link

Same problem here

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

2 participants