#!/bin/sh
if [ -e "$HOME/.fehbg" ]; then
image="$(tail -n 1 "$HOME/.fehbg" | cut -d' ' -f 4- | tail -c +2 | head -c -3)"
else
image="/usr/share/wallpapers/lockscreen.png"
fi
i3lock -f -t -i "$image"
xset dpms force off