derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.46k stars 158 forks source link

action not mapped? not called during feh session #713

Closed stephenboston closed 1 year ago

stephenboston commented 1 year ago

I have a bash script move2new that moves a file from a camera downloads directory to a new directory.

I call to feh mapping this script to action0

I set w as the key to fire this action.

in keys

 action_0 w

the feh command

  /usr/local/bin/feh -T sfs --image-bg black  --borderless  action0=/hd2/projects/test/image/move2new.sh %F /home/stephen/photo/downloads

When I call the script directly through bash the script moves the file and writes the action to a log file.

When I press w during a feh session, there is no response. No move, no log, no error.