|Maintainer||Lukas Mai <email@example.com>|
This module provides helper functions to be used in manageHook. Here's how you
might use this:
manageHook = composeOne [
isKDETrayWindow -?> doIgnore,
resource =? "stalonetray" -?> doIgnore
|An alternative ManageHook composer. Unlike composeAll it stops as soon as
a candidate returns a Just value, effectively running only the first match
(whereas composeAll continues and executes all matching rules).
|A helper operator for use in composeOne. It takes a condition and an action;
if the condition fails, it returns Nothing from the Query so composeOne will
go on and try the next rule.
|q /=? x. if the result of q equals x, return False
|q <==? x. if the result of q equals x, return True grouped with q
|q </=? x. if the result of q notequals x, return True grouped with q
|A helper operator for use in composeAll. It takes a condition and a function taking a grouped datum to action. If p is true, it executes the resulting action.
|A helper operator for use in composeOne. It takes a condition and a function taking a groupdatum to action. If p is true, it executes the resulting action. If it fails, it returns Nothing from the Query so composeOne will go on and try the next rule.
|A predicate to check whether a window is a KDE system tray icon.
|A predicate to check whether a window is Transient.
It holds the result which might be the window it is transient to
or it might be Nothing.
|converts MaybeManageHooks to ManageHooks
|A ManageHook that may or may not have been executed; the outcome is embedded in the Maybe
|A convenience MaybeManageHook that will check to see if a window
is transient, and then move it to its parent.
|transience set to a ManageHook
|:: RationalRect||The rectangle to float the window in. 0 to 1; x, y, w, h.
|Floats the new window in the given rectangle.
|Floats a new window with its original size, but centered.
|Produced by Haddock version 2.3.0|