tchangewall - scripts - various script and utils
HTML git clone git://z3bra.org/scripts
DIR Log
DIR Files
DIR Refs
---
tchangewall (312B)
---
1 #!/bin/sh
2
3 WALLDIR=$HOME/usr/pics/bg
4
5 setwall() {
6 WALL=$(readlink -f $1)
7 hsetroot -fill $WALL
8 #hsetroot -fill $WALL -blur 8 -write $HOME/.blur.png
9 ln -sf $WALL ~/.wall.png
10 }
11
12 test -n "$1" && setwall $1 && exit
13
14 find $WALLDIR -name '*.png' | meh -list | while read WALL; do
15 setwall $WALL
16 done