Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Action script for feh to remove the current image
#!/bin/sh
# ~/bin/feh-remove.sh
DIR=`dirname "$1"`
if [ ! -d $DIR/removed ]; then
mkdir $DIR/removed
fi;
mv "$1" $DIR/removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment