Andrea Rossato
2b4179169b
XPrompt: catch exceptions when running the completion function
2007-10-26 21:18:59 +00:00
Andrea Rossato
eda311fa78
CycleWS: StackSet.findIndex is now findTag
2007-10-26 21:18:02 +00:00
Brent Yorgey
31f5d1a912
Dzen.hs: replace 'findIndex' by 'findTag' to match renaming in core.
2007-10-22 20:43:35 +00:00
gwern0
e3a96e2b5a
XPrompt.hs: add sensible bindings for Home and End
2007-10-26 03:50:26 +00:00
gwern0
89ffbc20a1
XPrompt.hs: add a pasteString function and keybinding
2007-10-26 03:49:20 +00:00
"Valery V. Vorotyntsev"
630166f9fa
Run.hs: documentation fix
2007-10-24 14:42:44 +00:00
"Valery V. Vorotyntsev"
906c3ccc32
XPrompt.hs (uniqSort): new function
...
Moved from ShellPrompt. There are at least three happy users
of this function -- ShellPrompt, SshPrompt, and ManPrompt.
2007-10-24 14:22:41 +00:00
"Valery V. Vorotyntsev"
bd13af8f25
SshPrompt.hs: use `uniqSort' from XPrompt.hs
...
Remove excessive import lists.
2007-10-24 14:41:28 +00:00
"Valery V. Vorotyntsev"
414a3dab6a
SshPrompt.hs (showXPrompt): use a single blank
...
Delete trailing whitespace. Fix documentation typo.
2007-10-22 19:20:37 +00:00
"Valery V. Vorotyntsev"
c7e078b73b
ShellPrompt.hs: move `uniqSort' to XPrompt.hs
2007-10-24 14:38:20 +00:00
"Valery V. Vorotyntsev"
11a7df81d6
ManPrompt.hs: use `uniqSort' from XPrompt.hs
...
TODO list extended.
2007-10-24 14:39:05 +00:00
Eric Mertens
dee7d9ef95
TilePrime.hs: Handle nmaster = 0 reasonably
2007-10-25 00:17:50 +00:00
Devin Mullins
b1da605575
oops, add period
2007-10-24 12:54:48 +00:00
Devin Mullins
3044a447e6
expand Invisible comments
2007-10-24 12:52:13 +00:00
Spencer Janssen
f213257f65
Remove excessive import lists from ShellPrompt
2007-10-24 11:31:06 +00:00
Spencer Janssen
c65b9c06b9
Use new terminal config option
2007-10-24 11:02:19 +00:00
gwern0
32a01355bf
Run.hs: do my usual segregation into safe and unsafe runInTerms
2007-10-24 00:39:11 +00:00
gwern0
ab941a450c
Run.hs: specialize runInXTerm to use runInTerm per my mailing list suggestion
2007-10-24 00:18:56 +00:00
gwern0
98f6709902
Run.hs: +my suggested runInTerm general function
2007-10-24 00:16:28 +00:00
gwern0
877999d890
Run.hs, SshPrompt.hs, ShellPrompt.hs: mv runInXTerm back into Run.hs per suggestions
2007-10-24 00:13:41 +00:00
Dougal Stanton
725b3a82ca
Comments for ConstrainedResize
2007-10-20 09:25:09 +00:00
Dougal Stanton
1ac15e3f83
Add ConstrainedResize module
...
Constrain the aspect ratio of floated windows by holding down shift
2007-10-19 17:35:08 +00:00
Devin Mullins
41a094601c
fix stupid dzenUrgencyHook bug
2007-10-21 06:13:08 +00:00
"Valery V. Vorotyntsev"
37a58b9df2
CycleWS.hs (toggleWS): new function
...
This is a pointfree adaptation of ViewPrev.viewPrev;
after this patch is applied, it may be a good idea to merge
ViewPrev.hs into CycleWS.hs.
2007-10-19 20:53:23 +00:00
Dmitry Kurochkin
139ce1b8c4
XPrompt.hs: fix vertical alignment of completions.
2007-10-23 18:31:29 +00:00
David Roundy
8649c90c55
fix bug in DragPane (where we forgot that r was mirrored).
2007-10-23 15:24:48 +00:00
"Valery V. Vorotyntsev"
49f2ae8b98
ManPrompt.hs: a manual page prompt (new module)
2007-10-22 19:14:43 +00:00
mail
8eca4751e0
STRUT aware gap toggling (clean patch)
...
Without this patch, ManageDocks would only set the gap according to a window’s
STRUT when the window is first mapped. This information would then get lost when
the user toggle the gap.
Now, when the user toggles the Gap, all present windows are scanned for STRUT
settings, and the gap is set accordingly. No need to manually configure the gap
anymore.
This is the same patch as before, but independant of the Hooks patches, and with
more documentation.
2007-10-22 22:01:32 +00:00
David Roundy
86839154d1
add new LayoutCombinators module.
2007-10-23 13:56:38 +00:00
David Roundy
640896d6f4
export DragPane type.
2007-10-23 13:49:33 +00:00
David Roundy
515d514491
make DragPane work with any type (not just Windows).
2007-10-23 13:49:11 +00:00
gwern0
0fe340d50c
SshPrompt.hs: while I'm here, replace nub with the faster Set trick
2007-10-19 18:15:14 +00:00
gwern0
b70448353f
ShellPrompt.hs: fmt imports and update
2007-10-19 18:13:17 +00:00
gwern0
1bded83669
SshPrompt.hs: fmt imports and update
2007-10-19 18:12:55 +00:00
gwern0
6f04a51959
XSelection.hs: fmt imports and sigs
2007-10-19 18:12:32 +00:00
gwern0
75589eaf16
XSelection.hs: +2 functions, safePromptSelection and unsafePromptSelection
...
Analogous to Run.hs patch; these use safeSpawn and unsafeSpawn respectively.
2007-10-19 18:11:37 +00:00
gwern0
c7e40aa771
Run.hs: +2 functions, safeSpawn & unsafeSpawn
...
See their documentation. This is part of a re-organization of various 'run' commands; this two
make it easier to go through the shell or not, and will be re-used elsewhere.
2007-10-19 18:10:09 +00:00
gwern0
0917e5f56f
Run.hs: fmt
2007-10-19 18:09:53 +00:00
gwern0
3483054089
Run.hs, ShellPrompt.sh: mv runInXTerm to ShellPrompt.hs
2007-10-19 18:09:00 +00:00
gwern0
890f586bb7
XSelection.hs: documentation format changes.
2007-10-19 01:00:57 +00:00
gwern0
984f9092c1
XSelection.hs: +type signature for auxiliary function
2007-10-19 01:00:34 +00:00
gwern0
f0eb0f0311
XSelection.hs: simplify creation of window
...
While spelunking in the xclip source code, I noticed it had much the same call to createSimpleWindow but with a simpler geometry - just 1x1 pixels, not the odd 200x100 of the original code. It seems to work the same and looks better and less mysterious, so unless arossato had a specific reason for those particular two numbers...
2007-10-19 01:00:13 +00:00
"Valery V. Vorotyntsev"
710aa7efb9
XPrompt.hs (keyPressHandle): Ctrl-g and Ctrl-c added to quit keystrokes
...
Obvious comments removed.
2007-10-20 17:09:36 +00:00
"Valery V. Vorotyntsev"
0febec2c69
XPrompt.hs: trailing whitespace cleaned
2007-10-20 17:07:19 +00:00
Shachaf Ben-Kiki
55b537f2a2
Fix pragmas in XMonadContrib
2007-10-22 01:17:38 +00:00
"Valery V. Vorotyntsev"
ab94a40160
test_XPrompt.hs: there is no ShellPrompt.rmPath
2007-10-19 20:58:30 +00:00
David Roundy
723e757910
introduce new combineTwo layout combinator.
...
This layout combinator is similar in spirit (and in code) to
the old combo combinator, but only allows two sublayouts. As
a result, we don't need to wrap these in existentials, and reading
works seamlessly. Also, we add the feature (which could also be
added to combo) of being able to change which sublayout a given
window is in through integration with WindowNavigation.
I envision combo being deprecated soon. combineTwo isn't quite
so flexible, but it's much easier and is better-coded also.
2007-10-20 19:17:48 +00:00
David Roundy
73a5299fbe
allow layout modifiers to modify a Message in transit.
...
This is a helpful feature (for, e.g. WindowNavigation) that
allows modifiers (if they so choose... the old API remains
supported) to easily send a single Message to the modified
layout in response to a Message.
2007-10-20 19:15:42 +00:00
Brent Yorgey
ba006db696
update UrgencyHook example config to reflect changes to WindowNavigation and core Config.hs
2007-10-19 14:55:26 +00:00
David Roundy
f2b5dfebed
add ToggleLayouts module.
2007-10-18 21:45:25 +00:00