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

Add a swaybg backend? #6

Open
akumar-xyz opened this issue Nov 14, 2020 · 0 comments
Open

Add a swaybg backend? #6

akumar-xyz opened this issue Nov 14, 2020 · 0 comments

Comments

@akumar-xyz
Copy link

I believe there are no supported backends for wayland compositors.

Something like:

#!/bin/sh

# Terminate already running swaybg instances
killall -q swaybg

# Wait until the processes have been shut down
while pgrep -u $UID -x  swaybg >/dev/null; do sleep 1; done

# Set new bg
swaybg -i "$1" &

should work fine

Would have directly submitted a pull request if I were still using github.. apologies 😅

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