Quantcast Wclass - Sawfish
Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Wclass

From Sawfish

Jump to: navigation, search
Scripts quick access

[edit] Synopsis

Functions that allow you to test and work with window classes.

[edit] 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 window w. The class of the the input-focus window will be returned if w isn't supplied.
  • wclass-window-class-p (w class1 class2): Is window w 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.

[edit] Installation

  1. Save wclass.jl in your load-path.
  2. Add the following line to your ~/.sawfishrc:
    (require 'wclass)
Rate this article:
Share this article: