Home liberachat/#xmonad: Logs Calendar

Logs on 2025-03-07 (liberachat/#xmonad)

00:32:56 × deepy quits (deepy@user/deepy) (Ping timeout: 244 seconds)
01:03:22 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
01:07:24 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)
01:14:57 <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?
01:14:59 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/KlQYuThTveAIxAhkPPwEMITb/BLhzykEpiY8 (6 lines)
01:16:18 <haskellbridge> <leana8959> * 2.
01:18:47 <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
01:20:18 <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`)
01:24:41 <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" ?
01:24:56 <haskellbridge> <leana8959> I'll figure that out tomorrow, it's kinda late. Thank you :)
01:31:24 <Leary> leana8959: `Query` is a `Monad`; you can write e.g. `do { n <- numWindows; insertPosition Newer (if n <= 1 then Above else Below) }`.
01:57:58 × Leary quits (~Leary@user/Leary/x-0910699) (Remote host closed the connection)
02:11:52 Leary joins (~Leary@user/Leary/x-0910699)
06:26:30 × ft quits (~ft@p508db291.dip0.t-ipconnect.de) (Quit: leaving)
07:24:28 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
07:29:38 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
07:31:16 redgloboli joins (~redglobol@user/redgloboli)
07:35:24 × edog quits (~edog@alcotrash.org) (Ping timeout: 260 seconds)
07:35:39 edog joins (~edog@alcotrash.org)
08:04:35 × catman quits (~catman@user/catman) (Quit: WeeChat 4.5.2)
08:06:55 catman joins (~catman@user/catman)
08:09:55 mc47 joins (~yecinem@p200300ee0f03e4d51c11c8d951bebe9d.dip0.t-ipconnect.de)
09:26:13 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 248 seconds)
09:29:19 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
09:35:17 <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)"?
09:38:46 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection)
09:53:14 × edog quits (~edog@alcotrash.org) (Ping timeout: 252 seconds)
09:59:33 edog joins (~edog@alcotrash.org)
10:06:33 <Leary> leana8959: Yes, just use `liftX :: X a -> Query a`.
10:59:26 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
11:03:59 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 252 seconds)
11:19:46 ^Dan joins (~xxx@89.136.142.218)
11:30:46 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
11:30:46 × ^Dan quits (~xxx@89.136.142.218) (Remote host closed the connection)
11:31:37 L29Ah joins (~L29Ah@wikipedia/L29Ah)
11:57:09 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
11:57:35 L29Ah joins (~L29Ah@wikipedia/L29Ah)
14:04:08 × todi quits (~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
14:06:25 todi joins (~todi@p57803331.dip0.t-ipconnect.de)
15:28:21 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 252 seconds)
15:33:56 redgloboli joins (~redglobol@user/redgloboli)
15:48:14 ft joins (~ft@p508db291.dip0.t-ipconnect.de)
15:53:18 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 252 seconds)
16:36:05 × mc47 quits (~yecinem@p200300ee0f03e4d51c11c8d951bebe9d.dip0.t-ipconnect.de) (Ping timeout: 248 seconds)
17:04:25 redgloboli joins (~redglobol@user/redgloboli)
17:20:49 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 268 seconds)
17:22:34 beastwick joins (~brian@pool-74-102-103-193.nwrknj.fios.verizon.net)
17:22:34 × beastwick quits (~brian@pool-74-102-103-193.nwrknj.fios.verizon.net) (Changing host)
17:22:34 beastwick joins (~brian@user/beastwick)
18:06:50 redgloboli joins (~redglobol@user/redgloboli)
18:26:12 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 252 seconds)
18:30:57 redgloboli joins (~redglobol@user/redgloboli)
18:39:14 × redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 248 seconds)
18:57:07 redgloboli joins (~redglobol@user/redgloboli)
19:06:43 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:a683:8cb:e9a2:d46f)
19:06:58 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:a683:8cb:e9a2:d46f) (Client Quit)
22:28:49 × haskellbridge quits (~hackager@syn-024-093-192-219.res.spectrum.com) (Remote host closed the connection)
22:36:17 haskellbridge joins (~hackager@syn-024-093-192-219.res.spectrum.com)

All times are in UTC on 2025-03-07.