aboutsummaryrefslogtreecommitdiffstats
path: root/src/XMonad/Core.hs
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2015-04-14 20:48:21 +0200
committerAdam Vogt <vogt.adam@gmail.com>2015-04-14 20:48:21 +0200
commit0a23046a06d223caea4a02615201e05e88e0a255 (patch)
tree29ea14e187a0b8375244e664e6f0d5cf042519c8 /src/XMonad/Core.hs
parenta19946c22fc87796adb6c6c2ef4d23c5a1983c17 (diff)
downloadxmonad-0a23046a06d223caea4a02615201e05e88e0a255.tar.gz
xmonad-0a23046a06d223caea4a02615201e05e88e0a255.tar.xz
xmonad-0a23046a06d223caea4a02615201e05e88e0a255.zip
Make ~/.xmonad/xmonad-$arch-$os handle args like /usr/bin/xmonad
Ignore-this: add70a198fffaa94b14a35b585487eb3 darcs-hash:20150414184821-1499c-eebbc66c18dfc34d760357379ae5fbf224c6b7d1.gz
Diffstat (limited to 'src/XMonad/Core.hs')
-rw-r--r--src/XMonad/Core.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XMonad/Core.hs b/src/XMonad/Core.hs
index eb02704..066b8d4 100644
--- a/src/XMonad/Core.hs
+++ b/src/XMonad/Core.hs
@@ -114,6 +114,8 @@ data XConfig l = XConfig
, clickJustFocuses :: !Bool -- ^ False to make a click which changes focus to be additionally passed to the window
, clientMask :: !EventMask -- ^ The client events that xmonad is interested in
, rootMask :: !EventMask -- ^ The root events that xmonad is interested in
+ , handleExtraArgs :: !([String] -> XConfig Layout -> IO (XConfig Layout))
+ -- ^ Modify the configuration, complain about extra arguments etc. with arguments that are not handled by default
}