Guest User

urxvt-wallpaper

a guest
Jan 19th, 2011
784
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. do_wallpaper ( ) {
  3.     local x
  4.     x=1
  5.     while [ "x$x" = "x1" ]
  6.     do
  7.         which "$1"||x=0
  8.         urxvt -name urxvt-wallpaper-$1 -j -ss -g $3 -fn "6x10" -fb "6x10" -transparent -tintColor white +sb -bl -e "$2" || x=0
  9.         echo $x
  10.     done
  11. }
  12.  
  13. do_wallpaper htop htop 70x25&
  14. do_wallpaper climm climm 48x25&
  15. do_wallpaper bash bash 80x31&
  16. do_wallpaper bash2 bash 85x31&
RAW Paste Data