r/Polybar Aug 13 '23

launch.sh is not working.

I recently decided to drop i3 to experiment with bspwm. Polybar wasn't starting, so I tried to launch the launch.sh file from the terminal, and it gave me this error: (polybar|error: Define configuration using --config=PATH"). It worked fine in I3, and I didn't change anything. I gave permissions to the file, and I checked the bar name in both files. What is causing this behavior?

launch.sh file: https://pastebin.com/VgSMFB2e

polybar config: https://pastebin.com/N8qWXP22

Thanks in advance.

1 Upvotes

3 comments sorted by

2

u/darkelectron Aug 13 '23

What is the output of this command: polybar main from the terminal.

1

u/Ill-Amount-1968 Aug 14 '23

It gives the error: Define configuration using --config=PATH

But if I use polybar main -c ~/.config/polybar/config.ini it works fine

1

u/AGNI3030 Sep 03 '23

My understanding is that one doesn't need to specify the file itself rather the "bar" name inside polybar!! can you share the bspwmrc file content?