dotfiles-remastered/.local/share/scripts/select-bg.sh

11 lines
199 B
Bash
Executable File

#!/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"