Scripts quick access edit this |
- Author: Dave Pearson <davep@davep.org>
- Version: 1.2
- License: GNU GPL 2 only
- Download: wclass.jl
- Homepage: http://www.davep.org/sawfish/
Synopsis[]
Functions that allow you to test and work with window classes.
Description[]
This scripts defines the following functions that allow you to test and work with window classes.
wclass-window-class (w)
: Get the WM class of windoww
. The class of the theinput-focus
window will be returned ifw
isn't supplied.wclass-window-class-p (w class1 class2)
: Is windoww
of a given class?wclass-find-windows-of-class (class1 class2)
: Find windows matching the given class.wclass-find-first-window-of-class (class1 class2)
: Find first window of given class.
Installation[]
- Save wclass.jl in your load-path.
- Add the following line to your ~/.sawfishrc:
(require 'wclass)