/[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

Contents of /trunk/dwm-popup

Parent Directory Parent Directory | Revision Log Revision Log


Revision 43 - (show annotations)
Sat Jul 28 20:00:07 2007 UTC (15 years, 4 months ago) by dpavlin
File size: 399 byte(s)
name window dsm-popup

1 #!/bin/sh -x
2
3 name="dwm-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