Wikia

Sawfish

Wclass

773pages on
this wiki
Talk0
Scripts quick access edit this

Synopsis Edit

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

Description Edit

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.

Installation Edit

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

Around Wikia's network

Random Wiki