X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/61d7dd11d4a450a64f2817ee4db0ec7fa5880b42..b9e4a0c3af29391c27e9a020693541b9a86c4d14:/bin/windowmatching diff --git a/bin/windowmatching b/bin/windowmatching deleted file mode 100755 index 440047b..0000000 --- a/bin/windowmatching +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -## Gets the window propreties needed for compiz fusion's window regex - -xprop > windowpref.tmp; - -type=`cat windowpref.tmp | grep _NET_WM_WINDOW_TYPE | cut -d_ -f10`; -role=`cat windowpref.tmp | grep _WM_WINDOW_ROLE | cut -d\" -f2`; -name=`cat windowpref.tmp | grep WM_CLASS | cut -d\" -f2`; -class=`cat windowpref.tmp | grep WM_CLASS | cut -d\" -f4`; -title=`cat windowpref.tmp | grep "WM_NAME(STRING)" | cut -d\" -f2`; -xid=`cat windowpref.tmp | grep WM_CLIENT_LEADER | cut -d' ' -f5`; - -echo type=$type; -echo role=$role; -echo name=$name; -echo class=$class; -echo title=$title; -echo xid=$xid; -echo state='modal, sticky, maxvert, maxhorz, shaded, skiptaskbar, skippager, hidden, fullscreen, above, below, or demandsattention'; - -rm windowpref.tmp;