#!/usr/bin/env sh # required packages: # - sxiv SELECT=$(sxiv -N "floatme" -t -o ~/pictures/wallpapers ) SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") $SCRIPTPATH/set-bg.sh "$SELECT"