mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
X.A.WindowBringer: Add haddocks for WindowBringerConfig
This commit is contained in:
parent
6cb10c9300
commit
4983ecfd23
@ -46,10 +46,11 @@ import XMonad.Util.NamedWindows (getName)
|
|||||||
-- For detailed instructions on editing your key bindings, see
|
-- For detailed instructions on editing your key bindings, see
|
||||||
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
-- "XMonad.Doc.Extending#Editing_key_bindings".
|
||||||
|
|
||||||
data WindowBringerConfig = WindowBringerConfig { menuCommand :: String
|
data WindowBringerConfig = WindowBringerConfig
|
||||||
, menuArgs :: [String]
|
{ menuCommand :: String -- ^ The shell command that will handle window selection
|
||||||
, windowTitler :: X.WindowSpace -> Window -> X String
|
, menuArgs :: [String] -- ^ Arguments to be passed to menuCommand
|
||||||
}
|
, windowTitler :: X.WindowSpace -> Window -> X String -- ^ A function that produces window titles given a workspace and a window
|
||||||
|
}
|
||||||
|
|
||||||
instance Default WindowBringerConfig where
|
instance Default WindowBringerConfig where
|
||||||
def = WindowBringerConfig{ menuCommand="dmenu"
|
def = WindowBringerConfig{ menuCommand="dmenu"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user