vivien/i3blocks-contrib

The cpu_usage2 blocklet isn't working

bound-variable opened this issue · 1 comments

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>'

Same problem here