Tomas Janousek
845d770f35
man: Apply hlint hints
...
These were applied to src/XMonad/Config.hs back in 2010 (77b3f62610) … :-)
2022-06-25 18:49:02 +01:00
Tomas Janousek
aa35ea1856
Make xmessage handle UTF-8 and export it
...
This unfortunately breaks xmonad-contrib as several modules define their
own `xmessage` function.
Related: https://github.com/xmonad/xmonad/pull/309
2021-08-17 10:46:07 +01:00
Matt Zrinsky
1a4c95fac8
Add help command to help message.
...
Attempt to contribute to xmonad,
and add a simple line to the help message,
containing the help command itself.
Fixes xmonad/xmonad#287
2021-07-02 13:58:00 -05:00
MuhammedZakir
2e6eb9068d
Use printf instead of echo for xmessage help
...
In some shells—like bash—the entire help message is shown in a single
line because a newline is printed as a literal "\n" character when using
echo. Some distributions[1] have /bin/sh linked to bash, and so new
users are likely to run into this at some point.
We could fix this by either removing show and explicitly adding an
escaped quotation symbol before and after the string, or by using printf
instead of echo. The printf solution seems more portable[2] and so I
propose we go with that one.
[1]: f5b9a25cdd/nixos/modules/config/shells-environment.nix (L129-L143)
[2]: https://unix.stackexchange.com/questions/65803/why-is-printf-better-than-echo/#65819
2021-06-27 08:09:33 +02:00
Daniel Wagner
ec1a20c727
depend on data-default, and deprecate the monomorphic name defaultConfig
2013-05-28 00:35:31 +00:00
Daniel Wagner
8f039ec434
use "modm" instead of "modMask" in the sample config
2013-01-06 17:44:14 +00:00
Daniel Wagner
057fcc5162
define the "help" string in the sample configuration bundled with xmonad
2013-01-06 17:42:54 +00:00
Adam Vogt
4120be8ba0
Copy help binding from XMonad.Config to man/xmonad.hs
2012-12-31 16:33:05 +00:00
Adam Vogt
4c1536cd18
Add clickJustFocuses option to template configuration.
2012-12-31 10:44:20 +00:00
Adam Vogt
32f416a3c2
Minor updates to supporting files (for 0.10 release).
2011-11-18 23:13:24 +00:00
Spencer Janssen
d5d8d551e6
Determine numlockMask automatically, fixes #120
2009-12-16 01:21:40 +00:00
Brent Yorgey
262db2367f
man/xmonad.hs: remove reference to deprecated 'dynamicLogDzen' function
2009-11-26 05:39:08 +00:00
wirtwolff
cde261ed56
man_xmonad.hs: import Data.Monoid for mempty, keybinding edits
...
Bring mempty into scope. Add commented ToggleStruts binding.
Replace shadowed modMask in keybindings with modm instead.
2009-03-20 02:46:24 +00:00
Spencer Janssen
7385793c65
Avoid deadly cycle in man/xmonad.hs
2009-03-19 08:19:18 +00:00
wirtwolff
72885e7e24
X.Config.hs, ./man/xmonad.hs: update Event Hook doc
2009-02-09 18:38:37 +00:00
Spencer Janssen
6e1c5e9b49
Asynchronously recompile/restart xmonad on mod-q
2009-01-17 03:53:00 +00:00
Devin Mullins
74c6dd2721
add W.shiftMaster, fix float/tile-reordering bug
2008-09-11 05:39:09 +00:00
Spencer Janssen
4890116e49
Remove gaps from the example config
2008-03-29 23:29:59 +00:00
Brent Yorgey
9d9acba45f
Add a startupHook.
...
The only thing I am not sure about here is at what exact point the
startupHook should get run. I picked a place that seems to make sense:
as late as possible, right before entering the main loop. That way all
the layouts/workspaces/other state are set up and the startupHook can
manipulate them.
2008-02-04 19:24:45 +00:00
Spencer Janssen
3e3d516092
Update example config
2008-01-27 21:23:31 +00:00
Spencer Janssen
31c7734f7b
Remove getProgName capability from restart, we don't use it anymore
2007-12-19 21:50:11 +00:00
Spencer Janssen
c46f3ad549
Call 'broadcastMessage ReleaseResources' in restart
2007-12-19 06:57:10 +00:00
Brent Yorgey
8c31768b79
man/xmonad.hs: add some documentation explaining that 'title' can be used in the manageHook just like 'resource' and 'className'.
2007-12-10 17:33:57 +00:00
Spencer Janssen
bbf5d0010c
Rename xmonad.hs to xmonad-template.hs
2007-12-09 23:14:26 +00:00