D
D
ddc2021-06-21 09:32:11
linux
ddc, 2021-06-21 09:32:11

I3, polybar won't start, how to fix?

The problem is, I installed i3 and decided to install polybar. Added the following to the i3 config:

exec_always --no-startup-id $HOME/.config/polybar/launch.sh

my launch.sh
#!/usr/bin/env sh

killall -q polybar

while pgrep -x polybar >/dev/null; do sleep 1; done

polybar top &

In this case, polybar is launched through the terminal with the command "polybar example"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2021-06-21
@xxaaoocc

Open the polybar config and see what your bar is called, by default it should be [bar/example].
Accordingly, in the launcher, replace withpolybar example &

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question