adi1090x / polybar-themes

A huge collection of polybar themes with different styles, colors and variants.
GNU General Public License v3.0
5.59k stars 406 forks source link

Polybar dont start on startup i3 #133

Open Angelhpascual opened 3 years ago

Angelhpascual commented 3 years ago

I put the lines on i3 config:

exec ~/.config/polybar/launch.sh --hack exec ~/.config/polybar/hack/scripts/pywal.sh ~/Pictures/Wal/bg2.jpg Also `

exec_always --no-startup-id~/.config/polybar/launch.sh --hack exec_always --no-startup-id~/.config/polybar/hack/scripts/pywal.sh ~/Pictures/Wal/bg2.jpg

and my polybar theme dont start when i reboot

When i launch the launch.sh from the console is working with no problem

Any suggestions?

Thank you!

DevVoyagerX commented 2 years ago

Not an solution but asking just a question does the font looks pixelated to you?

Thynkon commented 2 years ago

Hi, I noticed that there is no space between --no-startup-id and the path of the launch.sh script.

Also, I would surround the path of launch.sh and its arguments with "" (exec_always --no-startup-id "~/.config/polybar/launch.sh --hack"), because i3 expects the exec_always command to have only 2 arguments (--no-startup-id and the command you want to run).

For more info, i3 user's guide.

einasota commented 2 years ago

Missing space between --no-startup-id and path:

exec_always --no-startup-id $HOME/.config/polybar/launch.sh --hack
exec_always --no-startup-id $HOME/.config/polybar/hack/scripts/pywal.sh ~/Pictures/Wal/bg2.jpg

Use "$HOME" to better identify your home directory.