]> git.sev.monster Git - dotfiles.git/blame_incremental - bin/wall
add apkv, explicitly source XDG dirs in zshenv
[dotfiles.git] / bin / wall
... / ...
CommitLineData
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.032392 seconds and 4 git commands to generate.