Commit Graph

1468 Commits

Author SHA1 Message Date
Sibi Prabakaran
a812869c0c Use v2 of cache. Thanks to @liskin for the help! 2020-12-12 12:15:40 +05:30
Sibi Prabakaran
96fb01b9be Add lts-12 2020-12-12 12:09:15 +05:30
Sibi Prabakaran
6fa0bb7d4f Remove travis rule 2020-12-11 18:10:35 +05:30
Sibi Prabakaran
0a040cbc96 Add github CI integration 2020-12-11 17:49:45 +05:30
Sibi Prabakaran
96d4f1fe85 Merge pull request #219 from jumper149/master
Allow pattern-matching on 'XMonad.Layout.Choose' by exporting constructors
2020-12-08 21:14:27 +05:30
Felix Springer
30f2d9f325 Merge branch 'master' into master 2020-12-08 16:41:36 +01:00
Sibi Prabakaran
5be975b4f2 Merge pull request #247 from srid/patch-1
Fix dzen URL
2020-11-25 11:23:56 +05:30
Sridhar Ratnakumar
22c370a068 Fix dzen URL
dzen has moved to GitHub
2020-11-24 12:40:10 -05:00
Brent Yorgey
c3e032e08e Merge pull request #242 from liskin/layoutclass-typeable
Make layouts Typeable
2020-11-09 14:14:13 -06:00
Peter Simons
2c3bf17dfb Merge pull request #244 from blackgnezdo/flag-fix
Add required + before flag name cabal.project
2020-11-09 07:40:21 +01:00
Greg Steuck
a926b68838 Add required + before flag name cabal.project
This fixes the build with cabal-3.4.
2020-11-08 20:53:28 -08:00
Tomas Janousek
6dc1e319d1 Make layouts Typeable
This makes it possible to query the current layout state, which might be
useful to e.g. show the current X.L.WorkspaceDir in xmobar.

Example of use (assuming myLayout is the layout that is assigned to
layoutHook):

    asMyLayout (Layout l) = (`asTypeOf` myLayout) <$> cast l

    …

    layout <- asMyLayout . W.layout . W.workspace . W.current <$> gets windowset
    case layout of
        Just (WorkspaceDir d) -> …

Unfortunately this requires adding the Typeable constraint to a bunch of
classes in xmonad-contrib, so we need to merge those changes there first
(fortunately it doesn't need to go in lockstep, adding a Typeable
constraint to those classes in xmonad-contrib is harmless).
2020-11-04 15:28:04 +00:00
Peter Simons
0db71d552a Merge pull request #221 from liskin/float-dimensions
Use current screen to set dimensions of new floating windows
2020-08-25 12:49:53 +02:00
Peter Simons
f52ed1d19e Merge pull request #224 from dreamsmasher/master
Fixed typo in Main.hs
2020-08-25 12:48:03 +02:00
Peter Simons
ffcb01ad80 travis.yml: build GenerateManpage when compiling with ghc-8.6.x or later
Older versions will probably choke on pandoc-2.10.x.
2020-08-25 11:50:52 +02:00
Peter Simons
66d2241703 GenerateManpage: port the utility to pandoc 2.10.x 2020-08-25 11:46:30 +02:00
Peter Simons
11814bfec3 cabal.project: enable the generatemanpage flag by default in developer builds 2020-08-25 11:46:06 +02:00
Peter Simons
bbc1c010ed Re-generate the Travis-CI build instructions with the latest version of haskell-ci. 2020-08-25 11:45:51 +02:00
Norman Liu
eeeae810ae Fixed typo in Main.hs 2020-05-29 17:11:09 -04:00
Keith
3c6f52a349 deleted unused 'mul' definition in 'prop_aspect_fits'. 2020-05-25 13:03:08 -04:00
Sibi Prabakaran
40466b2be2 Merge pull request #222 from SCKelemen/patch-1
Nit: fix grammar/spelling issue
2020-05-23 12:43:36 +05:30
Samuel Kelemen
6a4a742feb Nit: fix grammar/spelling issue 2020-05-22 23:56:52 -04:00
Tomas Janousek
f8b243b66e Use current screen to set dimensions of new floating windows
This fixes a bug when using multiple screens with different dimensions,
causing some floating windows to be smaller/larger than the size they
requested.

Some applications (e.g. pinentry) always map their window at (0, 0) so
floatLocation would compute the window size relative to the screen
containing (0, 0) and if the current workspace is on another screen with
a different size, this relative size results in a different absolute
size, which is undesirable for fixed size floats.

Other applications like ssh-agent place their window at the center of
the framebuffer (ignoring xinerama layout). Same problem.

Then there are apps that remember their position/size when minimizing to
tray and then attempt to restore it when reopened. Again, if they
restore it on another screen, we miscalculate the size.

The fix is to use the current screen for calculating dimensions of new
(not yet mapped) floating windows.

