aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Util (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add XF86AudioMicMute to EZConfig (#582)Adam Vogt2014-12-221-0/+2
| | | | | | Ignore-this: 1c91505b303e53b94da624230b3c893c darcs-hash:20141222045306-1499c-3611f1dc7ab875a3d161668102c294954dd3e70a.gz
* remove unused importsAdam Vogt2014-08-152-2/+2
| | | | | | Ignore-this: b2e5be31b70e6d31827e76bd8c00d200 darcs-hash:20140815051234-1499c-1f99e6ccdd98f6d8cdac9d08ffe1babde42a434f.gz
* fix build with ghc-6.12Adam Vogt2014-08-151-1/+2
| | | | | | Ignore-this: d4c4da527db6c8affc151dc210631b85 darcs-hash:20140815051214-1499c-9b754c4927d8cc3a7c25dfb02c431c1423690c47.gz
* Implement proper handling of dynamically changing hostnameAnton Vorontsov2014-09-011-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 2aeac6d2161e666d40cda6a09f78b208 The module implements a proper way of finding out whether the window is remote or local. Just checking for a hostname and WM_CLIENT_MACHINE being equal is often not enough because the hostname is a changing subject (without any established notification mechanisms), and thus WM_CLIENT_MACHINE and the hostname can diverge even for a local window. This module solves the problem. As soon as there is a new window created, we check the hostname and WM_CLIENT_MACHINE, and then we cache the result into the XMONAD_REMOTE property. Notice that XMonad itself does not know anything about hostnames, nor does it have any dependency on Network.* modules. For this module it is not a problem: you can provide a mean to get the hostname through your config file (see usage). Or, if you don't like the hassle of handling dynamic hostnames (suppose your hostname never changes), it is also fine: this module will fallback to using environment variables. darcs-hash:20140901072158-1836e-fa2b05c79ec3217d5024b7e050b2239dcf7de4b4.gz
* use Data.Map instead of Data.Map.Strict to support containers < 0.5Adam Vogt2014-08-151-1/+1
| | | | | | Ignore-this: 436d18657d8499f4ce57311e84503d9f darcs-hash:20140815043141-1499c-b2cddf6361798f38a96268718fbdd0810cd1fc43.gz
* debug-debugallbery.b2014-08-031-12/+46
| | | | | | | | | Ignore-this: cbb2b1d99293e3a4d02a256c2733aeb0 Various fixes and enhancements to DebugWindow and DebugStack. ManageDebug requires these fixes, but some of them are significant even if not using ManageDebug. darcs-hash:20140803020530-181ff-f11b9446cddb31d970d1e227e63ec6ec5a45a0d2.gz
* derive Applicative instances to suppress AMP warningAdam Vogt2014-07-102-3/+5
| | | | | | Ignore-this: c2110d07bccc61462c3fbf73c900aaa1 darcs-hash:20140710163950-1499c-ee7151d0314d7c5f154782c2099a02377311aaf3.gz
* XSelection: getSelection: fix connection exhaustion bug (issue #573); ↵gwern2014-06-011-4/+10
| | | | | | | | include warning Ignore-this: add21190fc07338b243c2241cc746119 darcs-hash:20140601025019-25739-c68993f1e89524d9c6201a7c882fedbc8b106a41.gz
* warning policeDaniel Wagner2014-03-161-3/+1
| | | | | | Ignore-this: fd16435ccdd3fee8924723cc690cc239 darcs-hash:20140316183747-76d51-db901e98a7c9c2777be998c93ceb1fee28fc537b.gz
* New module: XMonad.Util.WindowStateDmitry Bogatov2014-02-181-0/+92
| | | | | | | | Ignore-this: 14a6fa263c423cd8cca3b2645b3930d7 Save almost arbitary data per window darcs-hash:20140218100229-71adb-e69daa4b2d56a5308e37cb9bb41a893ab3905fbe.gz
* SpawnNamedPipe hlint cleanupcwills.dev2014-02-021-2/+2
| | | | | | Ignore-this: dbb68c4c5522026bd108d0158e747b48 darcs-hash:20140202213613-3cb8c-f6ff5fd1a38cb0bc9ba779495369009817bb92dc.gz
* document and cleanup SpawnNamedPipecwills.dev2014-02-021-6/+40
| | | | | | Ignore-this: b264278f1f1ab1f18b37245a5ff33136 darcs-hash:20140202211000-3cb8c-b324c80fe56bee571252901d835511de9cd0e9bf.gz
* Added SpawnNamedPipecwills.dev2014-02-021-0/+42
| | | | | | Ignore-this: 87797ffffc8d0fd088482bd0c5baf0e darcs-hash:20140202143415-3cb8c-2c4563a42fe033527662ff7f7aeb175f8a110b63.gz
* use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner2013-05-283-119/+118
| | | | | | Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
* eliminate references to defaultConfigDaniel Wagner2013-05-286-17/+17
| | | | | | Ignore-this: 37ae613e4b943e99c5200915b9d95e58 darcs-hash:20130528005825-76d51-89eaf6f1aeeb02086371f9c4ae2afade984f62e0.gz
* Note in U.NameActions that xmonad core can list default keys nowAdam Vogt2013-02-181-0/+3
| | | | | | Ignore-this: 937bff636fa88171932d5192fe8e290b darcs-hash:20130217233026-1499c-2da4708f78202a50fcb6c2a99beebfb9b682cc78.gz
* Export U.NamedActions.addDescrKeys per evaryont's request.Adam Vogt2013-02-181-0/+1
| | | | | | Ignore-this: a694a0a3ece70b52fba6e8f688d86344 darcs-hash:20130217232619-1499c-e145cadf201a22ce2bdc95385edd30732bc3cfdf.gz
* order-unindexed-ws-lastmatthewhague2012-07-041-1/+9
| | | | | | | | Ignore-this: 4af8162ee8b16a60e8fd62fbc915d3c0 Changes the WorkspaceCompare module's comparison by index to put workspaces without an index last (rather than first). darcs-hash:20120703222726-d74b8-a673335f340ede40694c1b58899aaaeed4be95d3.gz
* Address warnings from Debug modulesAdam Vogt2012-12-151-3/+3
| | | | | | | | | | Ignore-this: f97416ae4feffe4e5f9916d14d9e1524 The warnings were related to ghc-7.6 removing Prelude.catch (triggering warnings regarding the import hiding it), as well as defaulting of some numeric types. darcs-hash:20121215165525-1499c-d960b0029306b898656aae8b61279a707f490c0b.gz
* debug-hooksallbery.b2012-08-141-0/+140
| | | | | | | | Ignore-this: 7f41c93fdd6643c687598d2fe07aad5d Hooks to print diagnostic information to stderr (usually .xsession-errors) to help debug complex issues involving the StackSet and received events. darcs-hash:20120813223821-181ff-63a79101b02b74c351344ae3d2768153a688ec7c.gz
* Remove trailing whitespace.Adam Vogt2012-11-094-6/+6
| | | | | | Ignore-this: 72e3afb6e6df47c51262006601765365 darcs-hash:20121109014156-1499c-45797b245e25e966e4ca337ee224b593aaac63a0.gz
* Use Control.Exception.catch explitly to avoid warningsAdam Vogt2012-11-093-11/+8
| | | | | | | | | | | | | | Ignore-this: 2cebdfe604c581f2b4a644e9aed726c7 The base that comes with ghc-7.6.1 no longer includes Prelude.catch; so these modules were changed so that there is no warning for import Prelude hiding (catch) At the same time these changes should be compatible with older GHCs, since the catch being has never been the one in the Prelude. darcs-hash:20121109013506-1499c-c593662b0780eb49287efcbfe0e9796f7dd57c73.gz
* strip newlines from dmenu's returns to be compatible with the newest version ↵longpoke2012-07-231-1/+1
| | | | | | | | of dmenu Ignore-this: 3b11a35125d0bc23b33e0b926562f85a darcs-hash:20120723212807-276ff-b11b0108dd7067ad927a2920d9cb366dcd90d18b.gz
* Paste.hs: rm noModMask, shifted definition to X11 binding (see previous email)gwern02011-12-031-6/+0
| | | | | | Ignore-this: dcd164ff8f8f135c8fdef08f42f9244d darcs-hash:20111203203038-f7719-68eb7740599fc1bb7683a7b1dc02aaf88e05f538.gz
* Fix typo in tabbed layout link for font utils docscrodjer2012-02-291-1/+1
| | | | | | Ignore-this: 2f7e90269e08ce08264d7b1d05bb16f9 darcs-hash:20120229070022-fbbbc-48f37639ecdaa828e63be0dcccc1aa14016fa88e.gz
* Adding use case for namedScratchpad.nicolas.dudebout2012-01-231-1/+19
| | | | | | Ignore-this: 44201e82bcd708cd7098f060345400f1 darcs-hash:20120122235843-358d5-68faf2afbfa56393817e6ef2ceaedc891da101ba.gz
* documentation patch: mention PostfixOperatorsDaniel Wagner2011-12-111-0/+9
| | | | | | Ignore-this: 20a05b1f396f18a742346d6e3daea9a8 darcs-hash:20111210234820-76d51-9e61d010d8e3f8cc477e4db4ec41f0985c588233.gz
* Paste: 3 more escaped characters from alistragwern02011-11-291-1/+1
| | | | | | Ignore-this: 46f5b86a25bcd2b26d2e07ed33ffad68 darcs-hash:20111129160335-f7719-1efa503dad26b44e2601ce27d23c9cc8ad1e2e0a.gz
* unfuck X.U.PasteDaniel Wagner2011-11-291-1/+1
| | | | | | Ignore-this: d450e23ca026143bb6ca9d744dcdd906 darcs-hash:20111129032331-76d51-a1431be2861220ae264e515bd562f8aab877924e.gz
* XMonad.Util.Paste: +alistra's patch for fixing his pasting of things like ↵gwern02011-11-281-2/+2
| | | | | | | | email address (@) Ignore-this: 4af1af27637fe056792aa4f3bb0403eb darcs-hash:20111128215648-f7719-6c58aa382dcf28e2e79cddfa2b8e5d6cba9a79cd.gz
* XMonad.Util.Paste: rm myself from maintainer field; I don't know how to fix ↵gwern02011-11-281-1/+1
| | | | | | | | any of it even if I wanted Ignore-this: 87a4996aaa5241428ccb13851c5eb455 darcs-hash:20111128213001-f7719-a5d60a1f6ecc2a907f7d145af681dc6d2676e27d.gz
* Fix spelling 'prefered' -> 'preferred'.Erik de Castro Lopo2011-11-251-2/+2
| | | | | | Ignore-this: f2eac1728b5e023399188becf867a14d darcs-hash:20111125010229-19cfc-51a7ef530470231721f266712ac7d9269c78007d.gz
* 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