]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | wall="$HOME/var/tmp/wall.jpg" | |
3 | res=$(xdpyinfo) | |
4 | if [ $? -eq 0 ]; then | |
5 | res=$(echo "$res" | awk '/dimensions:/{print $2}') | |
6 | else | |
7 | echo "ERROR: $res" | |
8 | exit 1 | |
9 | fi | |
10 | wget -O "$wall" "https://source.unsplash.com/$res/?tunnel,architecture" && feh --no-fehbg --bg-fill "$wall" |