/[scripts]/trunk/dwm-popup
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/dwm-popup

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42 - (hide annotations)
Sat Jul 28 19:54:34 2007 UTC (16 years, 8 months ago) by dpavlin
File size: 402 byte(s)
two script to implmenet pop-up terminal window in dwm

1 dpavlin 42 #!/bin/sh -x
2    
3     name="wmrxvt-popup"
4     term="rxvt -geometry 100x30+100-0 -name $name -fn neep-alt-iso8859-2-24 -rv +sb -n $name -ls -e dwm-popup-term"
5    
6     if [ ! -e /tmp/popup.id ] ; then
7     $term
8     else
9     id=`cat /tmp/popup.id`
10     info=`xwininfo -id $id`
11     echo "*** $id ***"
12     test ! -z "$info" && (
13     op="-unmap"
14     echo $info | grep 'Map State: IsViewable' > /dev/null || op="-pop"
15     xwit $op -id $id
16     ) || $term
17     fi

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26