Commit Graph

539 Commits

Author SHA1 Message Date
l.mai
6120380809 fix SwitchTrans some more 2007-10-07 22:41:16 +00:00
Devin Mullins
11687d63fb update doco 2007-10-07 21:59:06 +00:00
Devin Mullins
ad9e827492 add bringMenu, and extract duplication 2007-10-07 21:55:32 +00:00
Andrea Rossato
c415ab00b7 DragPane must handle ExposeEvent too 2007-10-08 07:47:02 +00:00
gwern0
a82a44282f ShellPrompt.hs: add getShellCompl to export list
getShellCompl is useful for writing prompts in Config.hs or even full standalone prompts; and personally, if a  small utility function like 'split' can be exported, how much more so something useful like getShellCompl?
2007-10-07 22:02:36 +00:00
Andrea Rossato
574cb0baa0 Tabbed and XPrompt updated to lates Extras changes 2007-10-07 16:38:25 +00:00
Devin Mullins
e421157aa4 doc fixes for ManageDocks 2007-10-07 20:40:16 +00:00
l.mai
d4c9f0ead8 fix(?) SwitchTrans (makes noBorders work again) 2007-10-07 19:30:55 +00:00
l.mai
e02ad926e0 avoid compiler warning in FlexibleManipulate 2007-10-07 16:35:09 +00:00
gwern0
51084b8e64 update NoBorders.hs configuration documentation
It seems 'noBorder full' no longer hacks it.
2007-10-07 19:06:21 +00:00
Devin Mullins
5ea3b29dd5 d'oh, add WindowBringer to MetaModule 2007-10-07 18:51:38 +00:00
Devin Mullins
51d770e1e6 Maybe? What Maybe? (rollback earlier dmenu change) 2007-10-07 18:59:15 +00:00
Devin Mullins
367210bae1 Enter WindowBringer, Bringer of Windows. 2007-10-07 17:36:33 +00:00
Devin Mullins
87a35e799a add dmenuMap function 2007-10-07 17:25:43 +00:00
Andrea Rossato
be8baa8324 ShellPrompt: check for executables and better error handling
Code contributed by Spencer (basically I just removed FilePath
depenency).
2007-10-07 11:01:33 +00:00
mail
af3efea238 Move my NextWorkspace functionality into CycleWS
Hi,

This patch merges the additional functionality of my NextWorkspace into CycleWS,
using a compatible interface for what was there before.

Greetings,
Joachim
2007-10-07 10:39:33 +00:00
mail
a40f8c9c5f ManageDocks now handles STRUT windows as well
It now also detects window with STRUT set and modifies the gap accordingly.
Cheveats:
 * Only acts on STRUT apps on creation, not if you move or close them
 * To reset the gap, press Mod-b twice and restart xmonad (Mod-q)
2007-10-07 10:31:16 +00:00
mail
7486c29254 NextWorkspace haddock improvement
I just added to the docs how to move a window to the next workspace 
_and_ switch to that (by >>’ing the two actions). Some users (like me, it
seems) probably prefer that behaviour.

Greetings,
Joachim
2007-10-07 08:32:16 +00:00
mail
51033a3315 NextWorkspace: Go forward or backward
Hi,

inspired by RotView, I implemented an Extension that allows the user to go
forward or backward in the list of workspaces, or to move the current
window to the next or previous workspace. Haddock included. Works here, but
hardly tested (and while tired).

Cu torrow @ HacII, if you are there.

Greetings,
Joachim
2007-10-06 23:30:10 +00:00
mail
0d7daf4e27 Better EWMH support
Yay, SetWMName contains just what I need! Thanks Ivan, that saved me quite
some work. Now the panel switch should work even when you start with xmonad
right away, and don’t run it after metacity has run before :-]

