Guest User

Untitled

a guest
Jul 24th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. blur() {
  4. hsetroot -fill $HOME/wall.png -blur ${1:-10}
  5. }
  6.  
  7. wew | while IFS=: read ev wid; do
  8. case $ev in
  9. # window creation
  10. 16) wattr o "$wid" || test "$(lsw)" = "$wid" && blur ;;
  11.  
  12. # window deletion
  13. 18) test -z "$(lsw)" && blur 0 ;;
  14. esac
  15. done
Add Comment
Please, Sign In to add comment