aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support for scratchpad applications with multiple windowsNorbert Zeh2011-04-061-20/+27
| | | | | | | | | | | Ignore-this: 4c7d5f2ff95292438464e0b1060ab324 I recently found that I use xpad to add sticky notes to my desktop. I wanted to be able to show/hide these in the same fashion as regular scratchpads. This patch adds a function that allows to do this while reusing most of the existing NamedScratchpad code. darcs-hash:20110406140213-18a2b-402b9e2fdd26d4bb06bc50b094079b74e76c0208.gz
* Be consistent with core utf8-string usage.Adam Vogt2011-11-181-4/+7
| | | | | | | | | | Ignore-this: 9de0599d0fb888c58e11598d4de9599e Now that spawn assumes executeFile takes a String containing utf8 codepoints (and takes an actual String as input) adjust Prompt.Shell to avoid double encoding. U.Run functions are updated to be consistent with spawn. darcs-hash:20111118184745-1499c-0f5bee188cc9540d2747db1adbf87619011a5443.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-232-3/+4
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* documentation patch: note the drawbacks of X.U.DmenuDaniel Wagner2011-11-151-0/+5
| | | | | | Ignore-this: 97f9676ca075a6f96e090045886083ca darcs-hash:20111115022726-76d51-4b8d36710c17918da8682dce806cbccb32388f6f.gz
* U.EZConfig allow removing more than one mouse binding.Adam Vogt2011-09-231-1/+1
| | | | | | Ignore-this: 6f32ef805566f03977ea5c0fe0ace958 darcs-hash:20110923123907-1499c-0ad09e11f53a5d3d55aa95462f84bea5943fe2b1.gz
* Add XF86TouchpadToggle to the list of multimedia keys in X.U.EZConfigDaniel Schoepe2011-09-171-0/+2
| | | | | | Ignore-this: 84986d5b16c54199a589ed68842f5191 darcs-hash:20110917151419-723a1-a31cc9d4c86c3e04d3077e53b2d944c441bbc961.gz
* fix warnings in X.U.EZConfigBrent Yorgey2011-09-081-4/+4
| | | | | | Ignore-this: 5322d61eaf30b13e68a5674f8ac7084d darcs-hash:20110908133246-1e371-6df3e4a37fd897c3bef635610bb72a769f845117.gz
* GHC 7 compatDaniel Wagner2011-07-312-3/+13
| | | | | | | | | Ignore-this: 17a43a709e70ebccc925e016d7057399 * true error: more modules export foldl/foldl'/foldr, so explicitly use the Data.Foldable one * -Werror error: transition from Control.OldException to Control.Exception, assuming everything was IOException darcs-hash:20110731170850-76d51-71271524485f6d10f84521f271182bea5085d400.gz
* Compile with ghc7Mats Rauhala2011-05-041-2/+2
| | | | | | Ignore-this: 218d2e19835f1e4315c01bd6214899ce darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
* Prevent non-default XUtils windows from being compositedBrandon S Allbery KF8NH2011-02-241-0/+5
| | | | | | Ignore-this: 41a67b8504c412e2754085eb0038f416 darcs-hash:20110224003224-8238f-970f78334ed7710d78819867c8052304b9f14b08.gz
* XMonad.Util.Run: resolve issue #441gwern02011-04-111-11/+11
| | | | | | | | | | | | | | | Ignore-this: 9e3da81df65f6750c822a5044952f1a1 See <http://code.google.com/p/xmonad/issues/detail?idD1> > I have run into programs that fail when run by safeSpawn but succeed with spawn. > I tracked it down in one (python) and it seems to be due to uninstallSignalHandlers. > When run by safeSpawn, the program reports errors from wait. dylan did not supply a patch and his version doesn't match the declared type signature; since I don't want to break every `safeSpawn` user, I tossed a `>> return ()` in to make the type right, although I'm troubled at removing the exception functions. darcs-hash:20110411163740-f7719-bf0d46f94d103cc328629ad32f8e650fec609cdc.gz
* Compatibility with mtl-1 and mtl-2Adam Vogt2010-11-161-1/+1
| | | | | | Ignore-this: 4fb7f279365992fe9e73388b0f4001ac darcs-hash:20101115232654-1499c-411b53c153acbcbf791150e3923a754abe530202.gz
* Minor documentation fixes in X.U.ExtensibleStateDaniel Schoepe2010-10-041-7/+9
| | | | | | Ignore-this: 36a36d6e38f812744f8ec3df9bb56ffe darcs-hash:20101004120509-723a1-12e6582c867cd74124d057a8442af349f03bf823.gz
* Orphan my modulesmoserq2010-10-011-1/+1
| | | | | | Ignore-this: 781ebf36f25a94df96fde5f7bb7bc53e darcs-hash:20101001104300-88fd0-873c177e11b9e4bed41fc29048e45ca165e369f2.gz
* Remove last excess definition of `fi' (fromIntegral)Adam Vogt2010-09-142-8/+2
| | | | | | Ignore-this: 42d9282697573b361d763d980b816465 darcs-hash:20100913233850-1499c-20e07e9b380af55b7e1786630472a05996229c8c.gz
* XMonad.Util.Run: improve linking and rearrange docsgwern02010-06-201-5/+6
| | | | | | Ignore-this: d7b76532309237ddfa22c31a1f1ef5a4 darcs-hash:20100620175215-f7719-c08761496e5cbc2ff0d3f80218089dc4a92b0460.gz
* XMonad.Util.Run: correct broken examplegwern02010-06-201-1/+1
| | | | | | Ignore-this: b390fa0e36b0bd629e7016797e316760 darcs-hash:20100620175158-f7719-cfd30111efaeb0bf3a63763818d957293c73b93b.gz
* XMonad.Util.Run: fix unicode chargwern02010-06-201-1/+1
| | | | | | Ignore-this: 3e524f9d8a96cb47c2c8c7c265d8e649 darcs-hash:20100620175140-f7719-512559a22f28ac7af66de74bf308cb8473290351.gz
* XSelection.hs: update docs w/r/t unicodegwern02010-06-151-23/+15
| | | | | | | Ignore-this: 26042b8d27bed602c1844181036a9bb see http://code.google.com/p/xmonad/issues/detail?id48 darcs-hash:20100615000902-f7719-6b0d996115b621c065b5ab8d4ff44ff1465bd84e.gz
* remove decodeInput/encodeOutputgwern02010-06-151-12/+0
| | | | | | | | Ignore-this: 2ed6a014130dba95c6b0a6fcac055110 see http://code.google.com/p/xmonad/issues/detail?id48 they are just synonyms for 2 utf8-string functions, and don't really help darcs-hash:20100614232300-f7719-66f0606d9c7323186cb6aa56dff11c506bb79c4e.gz
* Move Util.Font to .hs, and enable -XCPPAdam Vogt2010-04-291-0/+1
| | | | | | | | | | Ignore-this: 1e60993426bf8e146c9440e2dbb0f764 As the CPP pass was the only feature being used in Font.hsc (no other FFI) it's better to avoid hsc2hs, if only to make the purpose of the module clearer from the filename. darcs-hash:20100429140744-1499c-f99857787b7dfb1e80976e23dcb6dc58ef0c024e.gz
* Use imported `fi' alias for fromIntegral more often.Adam Vogt2010-04-162-4/+4
| | | | | | | | | Ignore-this: 51040e693066fd7803cc1b108c1a13d5 Also moves `fi' into U.Image to avoid cyclic imports, though XUtils sill exports that definition. darcs-hash:20100416212939-1499c-a12428074d873b1eaea197e1b79c0ca07a96b05f.gz
* Remove unnecessary imports.Adam Vogt2010-04-161-2/+0
| | | | | | Ignore-this: 11beb14b87e294dafb54cc3764393c5b darcs-hash:20100416160239-1499c-940cc49f991e3c74a408e278e86162c119a67547.gz
* image_buttonstrupill2010-03-312-6/+138
| | | | | | | | | | | | | Ignore-this: 418dbf488435c7c803695407557eecfb * Added a XMonad.Util.Image module to manipulate simple images and show them into an X drawable * Added the possibility of using image buttons instead of plain text buttons into the title bar * Added a XMonad.Layout.ImageButtonDecoration as an example of how to use the image buttons darcs-hash:20100331093808-a84fe-e6d3ce505f7656eef13f0c0609a8d236d9cd8d25.gz
* Correct module header.Adam Vogt2010-03-301-1/+1
| | | | | | Ignore-this: 53edd88f94f0b7d54fc350c47c38898c darcs-hash:20100330181029-1499c-44639cda4e4750c6d5d1e529bdb03899bf977c34.gz
* Use more monoid instances to clean up U.WorkspaceCompareAdam Vogt2010-02-221-6/+2
| | | | | | Ignore-this: ab7089175a7486144e01b706de04036e darcs-hash:20100222151710-1499c-e42b819bc146570ed3dd8127d580ab4fc9f2688f.gz
* Update my e-mail addressquentin.moser2010-01-171-1/+1
| | | | | | Ignore-this: f5efc4d494cb001d3cfbe2b2e169cbe5 darcs-hash:20100117011109-5ccef-9bf858e60dffc4321b5e324c76b8b72386051c76.gz
* New module: X.U.Stackquentin.moser2010-01-171-0/+340
| | | | | | | | | | | Ignore-this: e0c3969042ca5e1e8b9e50436519e52a Utility functions for working with Maybe Stacks, including: - useful conversions to and from lists - insertUp/Down, swapUp/Down, focusUp/Down, etc - maps, filters and folds darcs-hash:20100117002104-5ccef-eb425a7d8e0d0adff233997a15a4bfc88eb5311c.gz
* bugfix: removeKeys should remove all keys in the provided listDaniel Wagner2010-03-271-1/+1
| | | | | | Ignore-this: 711c776a19d428a2ab4614ee82641de4 darcs-hash:20100327192541-76d51-86f4fab8c1dca9f10b2d999cc891290fdfcd6927.gz
* Replace.hs: rm trailing whitespacegwern02010-03-141-2/+2
| | | | | | Ignore-this: ee951e62c1de753907f77a8a6bac7cae darcs-hash:20100314210109-f7719-2fb36616cff2f5447065448ea0c59c3e8d6a9e5a.gz
* X.U.WorkspaceCompare xinerama compare with physical orderAnders Engstrom2010-03-081-2/+20
| | | | | | | Ignore-this: 49296fb6e09717f38db28beb66bc2c80 Like the old xinerama workspace comparison, but order by physical location just like X.A.PhysicalScreens. Useful if using xinerama sort for statusbar together with physicalscreens. darcs-hash:20100308115402-8978f-8f7dda57b5dbe898f9b23a8eb1b6b27c184648f3.gz
* X.U.Dmenu helpers to run dmenu with argumentsAnders Engstrom2010-03-081-4/+17
| | | | | | Ignore-this: 7d582e06d0e393c717f43e0729306fbf darcs-hash:20100308115022-8978f-f1584a0f90a4d7f4620e4d45052bb2f8ac33f022.gz
* Use extensible-exceptions to allow base-3 or base-4Adam Vogt2010-01-243-8/+11
| | | | | | Ignore-this: 136f35fcc0f3a824b96eea0f4e04f276 darcs-hash:20100124203324-1499c-6e811978a61feebf704e3cd7543cbcc0b3e8a0b3.gz
* suppress some warnings under ghc 6.12.1 and clean up redundant imports to ↵Brent Yorgey2010-01-127-15/+4
| | | | | | | | get rid of some others. Ignore-this: bf3487b27036b02797d9f528a078d006 darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz
* small tweak to battery loggerBrent Yorgey2009-12-271-1/+1
| | | | | | Ignore-this: 350dfed0cedd250cd9d4bd3391cbe034 darcs-hash:20091227085641-1e371-d16502a506ecd2685eaa8f18acdedeb9bdd2c93e.gz
* Fix the createSession bug in spawnPipeSpencer Janssen2009-12-271-3/+1
| | | | | | | | Ignore-this: 2d7f8746eb657036d39f3b9aac22b3c9 Both the new XMonad.Core.xfork function and spawnPipe call createSession, calling this function twice results in an error. darcs-hash:20091227003501-25a6b-5a23d578f0a0f368e28041b7be7defb532dd9ef3.gz
* Update all uses of forkProcess to xforkSpencer Janssen2009-12-233-16/+8
| | | | | | Ignore-this: 963a4ddf1d2f4096bbb8969b173cd0c1 darcs-hash:20091223064558-25a6b-b8cdfb14005aa9b60d9cbac7b257a6fc22b8eac4.gz
* Golf / style change in U.ExtensibleStateAdam Vogt2009-12-081-7/+6
| | | | | | Ignore-this: c35bd85baae4700e14417ac7e07de959 darcs-hash:20091208010506-1499c-555a4c881b1f83658460c18a6745eeb94205fe6e.gz
* Extended decoration theme to contain extra static text that always appears ↵Jan Vornberger2009-10-241-0/+1
| | | | | | | | in the title bar Ignore-this: 95f46d6b9ff716a2d8002a426c1012c8 darcs-hash:20091024213928-594c5-bd98d27b6a6389e04aeef5e1a80d9dbf2a32c46b.gz
* Extended paintAndWrite to allow for multiple strings to be written into the ↵Jan Vornberger2009-10-241-12/+15
| | | | | | | | rectangle Ignore-this: eb7d32284b7f98145038dcaa14f8075e darcs-hash:20091024205111-594c5-33318832d5ca7d71ece560ea79d45109001eadfb.gz
* Added the alignment option 'AlignRightOffset'Jan Vornberger2009-10-242-2/+3
| | | | | | Ignore-this: 58cc00e1be669877e38a97e36b924969 darcs-hash:20091024204513-594c5-0156243473792c90824835f7fc0cbc8b5078336c.gz
* Changed interface of X.U.ExtensibleStateDaniel Schoepe2009-11-163-27/+30
| | | | | | | | | Ignore-this: 9a830f9341e461628974890bab0bd65b Changed the interface of X.U.ExtensibleState to resemble that of Control.Monad.State and modified the modules that use it accordingly. darcs-hash:20091116171013-7f603-0631dc163d78785b123bc10164ee3295add28b60.gz
* PositionStoreFloat - a floating layout with support hooksJan Vornberger2009-11-151-0/+1
| | | | | | Ignore-this: 8b1d0fcef1465356d72cb5f1f32413b6 darcs-hash:20091115184833-594c5-9534e1ec9be959d18713bfdd1edbc1f5995cc4a8.gz
* PositionStore utility to store information about position and size of a windowJan Vornberger2009-11-081-0/+81
| | | | | | Ignore-this: 2f6e68a490deb75cba5d007b30c93fb2 darcs-hash:20091108195735-594c5-80fb89be9b363a7b0a8d4f54b968c57f4d0e9c74.gz
* rework XMonad.Util.Dzendaniel2009-11-141-12/+145
| | | | | | Ignore-this: 16d93f91c54f7d195b1a418e6c0351c5 darcs-hash:20091114051509-c98ca-aeb393daca11b2760066b030f45f6691571e3a1f.gz
* generalize IO actions to MonadIO mdaniel2009-11-143-9/+9
| | | | | | | | Ignore-this: 2c801a27b0ffee34a2f0daca3778613a This should not cause any working configs to stop working, because IO is an instance of MonadIO, and because complete configs will pin down the type of the call to IO. Note that XMonad.Config.Arossato is not a complete config, and so it needed some tweaks; with a main function, this should not be a problem. darcs-hash:20091114023616-c98ca-0a233cc53c41986845db4300530ec4f9e4d52a37.gz
* fix documentation to match implementationdaniel2009-11-141-2/+1
| | | | | | Ignore-this: 6dbbb118b139f443c40a573445a48d07 darcs-hash:20091114021328-c98ca-645fad0f6b8276a7682f9a4c852c1af7cb8a4e34.gz
* Bypass more of stringToKeysym in U.PasteAdam Vogt2009-11-142-2/+8
| | | | | | Ignore-this: 617c922647e9f49f5ecefa0eb1c65d3c darcs-hash:20091114223726-1499c-aac00e2ea1780619f15462df90216eba005ba8d1.gz
* Minor style corrections in X.U.SpawnOnceDaniel Schoepe2009-11-091-2/+2
| | | | | | Ignore-this: 1264852c23b4f84b2580bf4567529c68 darcs-hash:20091109201543-7f603-550d81edf3aecf9eaf4de25736e61d36adc8524c.gz
* X.U.ExtensibleState: styleSpencer Janssen2009-11-081-2/+1
| | | | | | Ignore-this: f189da75ad2c57ae9cca48eaf69a6bad darcs-hash:20091108182858-25a6b-3e5fad187245f37d07237f357c04620dee9fbf9d.gz