]> git.sev.monster Git - dotfiles.git/blob - bin/wall
user-dirs: fix XDG_PUBLICSHARE_DIR
[dotfiles.git] / bin / wall
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"
This page took 0.053373 seconds and 4 git commands to generate.