URI:
       tyawee - scripts - various script and utils
  HTML git clone git://z3bra.org/scripts
   DIR Log
   DIR Files
   DIR Refs
       ---
       tyawee (534B)
       ---
            1 #!/bin/sh
            2 
            3 WALL=$HOME/.wall.png
            4 BLUR=$HOME/.blur.png
            5 #BLUR=10
            6 
            7 blur() {
            8     hsetroot -fill $WALL -blur ${1:-$BLUR}
            9 }
           10 
           11 while IFS=: read ev wid; do
           12     case $ev in
           13         # window creation
           14         16) wattr o $wid || corner md $wid
           15             ;;
           16 
           17         # focus next window when deleting focused window
           18         18) wattr $(pfw) || vroum prev 2>/dev/null
           19             ;;
           20 
           21         # mapping requests
           22         19) wattr o $wid || vroum $wid &
           23             ;;
           24 
           25         # entering window
           26         7) wattr o $wid || wtf $wid ;;
           27     esac
           28 done