summaryrefslogtreecommitdiff
path: root/nsxiv/exec/key-handler
blob: 08e06d5e0ec7cbe8edfdeefe6c1a5acaa9201d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

IMAGES=`cat -`

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