Greetings,
Joachim
2007-10-07 09:16:48 +00:00
Andrea Rossato
39c0f0355b Add ShellPrompt to MetaModule 2007-10-07 07:59:37 +00:00
Andrea Rossato
bac3846853 Tabbed: updated to the last (unannounced) API changes 2007-10-07 07:20:18 +00:00
Andrea Rossato
0b3397aad3 ShellPrompt: fromMaybe requires importing Data.Maybe 2007-10-07 07:01:48 +00:00
l.mai
560801a88a add MouseGestures to MetaModule 2007-10-06 23:07:35 +00:00
l.mai
c1ab053662 re-add SwitchTrans to MetaModule 2007-10-06 23:07:11 +00:00
l.mai
da594e9907 add MouseGestures.hs to darcs 2007-10-06 23:04:25 +00:00
l.mai
bf103490d5 document noBorders breakage 2007-10-06 23:03:16 +00:00
nornagon
e1a10b926e Replace -fglasgow-exts with LANGUAGE pragma in WindowNavigation.hs 2007-10-06 22:41:56 +00:00
nornagon
48c89e0e3f Replace -fglasgow-exts with LANGUAGE pragma in ResizableTile.hs 2007-10-06 22:31:56 +00:00
nornagon
54e133cf0c Replace -fglasgow-exts with LANGUAGE pragma in MosaicAlt.hs 2007-10-06 22:30:25 +00:00
nornagon
54e9573b12 Replace -fglasgow-exts with LANGUAGE pragma in Grid.hs 2007-10-06 22:23:20 +00:00
nornagon
f06195dd47 Replace -fglasgow-exts with LANGUAGE pragma in Dishes.hs 2007-10-06 22:21:55 +00:00
l.mai
fbaa785424 update SwitchTrans for the new layout system 2007-10-06 21:20:08 +00:00
Christian Thiemann
2c600dbc7c Two new dynamic log functions that display the title of the currently focused window
I liked the window-title-in-statusbar feature of dwm very much and wanted to
have that in XMonad as well.  Somewhere on the net I found some code to put
into Config.hs (and sorry, that was last week and I already forgot where I got
it from) which I modified and put into the DynamicLog extension.  One can now
set the logHook in Config.hs either to dynamicLogWithTitle to get the usual
layout description and workspace list plus window title enclosed in angle
brackets, or dynamicLogWithTitleColored "white" (or "red" etc.) to have xmonad
print out some ^fg() markers for dzen to display the window title in the given
color.

Some windows (like terminals or browsers) change their window title from time
to time but xmonad does not recognize this.  So I started learning Haskell to
provide patches for X11-extras and xmonad so that PropertyNotify events are
captured and, if the event notifies about a WM_NAME property change, call the
logHook to update the status bar.

Hope you find this useful,
  Christian
2007-10-06 17:31:13 +00:00
Devin Mullins
beaead5256 change Dmenu functions to return IO/X (Maybe String)
dmenu exits with code 1 when you hit Escape, and I wanna create a contrib that
takes advantage of that.

This required changes in four contribs (Commands, DirectoryPrompt, ShellPrompt,
and WorkspaceDir), and might require changes in users' Configs. Also, I'm not
sure some of the changes I made to the client code are very Haskelly. Would
appreciate input there.
2007-10-06 07:09:59 +00:00
David Roundy
dcbfe603b5 fix problem found by Heffalump in CopyWindow. 2007-10-05 14:37:46 +00:00
mail
6c2b35046d (un)Manage Docks based on WINDOW_TYPE
Hi,

this is a replacement for the example code in Config.hs that should detect
and unamange, for example, the gnome-panel.

The problem with that code is that it also unamangs dialog boxes from gnome-panel
which then are not usable (no keyboard intput, at least here).

Greetings,
Joachim
2007-10-06 13:28:02 +00:00
Joachim Fasting
81c44fa3f6 MetaModule.hs: add Dishes. 2007-10-06 12:39:00 +00:00
Joachim Fasting
da60a371b1 Dishes.hs: needs -fglasgow-exts. 2007-10-06 12:38:51 +00:00
Joachim Fasting
d9fbcc7557 ResizableTile.hs: needs -fglasgow-exts. 2007-10-06 12:35:50 +00:00
Joachim Fasting
34b2ebb0a4 MetaModule.hs: whitespace. 2007-10-06 12:35:40 +00:00
Joachim Fasting
8f1a18d853 MetaModule.hs: add some missing imports. 2007-10-06 12:35:25 +00:00
Joachim Fasting
91501f7a1c MetaModule.hs: typo. 2007-10-06 12:32:14 +00:00
Joachim Fasting
fff1778e75 NoBorders.hs: unused bindings. 2007-10-06 10:23:16 +00:00
Joachim Fasting
9c8877dad6 NoBorders.smartBorders: add type signature. 2007-10-06 10:22:10 +00:00
Joachim Fasting
25bc72459d Grid.hs: needs -fglasgow-exts. 2007-10-06 10:22:04 +00:00
mail
32cffdbca1 EwmhWindows wrap up for inclusion
Now with haddock documentation, a proper header and nicer, warningfree code, ready
for a first release and inclusion in XMonadConrib. It works for me, but needs more
testing. If you run xmonad with gnome-panel or something similar, please try it.

Thanks,
Joachim
2007-10-06 11:05:29 +00:00
mail
d72ff99200 EwmhDesktops initial patch
What works so far, quit hackerish:
 * Number of Workspaces
 * Active current workspace
 * Names of workspaces
More to come..
2007-10-05 22:25:40 +00:00
Devin Mullins
c51fcfef2d get rid of obviated comment 2007-10-06 05:56:52 +00:00
Devin Mullins
53ae2de5ac get rid of duplicate mapWorkspaces function 2007-10-06 05:54:04 +00:00