Co-Authored-By: Vincent Vinel <narthorn@gmail.com>
2020-05-13 20:11:32 +02:00
Felix Springer
fa9a3abe49 Allow pattern-matching on 'XMonad.Layout.Choose' by exporting constructors 2020-03-31 22:46:56 +02:00
Sibi
78b967198b Merge pull request #215 from anandijain/master
update dead dmenu link
2020-03-24 15:21:53 +05:30
anand jain
68574be2cf Update README.md
Co-Authored-By: Tomáš Janoušek <tomi@nomi.cz>
2020-03-19 15:08:49 -05:00
anand jain
2ab37aa4a4 update dead dmenu link 2020-03-18 19:56:32 -05:00
Peter Simons
5ab9fede6c Merge pull request #204 from owm111/patch-2
Make "Default Keyboard Bindings" a heading
2019-12-27 11:38:48 +01:00
Owen McGrath
a81ba4ba53 Make "Default Keyboard Bindings" a heading
It looks like it should be a heading, but there wasn't a space so it wasn't one. Looked strange in the manpage.
2019-12-18 18:36:43 -06:00
Sibi
b65728032d Merge pull request #203 from owm111/patch-1
Update example config link
2019-11-17 12:08:20 +05:30
Owen McGrath
e747377775 Update example config link
The link for the example config leads to file saying "go here instead"; change initial link to "there".
2019-11-16 12:50:38 -06:00
Peter Simons
d6f88918de Merge pull request #196 from BPDanek/patch-1
punctuation change
2019-07-14 17:38:55 +02:00
Benjamin Danek
21cd920b61 punctuation change 2019-07-10 15:16:24 -07:00
Peter Simons
bb13853929 Bump version number, update changelog, and re-generate the man page. v0.15 2018-09-30 13:34:01 +02:00
Brent Yorgey
3d1720c3f3 Merge pull request #176 from LSLeary/sendmessage
Reimplement sendMessage to deal properly with windowset changes made during handling
2018-09-12 17:31:18 -05:00
L. S. Leary
0614ffb65c XMonad.Operations
* Add `windowBracket`: provide a means of handling windowset changes
   made during the course of arbitrary `X` actions. Buys composability.
 * Add `windowBracket_` variant.
 * Add `modifyWindowSet` utility for use with the above.
 * Re-implement `sendMessage` using `windowBracket_` so that its refresh
   handles changes made to the windowset by the message handler.
2018-09-13 08:19:37 +12:00
Sibi
85b47fc3ac Merge pull request #182 from nikolas/patch-1
Fix typo in delete test comment: identiy -> identity
2018-08-31 22:57:03 +05:30
nikolas
1a99280227 typo fix in delete test comment: identiy -> identity 2018-08-31 12:37:04 -04:00
Peter Simons
e8133eb9a6 CHANGES.md: add an entry for the 0.14.2 version 2018-08-24 12:11:20 +02:00
Peter Simons
4ccaff8f25 xmonad.cabal: bump version number to 0.14.2 for release v0.14.2 2018-08-21 09:59:02 +02:00
Peter Simons
56dc186e68 xmonad.cabal: the author attribute is free-form, not a list
I rather not trust other code that interprets that file to know how to strip
the white space before the commas.
2018-08-21 09:57:59 +02:00
Peter Simons
10b2efe81c xmonad.cabal: add missing xmonad.hs file to the tarball again
Fixes https://github.com/xmonad/xmonad/issues/181.
2018-08-21 09:57:11 +02:00
Peter Simons
49c69fa73b xmonad.cabal: require at least base version 4.9
We need GHC 8.x and beyond for Data.Semigroup, Control.Monad.Fail, etc.
v0.14.1
2018-08-20 14:06:32 +02:00
Peter Simons
120ebce490 xmonad.cabal: simplify and modernize the Cabal file
It's also pretty-printed with 'stylish-cabal' for consistent formatting.
2018-08-20 14:05:33 +02:00
Peter Simons
c0cf91303f Tentatively bump version number to 0.14.1. 2018-08-20 13:49:34 +02:00
Peter Simons
80f1c6f027 CHANGES.md: move PR entries into the right section 2018-08-20 13:49:34 +02:00
Peter Simons
c54e7088f0 Merge pull request #167 from mgsloan/log-recompilation-info
Log information about xmonad compile + avoid unnecessary recompile
2018-08-20 13:49:10 +02:00
Peter Simons
1f3a27f9b9 Don't build generatemanpage with ghc 8.6.x yet: we're lacking pandoc. 2018-08-20 12:44:16 +02:00
Peter Simons
ec97d83f3f GenerateManpage: fix compiler warnings 2018-08-20 12:01:33 +02:00
Peter Simons
f0975b734c git: ignore "cabal new-build"-style artifacts 2018-08-20 12:01:33 +02:00