aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* No more tabsSpencer Janssen2007-12-221-1/+1
| | | | darcs-hash:20071222050439-a5988-7eb14f0e316b41ace318d1e4b92d15aaa3808c4d.gz
* Refactor Search.hsSpencer Janssen2007-12-221-43/+29
| | | | darcs-hash:20071222044714-a5988-0c4a07c1f51845086668bf5536fb6f365e204441.gz
* Generalize XSelection functions to MonadIOSpencer Janssen2007-12-221-4/+4
| | | | darcs-hash:20071222044514-a5988-ae8ce172dc6ea85798147292601467a3aecdab82.gz
* Search.hs: +imdb & amazon engines for unk_redgwern02007-12-221-3/+11
| | | | darcs-hash:20071222035837-f7719-b8095cedd1787f569dca705228ee2827fd66f028.gz
* Search.hs: cleanup and refactorgwern02007-12-201-29/+31
| | | | darcs-hash:20071220174001-f7719-3e10f70144f41e02c0e51b434c561c0a366a49dc.gz
* Util/Search.hs: a few updates/fixesBrent Yorgey2007-12-171-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
* Util.Search: import escapeURIString, and fall back on the ugly const false ↵gwern02007-12-151-4/+26
| | | | | | hack to avoid copy-pasting even more darcs-hash:20071215211638-f7719-8d0d1d832a8a4c1f059e043e6beb2d4834bfde8f.gz
* Remove network dependency, potentially breaking XMonad.Util.SearchSpencer Janssen2007-12-151-3/+1
| | | | darcs-hash:20071214231859-a5988-d1a859a979fb4f07d068a4688abb48d54966f1f9.gz
* Search.hs: fix shadowing warning and haddock errorsBrent Yorgey2007-12-141-2/+4
| | | | darcs-hash:20071214163119-bd4d7-1307134ac9e109a8912985e25c060474c1722a52.gz
* +XMonad.Util.Search: new modulegwern02007-12-131-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
* Run.hs: fix documentation, cleanup whitespaceValery V. Vorotyntsev2007-12-121-3/+3
| | | | darcs-hash:20071212091516-ae588-40ba4e8560f1132c6054b3b459c9fcbf9c7679e3.gz
* Remove XMonad.Operations importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
* Prune more importsSpencer Janssen2007-12-083-13/+1
| | | | darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
* Remove redundant importsSpencer Janssen2007-12-086-15/+4
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* update XSelection.hs; apparently the utf8-string library has updatedgwern02007-11-301-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
* remove need for faulty Read instance of NamedWindow.David Roundy2007-11-221-1/+1
| | | | darcs-hash:20071122170448-72aca-97dc958d0a6481223447eabd9f0f9a598e4b72a5.gz