1 #!/bin/bash
   2 
   3 while read f; do
   4     case "$1" in
   5         "d") trash "$f";;
   6         "D") rm "$f";;
   7 
   8         "w") wal.sh "$f";;
   9         "W") wal.sh -i "$f";;
  10     esac
  11 done