]>
git.rmz.io Git - dotfiles.git/blob - bin/old/windowmatching
   3 ## Gets the window propreties needed for compiz fusion's window regex 
   5 xprop 
> windowpref.tmp
; 
   7 type=`cat windowpref.tmp | grep _NET_WM_WINDOW_TYPE | cut -d_ -f10`; 
   8 role
=`cat windowpref.tmp | grep _WM_WINDOW_ROLE | cut -d\" -f2`; 
   9 name
=`cat windowpref.tmp | grep WM_CLASS | cut -d\" -f2`; 
  10 class
=`cat windowpref.tmp | grep WM_CLASS | cut -d\" -f4`; 
  11 title
=`cat windowpref.tmp | grep "WM_NAME(STRING)" | cut -d\" -f2`; 
  12 xid
=`cat windowpref.tmp | grep WM_CLIENT_LEADER | cut -d' ' -f5`; 
  20 echo state
='modal, sticky, maxvert, maxhorz, shaded, skiptaskbar, skippager, hidden, fullscreen, above, below, or demandsattention';