File tree 2 files changed +17
-2
lines changed
2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 7
7
### New Modules
8
8
9
9
* ` XMonad.Actions.Profiles ` .
10
-
10
+
11
11
- Group workspaces by similarity. Usefull when one has lots
12
12
of workspaces and uses only a couple per unit of work.
13
13
19
19
20
20
- Fixed ` checkKeymap ` warning that all keybindings are duplicates.
21
21
22
+ * ` XMonad.Hooks.ManageHelpers `
23
+
24
+ - Added ` isNotification ` predicate to check for windows with
25
+ ` _NET_WM_WINDOW_TYPE ` property of ` _NET_WM_WINDOW_TYPE_NOTIFICATION ` .
26
+
22
27
### Other changes
23
28
24
- ## 0.18.0 (February 3, 20
29
+ ## 0.18.0 (February 3, 2024)
25
30
26
31
### Breaking Changes
27
32
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ module XMonad.Hooks.ManageHelpers (
51
51
isFullscreen ,
52
52
isMinimized ,
53
53
isDialog ,
54
+ isNotification ,
54
55
pid ,
55
56
desktop ,
56
57
transientTo ,
@@ -191,9 +192,18 @@ isMinimized :: Query Bool
191
192
isMinimized = isInProperty " _NET_WM_STATE" " _NET_WM_STATE_HIDDEN"
192
193
193
194
-- | A predicate to check whether a window is a dialog.
195
+ --
196
+ -- See <https://specifications.freedesktop.org/wm-spec/wm-spec-1.5.html#idm46485863906176>.
194
197
isDialog :: Query Bool
195
198
isDialog = isInProperty " _NET_WM_WINDOW_TYPE" " _NET_WM_WINDOW_TYPE_DIALOG"
196
199
200
+ -- | A predicate to check whether a window is a notification.
201
+ --
202
+ -- See <https://specifications.freedesktop.org/wm-spec/wm-spec-1.5.html#idm46485863906176>.
203
+ isNotification :: Query Bool
204
+ isNotification =
205
+ isInProperty " _NET_WM_WINDOW_TYPE" " _NET_WM_WINDOW_TYPE_NOTIFICATION"
206
+
197
207
-- | This function returns 'Just' the @_NET_WM_PID@ property for a
198
208
-- particular window if set, 'Nothing' otherwise.
199
209
--
You can’t perform that action at this time.
0 commit comments