aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2007-12-22Refactor Search.hsSpencer Janssen1-43/+29
darcs-hash:20071222044714-a5988-0c4a07c1f51845086668bf5536fb6f365e204441.gz
2007-12-22Generalize XSelection functions to MonadIOSpencer Janssen1-4/+4
darcs-hash:20071222044514-a5988-ae8ce172dc6ea85798147292601467a3aecdab82.gz
2007-12-22Search.hs: +imdb & amazon engines for unk_redgwern01-3/+11
darcs-hash:20071222035837-f7719-b8095cedd1787f569dca705228ee2827fd66f028.gz
2007-12-20Search.hs: cleanup and refactorgwern01-29/+31
darcs-hash:20071220174001-f7719-3e10f70144f41e02c0e51b434c561c0a366a49dc.gz
2007-12-17Util/Search.hs: a few updates/fixesBrent Yorgey1-3/+6
* fix shadowing warning (ghc 6.8.2 complains) * export a few more of the functions * re-de-obfuscate generated URLs by not escaping alphanumerics or punct. darcs-hash:20071217222930-bd4d7-6b3809c471754bb03ad6f3658f9e8c7c7d2865a2.gz
2007-12-15Util.Search: import escapeURIString, and fall back on the ugly const false ↵gwern01-4/+26
hack to avoid copy-pasting even more darcs-hash:20071215211638-f7719-8d0d1d832a8a4c1f059e043e6beb2d4834bfde8f.gz
2007-12-15Remove network dependency, potentially breaking XMonad.Util.SearchSpencer Janssen1-3/+1
darcs-hash:20071214231859-a5988-d1a859a979fb4f07d068a4688abb48d54966f1f9.gz
2007-12-14Search.hs: fix shadowing warning and haddock errorsBrent Yorgey1-2/+4
darcs-hash:20071214163119-bd4d7-1307134ac9e109a8912985e25c060474c1722a52.gz
2007-12-13+XMonad.Util.Search: new modulegwern01-0/+78
This module is intended to provide helpful functions for easily running web searchs; just hit a bound key, enter your query, and up opens a new tab/browser/window with the search results. In theory anyway; the Wikipedia and Google ones work fine for me, but the Internet Archive's docs on how to do don't necessarily seem to be correct. If you were, like me, previously running shell commands to call Surfraw or similar shell scripts to do the same thing, you can now scrap them and replace them. There aren't too many search engines defined here; new ones would be good, and they're easy to add! darcs-hash:20071213205159-f7719-a0c0378f1e82af4c0b7126382ef1375fbb607dfc.gz
2007-12-12Run.hs: fix documentation, cleanup whitespaceValery V. Vorotyntsev1-3/+3
darcs-hash:20071212091516-ae588-40ba4e8560f1132c6054b3b459c9fcbf9c7679e3.gz
2007-12-08Remove XMonad.Operations importsSpencer Janssen1-1/+0
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
2007-12-08Prune more importsSpencer Janssen3-13/+1
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
2007-12-08Remove redundant importsSpencer Janssen6-15/+4
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-11-30update XSelection.hs; apparently the utf8-string library has updatedgwern01-24/+24
Note that this does not fix the apparent problems with actually using getSelection, even though it works fine from a GHCi prompt... darcs-hash:20071130161429-f7719-bc3851efe33384219400b8ce54569a4efbb89abb.gz
2007-11-22remove need for faulty Read instance of NamedWindow.David Roundy1-1/+1
darcs-hash:20071122170448-72aca-97dc958d0a6481223447eabd9f0f9a598e4b72a5.gz
2007-11-22NamedWindow: Mosaic requires NamedWindow to have a Read instanceAndrea Rossato1-1/+1
darcs-hash:20071122133802-32816-972d0b380b9c18cd80d36600950cd228ab52e697.gz
2007-11-22Added Anneal used by the original mosaicAndrea Rossato1-0/+93
darcs-hash:20071122133732-32816-ca39845860c4892d2c4e24424d58c10618e4a31f.gz
2007-11-21Font: haddock fixAndrea Rossato1-2/+2
darcs-hash:20071121141618-32816-bac6da91ba877cef9f7c2512ef94453c10b4ebcb.gz
2007-11-21NamedWindows: haddock fixAndrea Rossato1-1/+1
darcs-hash:20071121141424-32816-3a6b7f8f98adeb0761a769932f72808e16185093.gz
2007-11-21XUtils: haddock fixAndrea Rossato1-1/+2
darcs-hash:20071121141319-32816-d562b3c0708cd412aa83acef0878d4954dcc0cb6.gz