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

Make contrib/autorandr_nitrogen_wallpaper independent of command locations #340

Merged
merged 1 commit into from Apr 8, 2023

Conversation

flyinggecko
Copy link

Hey,

On NixOS, the autorandr_nitrogen_wallpaper-script doesn't work.
This is because NixOS doesn't have /bin/bash, /usr/bin/unlink, /bin/cp and /bin/mv.
To fix this and to help other systems that don't have those binaries, this pr uses which to find the binary and runs those.

Bests

Make commands independent of location on system
It helps running autorandr_nitrogen_wallpaper on systems without
/bin/bash, /usr/bin/unlink, /bin/cp and /bin/mv. E.g. NixOS, which
doesn't have /bin/bash.
@phillipberndt phillipberndt merged commit f2f5505 into phillipberndt:master Apr 8, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants