dotfiles-remastered/.local/share/scripts/select-bg.sh
2020-06-15 16:51:47 +02:00

11 lines
210 B
Bash
Executable File

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