Sibi Prabakaran
84caa46dab
Add github actions for test
2020-12-11 17:20:59 +05:30
Tomáš Janoušek
5db2589abf
Merge pull request #423 from dminuoso/fix-toenum-crash
...
Check for text encoding correctly and avoid bottom (#422 )
2020-12-11 01:53:41 +00:00
Victor Nawothnig
b594d97604
Check for text encoding correctly and avoid crash ( #422 )
2020-12-11 02:46:40 +01:00
Brent Yorgey
6381a4687f
Merge pull request #411 from PRESFIL/fix-Example.hs
...
Fix transients managing in X.C.Example
2020-12-02 13:17:28 -06:00
Brent Yorgey
a74ed5f724
Merge pull request #203 from Ongy/dzen-dock
...
Add -dock to dzen command
2020-12-02 13:15:28 -06:00
Brent Yorgey
317eb23654
Merge branch 'master' into dzen-dock
2020-12-02 13:15:01 -06:00
Brent Yorgey
e3558bce93
Merge pull request #401 from elkowar/cycle-action
...
Add new module XMonad.Util.ActionCycle
2020-12-01 14:32:54 -06:00
Matus Goljer
d9ad93a888
Add Emacs-style Prefix handling ( #159 )
...
* Add Emacs-style Prefix handling
* Update CHANGES.md
* Add helper tests for prefix type
* Add docstrings.
* Fix handling of repeated prefix when we fall-back with no binding.
* Add a caveat about nested prefix binding
2020-11-29 22:35:52 +05:30
Tomáš Janoušek
8f7f5f0a56
Merge pull request #414 from srid/patch-1
...
Loggers: don't hardcode /usr/bin
2020-11-29 11:55:45 +00:00
Brent Yorgey
8694656840
Merge pull request #405 from slotThe/toggleTopic
...
Update XMonad.Actions.TopicSpace
2020-11-28 14:00:41 -06:00
Tomáš Janoušek
a29b1565d4
Merge pull request #413 from amenonsen/dev/issue-111
...
Fix typo in X.L.IndependentScreens example code
2020-11-28 00:15:27 +00:00
Sridhar Ratnakumar
e52c20f70c
Update CHANGES.md
2020-11-27 21:56:13 +00:00
Sridhar Ratnakumar
95f68e2ca3
Loggers: don't hardcode /usr/bin
...
Some Linux distros, like NixOS, don't put these binaries under /usr/bin.
2020-11-27 21:54:07 +00:00
Abhijit Menon-Sen
d8cfdaf020
Fix typo in X.L.IndependentScreens example code
...
Closes #111
2020-11-27 21:51:09 +05:30
PRESFIL
2cfa5ef23a
Fix: reorder statements
2020-11-26 13:24:43 +00:00
PRESFIL
d18bcdc165
Replace composeOne with composeAll
2020-11-26 13:23:33 +00:00
slotThe
78796a24f9
Update changelog
2020-11-26 12:54:55 +01:00
slotThe
8822d2ff51
Add getLastFocusedTopicsByScreen, switchNthLastFocusedByScreen
2020-11-26 12:54:55 +01:00
slotThe
ce5aae5403
Use WorkspaceHistory
...
Instead of defining our own (internal) history, use an already established
module.
2020-11-24 08:35:08 +01:00
slotThe
3e7df4911a
Add workspaceHistoryModify
2020-11-24 08:27:39 +01:00
slotThe
ae6c658bc4
Add switchTopicWith
2020-11-24 08:27:39 +01:00
slotThe
1400d167ad
Cons on new topic before filtering the last used topics
...
Because the there is a hard limit on the number of items in the topic
history now, it makes sense to first cons on the topic and then filter
the result (so setLastFocusedTopic can be used to exclude certain topics
from ever entering the history).
2020-11-24 08:27:39 +01:00
slotThe
6079c61063
Use sortOn instead of sortBy comparing
2020-11-24 08:27:39 +01:00
slotThe
aa67fa5352
Respect maxTopicHistory when entering topics into the history
...
So far, maxTopicHistory was only used when pretty-printing the history
via pprWindowSet, which does not line up with the documentation that it
has.
2020-11-24 08:27:39 +01:00
slotThe
4c0b5330e7
Consistent indentation throughout the module
...
Two spaces seem to be a bit more common here, hence it was chosen over four
spaces.
2020-11-24 08:27:39 +01:00
slotThe
3c1866979d
Update documentation
2020-11-24 08:27:39 +01:00
slotThe
6b22ce17c7
Add switchNthLastFocusedExclude
...
This may be used to exclude certain topics that one never wants to
"switch back" to, even if it was visited (for example, the named
scratchpad topic).
2020-11-24 08:27:39 +01:00
slotThe
d13a26b11e
Update last focused topics when switching to a new one
2020-11-24 08:27:39 +01:00
Sibi Prabakaran
9976aa3b3c
Merge pull request #404 from slotThe/remove-default-deprecations
...
Remove Data.Default Deprecations
2020-11-24 12:29:13 +05:30
PRESFIL
02c6e0b0d4
Handle floating windows after making windows floating
...
Inspired with hgabreu's config. Now it makes more sense.
2020-11-24 00:33:54 +03:00
PRESFIL
e504f40f88
Fix transient windows handling
...
Since *transient windows* are a subset of *dialog windows*, they need to be caught early.
Otherwise, they are never managed by `transience`.
2020-11-24 00:33:34 +03:00
Tomas Janousek
f271d59c34
X.A.WorkspaceNames: Provide workspaceListTransform for EwmhDesktops
...
Together with ewmhDesktopsLogHookCustom this exposes workspace names to
external pagers.
Fixes: https://github.com/xmonad/xmonad-contrib/pull/105
Fixes: https://github.com/xmonad/xmonad-contrib/pull/122
Co-authored-by: Ivan Malison <IvanMalison@gmail.com >
2020-11-16 11:16:59 +00:00
Tomas Janousek
3dc6b44f86
X.A.WorkspaceNames: Kill a warning
2020-11-16 10:55:22 +00:00
Tomas Janousek
bda1d3356d
CHANGES: Trailing whitespace fixes
2020-11-16 10:55:22 +00:00
slotThe
683344ed25
Update CHANGES.md
2020-11-16 10:31:02 +01:00
slotThe
5140f5b5d0
Remove things deprecated by Data.Default
2020-11-16 10:31:02 +01:00
Sibi Prabakaran
cd1c1d1d69
Merge pull request #402 from elkowar/fix-usage-missing
...
Fix missing usage-section in XMonad.Hooks.WindowSwallowing
2020-11-15 22:01:50 +05:30
elkowar
9e3d17c1c0
Fix missing usage-section in XMonad.Hooks.WindowSwallowing
2020-11-15 13:28:13 +01:00
elkowar
ffae2dcd2f
Add new module XMonad.Util.ActionCycle
2020-11-15 13:22:11 +01:00
Tomas Janousek
5d2a6d75a8
X.H.EwmhDesktops: Fix _NET_* properties not being set at startup
...
None of these properties are currently being set when xmonad starts:
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x0
_NET_CURRENT_DESKTOP(CARDINAL) = 0
_NET_CLIENT_LIST_STACKING(WINDOW): window id #
_NET_CLIENT_LIST(WINDOW): window id #
because the caching introduced in 92fe5f34ff
initializes the
cache with the same values that they should have in an empty session, so
we don't detect a change and don't set them.
Fix it by initializing the cache with impossible (or at least extremely
improbable) values.
Fixes: https://github.com/xmonad/xmonad-contrib/issues/363
2020-11-09 22:15:25 +00:00
Brent Yorgey
e042bcce97
Merge pull request #398 from liskin/layoutclass-typeable
...
Add Typeable constraint to a few LayoutClass instances
2020-11-09 14:13:09 -06:00
Tomas Janousek
b989655cea
Add Typeable constraint to a few LayoutClass instances
...
This enables adding the Typeable constraint to LayoutClass itself
(https://github.com/xmonad/xmonad/pull/242 ) which in turn enables
querying the current layout state. That might be useful to e.g. show the
current X.L.WorkspaceDir in xmobar.
This is a preparation commit that fixes the compile failures that would
result in merging that change to xmonad. For this to be generally useful
we first need to merge (and ideally also release) that xmonad change,
and then we'll need some documentation and perhaps a type class to help
find the right LayoutModifier in the tree of ModifiedLayouts and
Choices. That will come later.
2020-11-09 16:37:30 +00:00
Tomas Janousek
087076f136
CHANGES: Document last 3 commits
2020-11-04 16:23:37 +00:00
Tomas Janousek
0996e71c7e
X.H.DynamicLog: Add shortenLeft
...
This can be sometimes useful, e.g. when showing a directory.
2020-11-04 16:17:32 +00:00
Tomas Janousek
d5b64c1e5d
X.L.WorkspaceDir: Export Chdir
...
This makes it possible to change the workspace directory by sending a
message, which enables automation/scripting not possible with
`changeDir` which displays a prompt.
Example of such usage:
6ea6c52aac/.xmonad/xmonad.hs (L183-L189)
2020-11-04 16:16:51 +00:00
Tomas Janousek
73eb28f669
XMonad.Prompt.Directory: Sort completion suggestions
2020-11-04 11:31:50 +00:00
Brent Yorgey
aa67439bfe
Merge pull request #192 from sgf-dma/x.h.focus
...
Resubmit #128 (X.H.Focus)
2020-10-29 19:55:41 -05:00
sgf
2cc20b4116
Add new module XMonad.Hooks.Focus .
...
Extend ManageHook EDSL to work on focused windows and current workspace.
2020-10-28 17:51:40 +03:00
sgf
45052b984d
X.H.EwmhDesktops. run 'logHook' for activated window.
...
- By default window activation does nothing.
- `activateLogHook` may be used for running some 'ManageHook' for
activated window.
- `activated` predicate may be used for checking was window activated or
not.
2020-10-28 17:51:40 +03:00
sgf
b2e16d3bf1
X.H.ManageHelpers: Make type of ManageHook combinators more general.
2020-10-19 15:18:00 +03:00