dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

ERROR parse_bar: malformated line

Open Froloket64 opened this issue 3 years ago • 3 comments

Hey, just copied your i3blocks config file into my ~/.config/i3blocks/ and refreshed i3 and in i3bar I got (exit 1) for status_command.

That's the terminal output of i3blocks command: ERROR parse_bar:162: malformated line: ROFI_TEXT=Menu: ERROR main:70: Try 'i3blocks -h' for more information.

Sorry if i did smth stupid, I'm just a newbie to i3.

PS: rofi is installed.

Froloket64 avatar Mar 01 '21 13:03 Froloket64

i3blocks with standart config runs normally.

Froloket64 avatar Mar 01 '21 13:03 Froloket64

Well, it's been around a month since I opened the issue and no one is here (not to blame anyone, really). I'm not sure if it's correct to close the issue now, so I'll just leave it there. However, my problem can be not even due to the config's issue, cause I encounter such ones on many (all) configs of i3blocks.

Well, anyway, would be really glad if anyone helps, since I see other people also having problems with that "malformating" in blocks.

Froloket64 avatar Mar 12 '21 05:03 Froloket64

I know this is an old issue, but it can still be relevant for people like me who use the distribution package i3blocks from the Debian 11 repo which is of the buggy version 1.4.

I had this problem with disk-io, and my workaround is to run command the variable (LABEL in my case) before the actual command, like this:

command=LABEL="I/O " $SCRIPT_DIR/disk-io

p4t0k avatar Jul 31 '22 08:07 p4t0k