blob: 52695be62c68a075a9767d75a41de35ff61dad40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /usr/bin/env bash
if [ "$1" != "" ]; then
USER="$1"
fi
f=$(cat /home/$USER/.fehbg 2> /dev/null || exit 1)
if [ "$f" == "" ]; then
exit 1
fi
echo $f | grep \' | cut -d \' -f2
|