773pages on
this wiki
Add New Page
Talk0 Share
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)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.