meskarune/i3lock-fancy

i3lock-fancy doesn't work, if I installed from source.

raaron773 opened this issue · 2 comments

If I run it, I get the following error.
i3lock-fancy: line 9: convert: command not found
i3lock-fancy: line 98: import: command not found

Make sure you have all the dependencies installed. They are required for the script to work. Convert is from imagemagick

Hi,

if you've downloaded the appimage of imagemagick (https://imagemagick.org/archive/binaries/magick) then you'll need some helperscripts I did something like this:

cat <<EOF >/usr/local/bin/convert
#!/usr/bin/env bash

set -euo pipefail

/usr/local/bin/magick convert "${@}"
EOF
cat <<EOF >/usr/local/bin/import
#!/usr/bin/env bash

set -euo pipefail

/usr/local/bin/magick import "${@}"
EOF

It assumes that you've downloaded your magick appimage binary to /usr/local/bin.
After this everything works properly.