Spencer Janssen
6c72a03fb1
Add support for several flags:
...
--version: print xmonad's version
--recompile: recompile xmonad.hs if it is out of date
--force-recompile: recompile xmonad.hs unconditionally
2007-12-22 02:05:20 +00:00
tim.thelion
da167bfc11
Allow for sharing of home directory across architectures.
2007-12-18 06:51:46 +00:00
Lukas Mai
9ceef229c3
normalize Module headers
2007-12-10 08:53:27 +00:00
Spencer Janssen
161ade3593
Use XMonad meta-module in Main.hs
2007-12-10 00:44:56 +00:00
Lukas Mai
4fa10442ab
add getXMonadDir (2nd try)
2007-11-21 18:30:18 +00:00
Spencer Janssen
92b4510d7b
Add recompilation forcing, clean up recompile's documentation
2007-11-20 22:36:14 +00:00
Don Stewart
45eea722be
Do our own recompilation checking: only launch ghc if the xmonad.hs is newer than its .o file
2007-11-19 01:07:59 +00:00
Lukas Mai
dcf53fbaf6
refactor main, add "recompile" to XMonad.Core
2007-11-08 23:09:33 +00:00
Don Stewart
dbfd13207d
Provide top level XMonad.hs export module
2007-11-07 03:06:17 +00:00
Lukas Mai
94924123bb
fall back to previous ~/.xmonad/xmonad if recompilation fails
2007-11-07 01:53:09 +00:00
Don Stewart
a13c11ff52
~/.xmonad/Main.hs is now ~/.xmonad/xmonad.hs !
2007-11-05 03:26:55 +00:00
Don Stewart
fcea17f920
makeMain -> xmonad
2007-11-05 03:12:03 +00:00
Don Stewart
30af3a8f84
EventLoop -> Core, DefaultConfig -> Config
2007-11-05 02:17:05 +00:00
Spencer Janssen
c3c39aae12
Hierarchify
2007-11-01 18:08:46 +00:00
Spencer Janssen
7bc4ab41c7
Main.hs -> DefaultConfig.hs, add new Main.hs with 'buildLaunch'
2007-11-01 17:57:49 +00:00
Spencer Janssen
e8d3f674ef
Only export main from Main
2007-11-01 08:23:26 +00:00
Spencer Janssen
8a5d2490bb
Add readsLayout, remove the existential from XConfig
2007-11-01 08:21:55 +00:00
Spencer Janssen
22aacf9bf6
Delete Main.hs-boot!
2007-11-01 08:00:45 +00:00
Spencer Janssen
b0b43050f4
Remove manageHook from Main.hs-boot
2007-11-01 07:53:08 +00:00
Spencer Janssen
8a8c538c23
Eliminate defaultTerminal
2007-11-01 07:31:47 +00:00
Spencer Janssen
e50927ffc0
Store user configuration in XConf
2007-11-01 07:23:08 +00:00
Spencer Janssen
3789f37f25
This is a massive update, here's what has changed:
...
* Read is no longer a superclass of Layout
* All of the core layouts have moved to the new Layouts.hs module
* Select has been replaced by the new statically typed Choose combinator,
which is heavily based on David Roundy's NewSelect proposal for
XMonadContrib. Consequently:
- Rather than a list of choosable layouts, we use the ||| combinator to
combine several layouts into a single switchable layout
- We've lost the capability to JumpToLayout and PrevLayout. Both can be
added with some effort
2007-11-01 06:43:18 +00:00
David Roundy
48ccbc7fb2
cleaner version of main/config inversion.
2007-10-29 18:48:23 +00:00
David Roundy
7b3c1243b7
make xmonad work with inverted main/config.
2007-10-18 17:00:58 +00:00
David Roundy
97fe14dfd2
sketch of config/main inversion.
2007-10-18 16:42:30 +00:00
Spencer Janssen
bd6a52e587
Clean up trailing whitespace
2007-10-15 02:23:22 +00:00
Don Stewart
775172983b
clean up names of layout code
2007-10-13 20:43:00 +00:00
Spencer Janssen
d610407cf8
Respect ExitExceptions, fixes a regression where exitWith had no effect
2007-10-12 15:28:01 +00:00
Spencer Janssen
1f625a6c0d
Add userCode function for the popular m catchX
return ()
2007-10-12 01:42:17 +00:00
David Roundy
1eaee82e85
catch exceptions when calling user-written code.
...
This is a minimal approach that only catches error
in actual user-written code.
2007-10-12 01:33:05 +00:00
David Roundy
6d7307030a
fix one last bug w.r.t. issue 55.
2007-10-12 01:05:09 +00:00
Don Stewart
6c94b3b217
more comments
2007-10-06 15:43:51 +00:00
Christian Thiemann
c66ff8335e
Add event handler for PropertyNotifyEvent that calls logHook if window title changed
2007-10-06 17:54:58 +00:00
Don Stewart
053f1adb7c
avoid name class with forever in 6.8
2007-10-06 10:35:30 +00:00
Spencer Janssen
e0bcad162f
Comment only
2007-10-05 03:44:45 +00:00
Spencer Janssen
b07e334405
Move grabButtons/Keys into X
2007-10-05 03:41:02 +00:00
Spencer Janssen
c237441003
Make WindowSet serialization robust to layout changes
2007-10-05 00:00:31 +00:00
Spencer Janssen
8b3dc01e53
Operations.windows is responsible for setting initial properties, remove redundant code from Main
2007-10-01 17:06:28 +00:00
Aaron Denney
ff1918ad20
On change of keyboard mapping, grabKeys from the root window.
2007-09-29 22:47:55 +00:00
David Roundy
5ef7c5f5d0
define defaultLayout in Config.hs.
2007-09-28 02:02:08 +00:00
David Roundy
f1c1e982a2
merge old workspace tags with new on restart.
2007-09-26 18:33:09 +00:00
David Roundy
9c35abaa46
Make a String description part of each Layout.
2007-09-24 18:57:53 +00:00
David Roundy
1c603ebc4b
add layout selection back into core xmonad using LayoutSelection.
...
This is just a reimplementation of LayoutChoice.
2007-09-21 21:21:59 +00:00
David Roundy
fe397edf4a
move Layout into StackSet.
...
WARNING! This changes the format of StackSet, and
will definitely mess up your xmonad state, requiring
at minimum a restart!
2007-09-20 22:12:48 +00:00
David Roundy
70282f23dc
add (unused) Layout to StackSet.
2007-09-20 21:28:43 +00:00
David Roundy
0e5f8b03e8
eliminate ugly OldLayout.
2007-09-20 15:52:37 +00:00
David Roundy
3f03dcb5c1
move Layout stuff into class (hokey first cut).
2007-09-14 21:59:59 +00:00
Karsten Schoelzel
b72c096bc6
Fix float behaviour, add shiftWin.
...
First, if float is called with window which is on a hidden workspace,
then the window will remain on that hidden workspace.
Now the focus should change more as expected:
float w = (view current) . (shiftWin ws w)
where
current is the current screen/workspace
shiftWin ws w is: - view the workspace w is on
- set focus on w
- shift ws
- set focus back to window it was on that workspace
unless w was focused
shiftWin was add to StackSet.hs
2007-09-10 09:03:29 +00:00
Don Stewart
6a273c2afa
-Wall police
2007-08-16 03:31:32 +00:00
David Roundy
ec0995a3a6
change workspaces to [WorkspaceId]
2007-08-14 00:37:22 +00:00