Eric Mertens
58d131746a
TilePrime.hs: Give a description that distinguishs between horizontal/vertical
2007-10-18 06:37:49 +00:00
Spencer Janssen
107121680f
Truncate title at 80 characters
2007-10-18 00:30:13 +00:00
Spencer Janssen
7b82a81080
shorten in sjanssenPP too
2007-10-18 00:28:21 +00:00
Spencer Janssen
f706345292
Truncate long window titles
2007-10-18 00:25:11 +00:00
Eric Mertens
fc393b5f2c
DynamicLog.hs: Add ppWsSep field to PP to specify workspace separator.
...
This can be useful when you are using colors to distinguish between
workspaces and simply provides more functionality. The default behavior
remains the same.
2007-10-18 00:16:52 +00:00
Spencer Janssen
30e99281b2
Wrapping the empty string yields the empty string
2007-10-18 00:15:42 +00:00
Spencer Janssen
e4416696c1
DynamicLog: documentation only
2007-10-17 21:14:27 +00:00
Spencer Janssen
8340a26946
Allow the user to change the order of workspaces, layout, title
2007-10-17 21:13:03 +00:00
Spencer Janssen
840835f00a
Don't wrap the layout description by default
2007-10-17 21:10:11 +00:00
Spencer Janssen
d5a014725d
DynamicLog: not . null. Duh.
2007-10-17 21:09:12 +00:00
Spencer Janssen
005d65b57e
A big dynamicLog refactor
...
We introduce the PP type to allow user customization of dynamicLog.
dynamicLogWithTitle has been eliminated because this is the default behavior
for dynamicLog now.
2007-10-17 21:04:31 +00:00
Spencer Janssen
9ef8512291
Don't toLower the layout description.
...
If we'd really like lower case layout descriptions, the 'description' method
in the LayoutClass instances should be changed instead.
2007-10-17 20:29:53 +00:00
Eric Mertens
fa81ef9e07
TilePrime.hs: Correct behavior when number of windows <= nmaster
...
Additionally this patch does various clean-ups that should not
affect functionality.
2007-10-17 20:51:53 +00:00
Spencer Janssen
3b71671751
Remove RunInXTerm in favor of Run
2007-10-17 20:22:01 +00:00
Christian Thiemann
830945336f
Move runXXX functions to one module
...
This patch takes runProcessWithInput out of Dmenu, runProcessWithInputAndWait
out of Dzen, and runInXTerm out of RunInXTerm and collects them in one central
module called Run. This way, other modules may include Run instead of Dmenu
to get what they want without giving the impression of making use of dmenu.
2007-10-12 14:52:33 +00:00
Shachaf Ben-Kiki
c437e3e384
Fix LANGUAGE pragmas
2007-10-17 19:46:22 +00:00
l.mai
aba2e77b68
use full screen for single window in TilePrime
2007-10-17 19:14:21 +00:00
Eric Mertens
3e5c834c75
RotSlaves.hs: Add rotAll functions
2007-10-17 17:32:56 +00:00
Joachim Fasting
5abd5e39a6
TilePrime.hs: add usage info.
2007-10-17 19:26:12 +00:00
Joachim Fasting
1d006c67f3
TilePrime.hs: add LANGAUGE pragma.
2007-10-17 18:20:42 +00:00
Joachim Fasting
ac633a1486
MetaModule.hs: add WorkspacePrompt.
2007-10-17 18:20:27 +00:00
David Roundy
1d20921fb2
add TilePrime to MetaModule.
2007-10-17 13:32:02 +00:00
Eric Mertens
cbd3af0b0e
Initial import of TilePrime
...
This layout provides a standard tiling layout with support for resize hints
and filling the gaps created by them.
2007-10-17 05:20:17 +00:00
David Roundy
551e44ce55
code cleanup in selectWorkspace.
2007-10-16 23:12:18 +00:00
David Roundy
763a952c80
allow users to go to dynamically-added workspaces with mod-n.
2007-10-16 23:03:01 +00:00
David Roundy
e43eabfd93
add modules to deal with Workspaces (select, etc) by name using XPrompt.
2007-10-16 22:33:47 +00:00
David Roundy
1ec41467de
make windowNavigation simpler to use in simplest case.
2007-10-16 21:43:37 +00:00
David Roundy
7efca8901c
compute nice window border for WindowNavigation properly.
2007-10-16 21:33:16 +00:00
David Roundy
4c236753ec
fix docs on WindowNavigation.
2007-10-16 21:03:49 +00:00
David Roundy
2f3a40d535
compute a reasonable navigation color based on focussed color.
2007-10-15 16:55:04 +00:00
Andrea Rossato
d7704a3c0d
WindowNavigation: don't export the config constructor and some haddock fixes
...
I told to David I would have taken care of that: instead of exporting
the config constructor we export 2 functions: navigateColor and
noNavigateBorders. Updated documentation accordingly.
2007-10-13 09:05:24 +00:00
David Roundy
f785bad680
improvements in Combo.
2007-10-15 13:28:39 +00:00
Brent Yorgey
07184fed9f
Spiral.hs: add 'description' function to LayoutClass instance for SpiralWithDir.
v0.4
2007-10-16 14:09:59 +00:00
Spencer Janssen
452ba366ad
ShellPrompt: traverse $PATH once per invocation. Major speed improvement
2007-10-16 09:05:52 +00:00
gwern0
53c9038b53
ShellPrompt.hs: a quick optimization of nub
...
I saw some complaints about ShellPrompt being slow - and noticed it myself - and it seems ShellPrompt uses 'nub' in an awkward place to uniquefy input. Nub doesn't perform well on long lists, but I once ran into a similar problem and the suggested solution was something clever: convert to a Set and then back to a List. Sets can't have duplicate entries, and they uniquefy faster than nub. The price is that the output is not sorted the same as nub's output would be, but this is OK because the output of (toList . fromList) is immediately passed to 'sort' - which should then produce the same output for both versions. I haven't really tested this but on long directories this should help.
2007-10-15 23:48:50 +00:00
Spencer Janssen
550cea2da4
defaultLayout -> layoutHook
2007-10-15 20:59:01 +00:00
Spencer Janssen
a96e944477
LayoutSelection -> Select
2007-10-15 20:58:04 +00:00
Spencer Janssen
067bda6f29
defaultLayouts -> layouts
2007-10-15 20:55:42 +00:00
David Roundy
a1a2f6b6c3
fix float bug in CopyWindow.
2007-10-15 16:15:29 +00:00
Spencer Janssen
b27fcdf08b
Various docstring fixes
2007-10-13 23:05:29 +00:00
Alex Tarkovsky
5a0c98e1dd
TwoPane: Fix syntax error in example
2007-10-13 01:41:51 +00:00
Don Stewart
6f166ab4cb
note combo broken under head
2007-10-13 23:25:24 +00:00
Alex Tarkovsky
d5c174ab1d
New features for generate-configs.sh; renamed to generate-configs
2007-10-13 09:02:51 +00:00
Don Stewart
864dd9cea8
WorkspaceDir introduces dependency on directory package
2007-10-13 23:01:02 +00:00
Don Stewart
37bc27b7f8
Dmenu.hs introduces process dependency
2007-10-13 23:00:51 +00:00
Don Stewart
1d74c72415
serialisedLayouts
2007-10-13 23:00:40 +00:00
Don Stewart
6bfeae8592
Combo requires FlexibleContexts (but still doesn't compile under ghc head)
2007-10-13 23:00:20 +00:00
Don Stewart
abc5af1c8b
'Anneal' requires 'random' package in ghc 6.8
2007-10-13 23:00:07 +00:00
Don Stewart
75fbca3ecd
use leading % for magic comments in ./scripts/generate-configs.sh
2007-10-13 21:24:29 +00:00
Andrea Rossato
76964246ea
WindowPrompt: haddock fixes
2007-10-13 16:07:35 +00:00