Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.62k stars 706 forks source link

Is not possible to rerun the same launcher from the module #489

Closed felipefacundes closed 1 year ago

felipefacundes commented 5 years ago

When executing a program by custom / module. It only runs once. Unfortunately, it is not possible to rerun the same launcher from the module.

Alexays commented 5 years ago

You had to set an interval in the custom module config

felipefacundes commented 5 years ago

Both rofi and dolphin releases this bug. This is my config

https://raw.githubusercontent.com/felipefacundes/dotfiles/master/waybar/config

Alexays commented 5 years ago

Juste replace bash -c '$HOME/.config/rofi/rofimenu.sh &' with bash -c '$HOME/.config/rofi/rofimenu.sh' or just $HOME/.config/rofi/rofimenu.sh

felipefacundes commented 5 years ago

I did that and the bug remains

felipefacundes commented 5 years ago

And this BUG also happens with dolphin, nautilus, nemo and thunar

"on-click": "dolphin",

Or

"on-click": "nautilus",

Opening once cannot reopen

cafehaine commented 5 years ago

those programs are probably similar to thunar when it never really closes after it was launched, in order to launch faster the next time. From what I see, waybar cannot launch a program while the first instance is still running, so that might be your problem. Dolphin or nautilus might have a way to start them as daemon in the background, which would solve this problem.

felipefacundes commented 5 years ago

I already did it for daemon. Even so this problem persists. This problem does not happen with any other panels. Not with polybar. Not even with lemonbar. Not even with tint2. No other. So this is a BUG on the waybar.