#!/bin/sh

IMAGES=`cat -`

case "$1" in
  "w")
    notify-send "$IMAGES" "background"
    ln -sf $IMAGES ~/background.jpg
    xwallpaper --zoom ~/background.jpg
    ;;
esac