aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Added scratchpadSpawnActionTerminal to specify the terminal program directly ↵Braden Shepherdson2008-06-081-0/+6
| | | | | | as a String. darcs-hash:20080608032619-d53a8-c0636b8e87746e0aa77713837cfae160e65968fa.gz
* Removed odd scratchpadSpawnDefault, improved documentation.Braden Shepherdson2008-06-081-14/+9
| | | | darcs-hash:20080608032439-d53a8-2a38fb4fedf6ef5cf52f41ce45d737a7dff8a397.gz
* decent documentation for UrgencyHookDevin Mullins2008-05-151-2/+1
| | | | | | Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
* minor cleanup on getNameDevin Mullins2008-05-041-5/+3
| | | | darcs-hash:20080504054923-78224-e8649c630c71c3ba23f549a9e4d02aa4b2f91d31.gz
* NamedWindows: when converting the text property, handle the empty list.Spencer Janssen2008-05-021-1/+6
| | | | | | | | This fixes a "Prelude.head" exception observed with windows that have no title. Reproduce by placing several windows in the tabbed layout, then starting 'xterm -name ""'. Thanks to Andrea for pointing out the issue. darcs-hash:20080502104249-a5988-c460b42456d65ad71016a7423e713b8250f1aa5c.gz
* XMonad.Util.WindowProperties: add WM_WINDOW_ROLE as RoleRoman Cheplyaka2008-04-091-1/+3
| | | | darcs-hash:20080409174935-3ebed-fdde76e2a0889e75467fe94af6f34f875a738dac.gz
* XMonad.Util.Font: minor reformattingLukas Mai2008-04-061-2/+2
| | | | darcs-hash:20080406020935-462cf-7570d989ed221f4394ad87e1207aa7fa14bd0789.gz
* XMonad.Util.Font: don't call setlocale; core does it for usLukas Mai2008-04-061-15/+2
| | | | darcs-hash:20080406013123-462cf-886315685e0e1a8824b384d05d1e89b557047cde.gz
* XMonad.Util.NamedWindows: fix importsLukas Mai2008-03-261-2/+2
| | | | darcs-hash:20080326172745-462cf-ea5ac2b804ac082cbb3464d95256645e6b1bf3d8.gz
* Changed getName to use locale-aware functionsMats Jansborg2007-08-191-3/+12
| | | | | | Rewrote getName using getTextProperty and wcTextPropertyToTextList. darcs-hash:20070819132104-7344d-78695db057adecf12b37a3caae6ef1b624aae4f2.gz
* Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey2008-03-281-1/+3
| | | | | | for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
* focusedHasPropertyredbeard05312008-03-251-1/+11
| | | | darcs-hash:20080325040412-c935a-a165c9d60780822b78ad984fa1a8514d5f64c12b.gz
* XMonad.Util.Themes: improve documentation to make it clear that themes only ↵Brent Yorgey2008-03-241-8/+12
| | | | | | apply to decorated layouts darcs-hash:20080324185946-bd4d7-477aaac8b62e875914f56ff7cd8ea7dbfbf58500.gz
* wfarrThemewcfarrington2008-03-241-0/+18
| | | | | | Add a new color theme using blue and black. darcs-hash:20080324011625-05946-c5f8ef395cb99dbda0804ae07f10ec5ea0b6b553.gz
* cut Anneal and Mosaic.David Roundy2008-03-221-93/+0
| | | | darcs-hash:20080322153546-72aca-fe4f9a048f5a1127b0b2d7e7d382550c134b60af.gz
* WindowProperties: fix documentationBrent Yorgey2008-03-181-1/+1
| | | | darcs-hash:20080318204540-bd4d7-5526c42ce8026240d01d425208f6b9fbc6707877.gz
* Move window properties to a separate Util moduleRoman Cheplyaka2008-03-181-0/+49
| | | | | | | Add XMonad.Util.WindowProperties Modify XMonad.Layout.IM.hs to use WindowProperties. darcs-hash:20080318165658-3ebed-d440ac2a3eb05438402f2ce5e23dc7586a89ba70.gz
* Run.hs: improve haddockgwern02008-03-161-25/+26
| | | | | | | This module too was causing horizontal scrolling because of the shell command. I managed to discover that you only need to specify 'png:' *or* "foo.png", not both, which trimmed off enough characters. Also, I improved the docs for my functions. darcs-hash:20080316223219-f7719-0accbb96dc6a14bbb5ba302a2dbae65c1a78fedd.gz
* XSelection.hs: improved haddockf formatting, more links, & cpeditgwern02008-03-161-50/+51
| | | | darcs-hash:20080316222050-f7719-4a59f1251d47732d40495cba0aebe2a2a1442e52.gz
* Scratchpad: update to work with runLayout changesBrent Yorgey2008-03-111-5/+5
| | | | darcs-hash:20080311181715-bd4d7-5cff794736dff51acbdf3c6383f465b6707bfab3.gz
* EZConfig: add documentation and a warning, so no one repeats my silly ↵Brent Yorgey2008-03-111-1/+12
| | | | | | hard-to-track-down mistake. darcs-hash:20080311172610-bd4d7-3119b86f77cf8e26b17c68e074ce634bbee22009.gz
* Font and XUtils: add UTF-8 support and various fixes related to XFTAndrea Rossato2008-03-023-157/+228
| | | | | | | | | | | | | | - printStringXMF: use the background color for XFT fonts too - textWidthXMF now returns the text width even with xft fonts - textExtentsXMF will now return only the ascend and the descent of a string. - stringPosition now takes the display too - add support for UTF-8 locales: if the contrib library is compiled with the 'with_xft' or the 'with_utf8' option the prompt and the decoration system will support UTF-8 locales - this requires utf8-strings. darcs-hash:20080302095712-32816-f3d6d06ff9d921288b1625e4bfd643013d2075ec.gz
* Util.Run: minor clarification in commentgwern02008-03-031-1/+1
| | | | darcs-hash:20080303051513-f7719-6ebdf87e5a5889f480ad10e1f489dc7ce625ce46.gz
* Haddock fix: Changed URL-MarkupDominik Bruhn2008-03-021-1/+1
| | | | darcs-hash:20080302185435-ae55e-9f354d574e799dd14fb1c6dfead04edb8621604d.gz
* EZConfig: additional documentationBrent Yorgey2008-02-271-3/+15
| | | | darcs-hash:20080227164602-bd4d7-e866f61a86ddf7713450dcbe048ac914a216fe38.gz
* XMonad.Util.Scratchpad: change 'XConfig Layout' to 'XConfig l', to avoid ↵Brent Yorgey2008-02-271-2/+2
| | | | | | type mismatches; the exact layout type doesn't actually matter darcs-hash:20080227014201-bd4d7-575e99d56112ff746a07505f59d6b63d36953846.gz
* EZConfig: add an emacs-style keybinding parser!Brent Yorgey2008-02-261-8/+279
| | | | | | | | | | | | | | Now, instead of writing out incredibly dull things like ((modMask conf .|. controlMask .|. shiftMask, xK_F2), ...) you can just write ("M-C-S-<F2>", ...) Hooray! darcs-hash:20080226222723-bd4d7-9990a79938a01b53d11f2a27488b127333b52685.gz
* Scratchpad terminalBraden Shepherdson2008-02-251-0/+81
| | | | | | | | | | | | Key binding and ManageHook to pop up a small, floating terminal window for a few quick commands. Combined with a utility like detach[1], makes a great X application launcher. Requires my two new ManageHooks (doRectFloat, specifically). [1] http://detach.sourceforge.net darcs-hash:20080225183633-d53a8-d3d517320cd98c1b6ea2abe82262a0a6877f1406.gz
* improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey2008-02-191-0/+88
| | | | | | | | | | | | | | | | | | | XMonad.Util.Loggers Improvements to DynamicLog include: * Greatly expanded and improved documentation and examples * remove seemingly useless makeSimpleDzenConfig function * factor out xmobarPP * add new ppExtras field to PP record, for specifying 'extra' loggers which can supply information other than window title, layout, and workspace status to a status bar (for example, time and date, battery status, mail status, etc.) The new XMonad.Util.Loggers module provides some example loggers that can be used in the new ppExtras field of the PP record. Create your own, add them to this module, go crazy! darcs-hash:20080219210128-bd4d7-33f4bcf2732069a5b7cf7584efa6ee060604c40b.gz
* Util.Themes: add ppThemeInfor to render the theme infoAndrea Rossato2008-02-161-0/+7
| | | | darcs-hash:20080216113635-32816-25cdcb42aa91c55c1d9d71a3a0cb1ebd882d53f8.gz
* Themes: added robertTheme and donaldThemeAndrea Rossato2008-02-101-0/+37
| | | | darcs-hash:20080210083016-32816-305f528fe1192335215ad5110cf9ca2606f10be2.gz
* Run.hs: add an option to runintermsgwern02008-02-051-5/+5
| | | | | | | | | | | | It turns out that for urxvt, and most terminal, apparently, once you give a '-e' option, that's it. They will not interpret anything after that as anything but input for /bin/sh, so if you wanted to go 'runInTerm "'screen -r session' -title IRC"', you were SOL - the -title would not be seen by urxvt. This, needless to say, is bad, since then you can't do stuff like set the title which means various hooks and extensions are helpless. This patch adds an extra options argument which is inserted *before* the -e. If you want the old behaivour, you can just go 'runInTerm "" "executable"', but now if you need to do something extra, 'runInTerm "-title mutt" "mutt"' works fine. This patch also updates callers. darcs-hash:20080205031824-f7719-ca5117c1b75f6667459273be2613bc29e8cbbacb.gz
* Util.Thems: some more typos in commentsAndrea Rossato2008-02-081-3/+3
| | | | darcs-hash:20080207233341-32816-8024b74e572815920cda30ecbecd949ecfe3694b.gz
* Util.Themes: documentation and export list (added themes that have been left ↵Andrea Rossato2008-02-081-7/+29
| | | | | | out) darcs-hash:20080207232251-32816-2523d5d7f87bc296f7f49b886ed7958eb1c8774a.gz
* oxymor00nThemeits.sec2008-02-071-0/+21
| | | | darcs-hash:20080207213100-07ee0-46d825c3731ea3f33698ac3862408b543ec7e03e.gz
* Add Util.Themes to collect user contributed themesAndrea Rossato2008-02-071-0/+94
| | | | darcs-hash:20080207182843-32816-627be1eab5cb30e543ad88364ff459e3ae516055.gz
* Update to safer initColor apiDon Stewart2008-02-061-3/+5
| | | | darcs-hash:20080206192232-cba2c-fe41eae586cdcde8b8fa18789440175c4cdd0eaa.gz
* WorkspaceCompare: some refactoring.Brent Yorgey2008-02-011-17/+42
| | | | | | | | | | | | | * Export WorkspaceCompare and WorkspaceSort types. * Extract commonality in sort methods into mkWsSort, which creates a workspace sort from a workspace comparison function. * Rename getSortByTag to getSortByIndex, since it did not actually sort by tag at all; it sorts by index of workspace tags in the user's config. * Create a new getSortByTag function which actually does sort lexicographically by tag. * Enhance documentation. darcs-hash:20080201120430-bd4d7-71310db2b8d4248ddfb77e3fa25dd0f3b98ea00b.gz
* Extended PP with sorting algorithm specification and added xinerama sortingJuraj Hercek2008-01-091-6/+34
| | | | | | | | | | | algorithm - idea is to specify sorting algorithm from user's xmonad.hs - xinerama sorting algorithm produces same ordering as pprWindowSetXinerama - default ppSort is set to getSortByTag, so the default functionality is the same as it was before darcs-hash:20080109154923-69f16-2b9674eab322c2cac47698a66402cecae6abe253.gz
* XUtils: add functions for operating on lists of windows and export fiAndrea Rossato2008-01-241-13/+28
| | | | darcs-hash:20080124134638-32816-43a3c58521c15bcef08ebe32868f026a2479384b.gz
* Timer: some code cleanupAndrea Rossato2008-01-141-9/+7
| | | | darcs-hash:20080114211114-32816-d08eb16da558f534ae7016d95f25ed559871541c.gz
* Use doubleFork instead of manual double fork, or buggy single fork.nicolas.pouillard2008-01-142-29/+16
| | | | | | | This fixes showWName because Timer was leaking zombie processes. You should update xmonad, since doubleFork was not exported. darcs-hash:20080114202833-94725-04a4419a36181a6cc0d662b868fef3374d9b38c1.gz
* Add XMonad.Util.Timer, a module to set up timers and to handle themAndrea Rossato2008-01-131-0/+62
| | | | darcs-hash:20080113090140-32816-8b407ee62d132e547232f674756c7c27c0f5c76b.gz
* formattingDon Stewart2007-12-041-2/+6
| | | | darcs-hash:20071204174920-cba2c-8c084bf72c344aa80847e6d167d955377260d9be.gz
* textExtentsXMF doesn't require the displayAndrea Rossato2007-12-281-4/+4
| | | | darcs-hash:20071228125913-32816-e6193e40cb78fed678761c550644a7c64062cb56.gz
* Fix isssue 105Andrea Rossato2007-12-241-10/+26
| | | | | | | | | | | issue 105 was due to the fact that tab windows created when bootstrapping the windowset after a restart where managed. Setting the override_redirect attributes to True fixes the issue. Added the possibility to set the override_redirect attribute with XMonad.Util.XUtils.creationNewWindow darcs-hash:20071224171020-32816-74cb79d8000d00c6eb9abdcf71474df5d0d9c735.gz
* Search.hs: mv into Actions/ per IRC suggestiongwern02007-12-241-101/+0
| | | | darcs-hash:20071224043735-f7719-8590b54e3ee001be953ae37a0177370fbe2d6cfa.gz
* Search.hs: add hoogleBrent Yorgey2007-12-221-2/+4
| | | | darcs-hash:20071222184912-bd4d7-e7bd40a137ab360c88a92b64f413536a699294c1.gz
* A few short comments for WorkspaceCompareSpencer Janssen2007-12-221-0/+4
| | | | darcs-hash:20071222105045-a5988-775e0ca1c62a7f1db386bdb739d4c0aad635862a.gz
* Factor workspace sorting into a separate moduleSpencer Janssen2007-12-221-0/+37
| | | | darcs-hash:20071222104114-a5988-bfd9059d0556a526c275b6d0e4a930103bd7d990.gz