better way to launch waybar

Question

i use exec waybar for my setup. but when i look at others dotfiles, i mostly see this:

bar {

swaybar_command waybar

}

what is the difference between the above two commands? and what is better way to launch waybar and why?

Posted Jan 25, 2026, 12:36 PM UTC

211
Loading comments…