Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use flock to ensure that only a single instance of back4.sh is running. #18

Open
xcyraxx opened this issue Jun 15, 2022 · 0 comments
Open

Comments

@xcyraxx
Copy link

xcyraxx commented Jun 15, 2022

I had an issue when reloading bspwm would result in multiple instances of back4.sh running and the wallpaper would get choppy with weird artifacts.

The killall command wasn't working, resulting in 'back4.sh: no process found'.

Adding 'flock -n /var/lock/back4.lock /usr/bin/back4.sh auto /PATH/TO/FILE' to bspwmrc solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant