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

11 lines
210 B
Bash
Raw Normal View History

2020-06-15 14:51:47 +00:00
#!/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"