francma / wob

A lightweight overlay volume/backlight/progress/anything bar for Wayland.
ISC License
911 stars 50 forks source link

WOB Not working after logout (swaywm) #88

Closed enricofadly closed 2 years ago

enricofadly commented 2 years ago

WOB isn't work after i logout the sway,

francma commented 2 years ago

My guess is that it doesn't work because the $WOBSOCK file already exists and that leads to mkfifo failing.

Try changing this:

exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob

to this:

exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob

in your sway config.

enricofadly commented 2 years ago

My guess is that it doesn't work because the $WOBSOCK file already exists and that leads to mkfifo failing.

Try changing this:

exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob

to this:

exec rm -f $WOBSOCK && mkfifo $WOBSOCK && tail -f $WOBSOCK | wob

in your sway config.

Unbelievable sir, its working like a charm, thanks sir have a nice day