#!/bin/sh while IFS= read -r file; do case "$1" in C-c) xclip -sel clip -t image/png <"$file" ;; C-w) xwallpaper --zoom "$file" ;; esac done