]> git.sev.monster Git - dotfiles.git/blame - bin/wall
user-dirs: fix XDG_PUBLICSHARE_DIR
[dotfiles.git] / bin / wall
CommitLineData
19d577d3 1#!/bin/sh
2wall="$HOME/var/tmp/wall.jpg"
3res=$(xdpyinfo)
4if [ $? -eq 0 ]; then
5 res=$(echo "$res" | awk '/dimensions:/{print $2}')
6else
7 echo "ERROR: $res"
8 exit 1
9fi
10wget -O "$wall" "https://source.unsplash.com/$res/?tunnel,architecture" && feh --no-fehbg --bg-fill "$wall"
This page took 0.063365 seconds and 4 git commands to generate.