aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-06-08Removed odd scratchpadSpawnDefault, improved documentation.Braden Shepherdson1-14/+9
darcs-hash:20080608032439-d53a8-2a38fb4fedf6ef5cf52f41ce45d737a7dff8a397.gz
2008-05-15decent documentation for UrgencyHookDevin Mullins1-2/+1
Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
2008-05-04minor cleanup on getNameDevin Mullins1-5/+3
darcs-hash:20080504054923-78224-e8649c630c71c3ba23f549a9e4d02aa4b2f91d31.gz
2008-05-02NamedWindows: when converting the text property, handle the empty list.Spencer Janssen1-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
2008-04-09XMonad.Util.WindowProperties: add WM_WINDOW_ROLE as RoleRoman Cheplyaka1-1/+3
darcs-hash:20080409174935-3ebed-fdde76e2a0889e75467fe94af6f34f875a738dac.gz
2008-04-06XMonad.Util.Font: minor reformattingLukas Mai1-2/+2
darcs-hash:20080406020935-462cf-7570d989ed221f4394ad87e1207aa7fa14bd0789.gz
2008-04-06XMonad.Util.Font: don't call setlocale; core does it for usLukas Mai1-15/+2
darcs-hash:20080406013123-462cf-886315685e0e1a8824b384d05d1e89b557047cde.gz
2008-03-26XMonad.Util.NamedWindows: fix importsLukas Mai1-2/+2
darcs-hash:20080326172745-462cf-ea5ac2b804ac082cbb3464d95256645e6b1bf3d8.gz
2007-08-19Changed getName to use locale-aware functionsMats Jansborg1-3/+12
Rewrote getName using getTextProperty and wcTextPropertyToTextList. darcs-hash:20070819132104-7344d-78695db057adecf12b37a3caae6ef1b624aae4f2.gz
2008-03-28Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey1-1/+3
for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
2008-03-25focusedHasPropertyredbeard05311-1/+11
darcs-hash:20080325040412-c935a-a165c9d60780822b78ad984fa1a8514d5f64c12b.gz
2008-03-24XMonad.Util.Themes: improve documentation to make it clear that themes only ↵Brent Yorgey1-8/+12
apply to decorated layouts darcs-hash:20080324185946-bd4d7-477aaac8b62e875914f56ff7cd8ea7dbfbf58500.gz
2008-03-24wfarrThemewcfarrington1-0/+18
Add a new color theme using blue and black. darcs-hash:20080324011625-05946-c5f8ef395cb99dbda0804ae07f10ec5ea0b6b553.gz
2008-03-22cut Anneal and Mosaic.David Roundy1-93/+0
darcs-hash:20080322153546-72aca-fe4f9a048f5a1127b0b2d7e7d382550c134b60af.gz
2008-03-18WindowProperties: fix documentationBrent Yorgey1-1/+1
darcs-hash:20080318204540-bd4d7-5526c42ce8026240d01d425208f6b9fbc6707877.gz
2008-03-18Move window properties to a separate Util moduleRoman Cheplyaka1-0/+49
Add XMonad.Util.WindowProperties Modify XMonad.Layout.IM.hs to use WindowProperties. darcs-hash:20080318165658-3ebed-d440ac2a3eb05438402f2ce5e23dc7586a89ba70.gz
2008-03-16Run.hs: improve haddockgwern01-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
2008-03-16XSelection.hs: improved haddockf formatting, more links, & cpeditgwern01-50/+51
darcs-hash:20080316222050-f7719-4a59f1251d47732d40495cba0aebe2a2a1442e52.gz
2008-03-11Scratchpad: update to work with runLayout changesBrent Yorgey1-5/+5
darcs-hash:20080311181715-bd4d7-5cff794736dff51acbdf3c6383f465b6707bfab3.gz
2008-03-11EZConfig: add documentation and a warning, so no one repeats my silly ↵Brent Yorgey1-1/+12
hard-to-track-down mistake. darcs-hash:20080311172610-bd4d7-3119b86f77cf8e26b17c68e074ce634bbee22009.gz
2008-03-02Font and XUtils: add UTF-8 support and various fixes related to XFTAndrea Rossato3-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
2008-03-03Util.Run: minor clarification in commentgwern01-1/+1
darcs-hash:20080303051513-f7719-6ebdf87e5a5889f480ad10e1f489dc7ce625ce46.gz
2008-03-02Haddock fix: Changed URL-MarkupDominik Bruhn1-1/+1
darcs-hash:20080302185435-ae55e-9f354d574e799dd14fb1c6dfead04edb8621604d.gz
2008-02-27EZConfig: additional documentationBrent Yorgey1-3/+15
darcs-hash:20080227164602-bd4d7-e866f61a86ddf7713450dcbe048ac914a216fe38.gz
2008-02-27XMonad.Util.Scratchpad: change 'XConfig Layout' to 'XConfig l', to avoid ↵Brent Yorgey1-2/+2
type mismatches; the exact layout type doesn't actually matter darcs-hash:20080227014201-bd4d7-575e99d56112ff746a07505f59d6b63d36953846.gz
2008-02-26EZConfig: add an emacs-style keybinding parser!Brent Yorgey1-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
2008-02-25Scratchpad terminalBraden Shepherdson1-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
2008-02-19improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey1-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
2008-02-16Util.Themes: add ppThemeInfor to render the theme infoAndrea Rossato1-0/+7
darcs-hash:20080216113635-32816-25cdcb42aa91c55c1d9d71a3a0cb1ebd882d53f8.gz
2008-02-10Themes: added robertTheme and donaldThemeAndrea Rossato1-0/+37
darcs-hash:20080210083016-32816-305f528fe1192335215ad5110cf9ca2606f10be2.gz
2008-02-05Run.hs: add an option to runintermsgwern01-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
2008-02-08Util.Thems: some more typos in commentsAndrea Rossato1-3/+3
darcs-hash:20080207233341-32816-8024b74e572815920cda30ecbecd949ecfe3694b.gz
2008-02-08Util.Themes: documentation and export list (added themes that have been left ↵Andrea Rossato1-7/+29
out) darcs-hash:20080207232251-32816-2523d5d7f87bc296f7f49b886ed7958eb1c8774a.gz
2008-02-07oxymor00nThemeits.sec1-0/+21
darcs-hash:20080207213100-07ee0-46d825c3731ea3f33698ac3862408b543ec7e03e.gz
2008-02-07Add Util.Themes to collect user contributed themesAndrea Rossato1-0/+94
darcs-hash:20080207182843-32816-627be1eab5cb30e543ad88364ff459e3ae516055.gz
2008-02-06Update to safer initColor apiDon Stewart1-3/+5
darcs-hash:20080206192232-cba2c-fe41eae586cdcde8b8fa18789440175c4cdd0eaa.gz
2008-02-01WorkspaceCompare: some refactoring.Brent Yorgey1-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
2008-01-09Extended PP with sorting algorithm specification and added xinerama sortingJuraj Hercek1-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
2008-01-24XUtils: add functions for operating on lists of windows and export fiAndrea Rossato1-13/+28
darcs-hash:20080124134638-32816-43a3c58521c15bcef08ebe32868f026a2479384b.gz
2008-01-14Timer: some code cleanupAndrea Rossato1-9/+7
darcs-hash:20080114211114-32816-d08eb16da558f534ae7016d95f25ed559871541c.gz
2008-01-14Use doubleFork instead of manual double fork, or buggy single fork.nicolas.pouillard2-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
2008-01-13Add XMonad.Util.Timer, a module to set up timers and to handle themAndrea Rossato1-0/+62
darcs-hash:20080113090140-32816-8b407ee62d132e547232f674756c7c27c0f5c76b.gz
2007-12-04formattingDon Stewart1-2/+6
darcs-hash:20071204174920-cba2c-8c084bf72c344aa80847e6d167d955377260d9be.gz
2007-12-28textExtentsXMF doesn't require the displayAndrea Rossato1-4/+4
darcs-hash:20071228125913-32816-e6193e40cb78fed678761c550644a7c64062cb56.gz
2007-12-24Fix isssue 105Andrea Rossato1-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
2007-12-24Search.hs: mv into Actions/ per IRC suggestiongwern01-101/+0
darcs-hash:20071224043735-f7719-8590b54e3ee001be953ae37a0177370fbe2d6cfa.gz
2007-12-22Search.hs: add hoogleBrent Yorgey1-2/+4
darcs-hash:20071222184912-bd4d7-e7bd40a137ab360c88a92b64f413536a699294c1.gz
2007-12-22A few short comments for WorkspaceCompareSpencer Janssen1-0/+4
darcs-hash:20071222105045-a5988-775e0ca1c62a7f1db386bdb739d4c0aad635862a.gz
2007-12-22Factor workspace sorting into a separate moduleSpencer Janssen1-0/+37
darcs-hash:20071222104114-a5988-bfd9059d0556a526c275b6d0e4a930103bd7d990.gz
2007-12-22No more tabsSpencer Janssen1-1/+1
darcs-hash:20071222050439-a5988-7eb14f0e316b41ace318d1e4b92d15aaa3808c4d.gz