dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit b240e6340b87cb682f5b430b3fc2cea9ce684427
parent 2f140b0881e954351564a63079fe91784f1d3f79
Author: z3bra <willy@mailoo.org>
Date:   Sat Jun 14 12:11:12 2014

Removed setwall() function, in favor of a script

Diffstat:
 bashrc | 18 ------------------
 1 file changed, 0 insertions(+), 18 deletions(-)

diff --git a/bashrc b/bashrc @@ -74,24 +74,6 @@ sprunge() { curl -sF "sprunge=<${FILE}" http://sprunge.us } -setwall() { - bgdir="$HOME/usr/img/bg" - - test -z "$1" && return - - # get screen dir - IFS='x ' read sw sh <<< `xrandr | awk '/*/ {print $1}'` - - # get image dimensions (needs two lines because of IFS, no idea why) - IFS=' ' isize=`identify $1 | awk '{print $3}'` - IFS='x ' read iw ih <<< `echo $isize` - - test $iw -lt $sw && mode='tile' || mode='fill' - - ln -sf $1 ${bgdir}/default - hsetroot -${mode} ${bgdir}/default -} - thumbify() { if [ -f $1 ]; then cp $1 thumb/$1