| 2025-03-07 00:32:56 +0000 | deepy | (deepy@user/deepy) (Ping timeout: 244 seconds) |
| 2025-03-07 01:03:22 +0000 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
| 2025-03-07 01:07:24 +0000 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) hackager |
| 2025-03-07 01:14:57 +0000 | <haskellbridge> | <leana8959> Are there some elegant way to write a "ManageHook" that inserts a new window conditionally above or below, similar to "insertPosition" in xmonad-contrib? |
| 2025-03-07 01:14:59 +0000 | <haskellbridge> | ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/KlQYuThTveAIxAhkPPwEMITb/BLhzykEpiY8 (6 lines) |
| 2025-03-07 01:16:18 +0000 | <haskellbridge> | <leana8959> * 2. |
| 2025-03-07 01:18:47 +0000 | <geekosaur> | correct, if you inspect the StackSet from the manageHook (use liftX) you won't see the new window, because the manageHook is run as part of building an updated StackSet |
| 2025-03-07 01:20:18 +0000 | <geekosaur> | but everything in the manageHook is a function which is passed the StackSet that's being built and returns a modified version (in the type, this is `Endo WindowSet`) |
| 2025-03-07 01:24:41 +0000 | <haskellbridge> | <leana8959> Yeah, so I suppose I have do to the decision (whether above or below) and the shifting in one go, meaning that I can't reuse the code of "insertPosition" ? |
| 2025-03-07 01:24:56 +0000 | <haskellbridge> | <leana8959> I'll figure that out tomorrow, it's kinda late. Thank you :) |
| 2025-03-07 01:31:24 +0000 | <Leary> | leana8959: `Query` is a `Monad`; you can write e.g. `do { n <- numWindows; insertPosition Newer (if n <= 1 then Above else Below) }`. |
| 2025-03-07 01:57:58 +0000 | Leary | (~Leary@user/Leary/x-0910699) (Remote host closed the connection) |
| 2025-03-07 02:11:52 +0000 | Leary | (~Leary@user/Leary/x-0910699) Leary |
| 2025-03-07 06:26:30 +0000 | ft | (~ft@p508db291.dip0.t-ipconnect.de) (Quit: leaving) |
| 2025-03-07 07:24:28 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
| 2025-03-07 07:29:38 +0000 | redgloboli | (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 2025-03-07 07:31:16 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 07:35:24 +0000 | edog | (~edog@alcotrash.org) (Ping timeout: 260 seconds) |
| 2025-03-07 07:35:39 +0000 | edog | (~edog@alcotrash.org) |
| 2025-03-07 08:04:35 +0000 | catman | (~catman@user/catman) (Quit: WeeChat 4.5.2) |
| 2025-03-07 08:06:55 +0000 | catman | (~catman@user/catman) catman |
| 2025-03-07 08:09:55 +0000 | mc47 | (~yecinem@p200300ee0f03e4d51c11c8d951bebe9d.dip0.t-ipconnect.de) |
| 2025-03-07 09:26:13 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 248 seconds) |
| 2025-03-07 09:29:19 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
| 2025-03-07 09:35:17 +0000 | <haskellbridge> | <leana8959> Leary: That is true, so I shall query the X monad within "Query" myself then (since "Query" is "Query (ReaderT Window X a)"? |
| 2025-03-07 09:38:46 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection) |
| 2025-03-07 09:53:14 +0000 | edog | (~edog@alcotrash.org) (Ping timeout: 252 seconds) |
| 2025-03-07 09:59:33 +0000 | edog | (~edog@alcotrash.org) |
| 2025-03-07 10:06:33 +0000 | <Leary> | leana8959: Yes, just use `liftX :: X a -> Query a`. |
| 2025-03-07 10:59:26 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
| 2025-03-07 11:03:59 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 252 seconds) |
| 2025-03-07 11:19:46 +0000 | ^Dan | (~xxx@89.136.142.218) |
| 2025-03-07 11:30:46 +0000 | L29Ah | (~L29Ah@wikipedia/L29Ah) () |
| 2025-03-07 11:30:46 +0000 | ^Dan | (~xxx@89.136.142.218) (Remote host closed the connection) |
| 2025-03-07 11:31:37 +0000 | L29Ah | (~L29Ah@wikipedia/L29Ah) L29Ah |
| 2025-03-07 11:57:09 +0000 | L29Ah | (~L29Ah@wikipedia/L29Ah) () |
| 2025-03-07 11:57:35 +0000 | L29Ah | (~L29Ah@wikipedia/L29Ah) L29Ah |
| 2025-03-07 14:04:08 +0000 | todi | (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 245 seconds) |
| 2025-03-07 14:06:25 +0000 | todi | (~todi@p57803331.dip0.t-ipconnect.de) todi |
| 2025-03-07 15:28:21 +0000 | redgloboli | (~redglobol@user/redgloboli) (Ping timeout: 252 seconds) |
| 2025-03-07 15:33:56 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 15:48:14 +0000 | ft | (~ft@p508db291.dip0.t-ipconnect.de) ft |
| 2025-03-07 15:53:18 +0000 | redgloboli | (~redglobol@user/redgloboli) (Ping timeout: 252 seconds) |
| 2025-03-07 16:36:05 +0000 | mc47 | (~yecinem@p200300ee0f03e4d51c11c8d951bebe9d.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
| 2025-03-07 17:04:25 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 17:20:49 +0000 | redgloboli | (~redglobol@user/redgloboli) (Ping timeout: 268 seconds) |
| 2025-03-07 17:22:34 +0000 | beastwick | (~brian@pool-74-102-103-193.nwrknj.fios.verizon.net) beastwick |
| 2025-03-07 17:22:34 +0000 | beastwick | (~brian@pool-74-102-103-193.nwrknj.fios.verizon.net) (Changing host) |
| 2025-03-07 17:22:34 +0000 | beastwick | (~brian@user/beastwick) beastwick |
| 2025-03-07 18:06:50 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 18:26:12 +0000 | redgloboli | (~redglobol@user/redgloboli) (Ping timeout: 252 seconds) |
| 2025-03-07 18:30:57 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 18:39:14 +0000 | redgloboli | (~redglobol@user/redgloboli) (Ping timeout: 248 seconds) |
| 2025-03-07 18:57:07 +0000 | redgloboli | (~redglobol@user/redgloboli) redgloboli |
| 2025-03-07 19:06:43 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:a683:8cb:e9a2:d46f) ash3en |
| 2025-03-07 19:06:58 +0000 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:a683:8cb:e9a2:d46f) (Client Quit) |
| 2025-03-07 22:28:49 +0000 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection) |
| 2025-03-07 22:36:17 +0000 | haskellbridge | (~hackager@syn-024-093-192-219.res.spectrum.com) hackager |