]> git.sev.monster Git - dotfiles.git/blob - bin/wall
update zsh, X, gpg config; add ssh config, gpg bin
[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.057625 seconds and 4 git commands to generate.