Logs: liberachat/#xmonad
| 2022-09-23 21:45:59 | <dmrz> | you can put windows into those panes or take them out, and putting multiple windows into a pane causes them to follow a tabbed layout |
| 2022-09-23 21:47:09 | <dmrz> | so the tabbed sublayouts should probably work exactly how they normally do in xmonad |
| 2022-09-23 21:47:56 | <dmrz> | but the primary layout should not have anything to do with the number of windows |
| 2022-09-23 21:49:22 | <dmrz> | and of course you can take one of those primary layout panes and split it in half, and then the two child panes are now both tabbed sublayouts |
| 2022-09-23 21:50:49 | <[Leary]> | Rose tree with tabbed leaves and BSP branches ... wait, can't you already do that with sublayouts? <.< |
| 2022-09-23 21:52:16 | <dmrz> | i'm not totally sure |
| 2022-09-23 21:52:40 | <dmrz> | you definitely couldn't many years ago when i switched to notion, but i have no idea what xmonad has done since then |
| 2022-09-23 21:58:28 | → | berberman joins (~berberman@user/berberman) |
| 2022-09-23 22:06:01 | <[Leary]> | Well I guess you'd have to extend BSP with an option to preserve its internal structure even when it doesn't have "windows" (tab groups) to fill it. After that, I think you'd be pretty close. Either way I'm done for the day; good luck. |
| 2022-09-23 22:08:02 | <dmrz> | [Leary]: real quick: is your custom layout on github or anything? it's ok if it's not very clean, won't ask you about it today |
| 2022-09-23 22:12:32 | <geekosaur> | sublayouts was what I was wondering |
| 2022-09-23 22:13:01 | <geekosaur> | (but I'm making dinner now so will only be spottily available) |
| 2022-09-23 22:53:15 | <dmrz> | so if it was just a question of the primary layout, it looks like i could create an ExtensionClass inst which stored the set of panes, their coordinates, and which windows were assigned to them, and then this layout would implement doLayout to just read the pane coordinates from XConfig.extensibleConf and return [cs, w] for all windows w in the pane with coordinates cs |
| 2022-09-23 22:54:01 | <dmrz> | on the theory that sublayouts just kinda picks that return value up and overrides it with some other set of [cs, w] return vals based on the sublayout, that would work |
| 2022-09-23 22:55:09 | <dmrz> | but that depends on how sublayouts actually works, which i'm not sure of |
| 2022-09-23 22:55:17 | <dmrz> | but something in that vague neighborhood would work |
| 2022-09-23 22:56:59 | <dmrz> | it definitely wouldn't be 2K LOC, although when you added all the keybind defs necessary to invoke the management fns it wouldn't be tiny either |
| 2022-09-23 22:57:58 | <dmrz> | if anyone who really knows how sublayouts works & how it interacts with the top-level layout happens to stumble by & see this, @ me or something; i'll be around |
| 2022-09-23 23:03:28 | → | berberman_ joins (~berberman@user/berberman) |
| 2022-09-23 23:04:19 | × | berberman quits (~berberman@user/berberman) (Ping timeout: 246 seconds) |
| 2022-09-23 23:29:25 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-09-23 23:41:59 | × | thyriaen quits (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving) |
| 2022-09-23 23:49:22 | → | mvk joins (~mvk@2607:fea8:5ce3:8500::778c) |
| 2022-09-24 00:04:52 | × | berberman_ quits (~berberman@user/berberman) (Ping timeout: 246 seconds) |
| 2022-09-24 00:04:55 | → | berberman joins (~berberman@user/berberman) |
| 2022-09-24 00:08:22 | × | chomwitt quits (~chomwitt@2a02:587:dc14:f500:a8f6:62e0:a0fa:7808) (Ping timeout: 246 seconds) |
| 2022-09-24 00:23:25 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 246 seconds) |
| 2022-09-24 00:51:28 | burp_ | is now known as burp |
| 2022-09-24 01:04:26 | → | pond joins (~pond@2001:8003:363d:3b00:8242:955d:c267:79e4) |
| 2022-09-24 01:20:01 | × | pond quits (~pond@2001:8003:363d:3b00:8242:955d:c267:79e4) (Quit: Leaving) |
| 2022-09-24 01:29:19 | → | sogens joins (sogens@gateway/vpn/protonvpn/sogens) |
| 2022-09-24 01:48:29 | → | noex joins (~null@user/noex) |
| 2022-09-24 02:04:30 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds) |
| 2022-09-24 02:05:16 | × | berberman quits (~berberman@user/berberman) (Ping timeout: 246 seconds) |
| 2022-09-24 02:19:55 | × | td_ quits (~td@muedsl-82-207-238-210.citykom.de) (Ping timeout: 252 seconds) |
| 2022-09-24 02:21:42 | → | td_ joins (~td@muedsl-82-207-238-005.citykom.de) |
| 2022-09-24 02:23:23 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-09-24 02:43:26 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 2022-09-24 02:46:00 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 2022-09-24 02:55:44 | × | sogens quits (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 244 seconds) |
| 2022-09-24 02:58:00 | → | sogens joins (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) |
| 2022-09-24 03:07:37 | × | mvk quits (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 244 seconds) |
| 2022-09-24 03:23:43 | × | sogens quits (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
| 2022-09-24 03:26:00 | → | sogens joins (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) |
| 2022-09-24 05:01:46 | → | ^[ joins (~user@user//x-8473491) |
| 2022-09-24 05:36:40 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds) |
| 2022-09-24 07:17:12 | × | sogens quits (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) (Ping timeout: 264 seconds) |
| 2022-09-24 07:19:09 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 07:24:55 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 244 seconds) |
| 2022-09-24 07:25:32 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 07:35:19 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
| 2022-09-24 07:36:29 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 07:36:46 | → | chomwitt joins (~chomwitt@2a02:587:dc14:f500:27b7:f613:f2be:f46f) |
| 2022-09-24 07:42:25 | × | sogens quits (~sogens@211.30.3.8) (Remote host closed the connection) |
| 2022-09-24 07:42:50 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 07:47:01 | × | Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving) |
| 2022-09-24 07:48:25 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 268 seconds) |
| 2022-09-24 07:49:11 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 07:55:08 | × | sogens quits (~sogens@211.30.3.8) (Remote host closed the connection) |
| 2022-09-24 07:55:33 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:01:17 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
| 2022-09-24 08:02:33 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:07:53 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
| 2022-09-24 08:09:00 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:14:00 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 244 seconds) |
| 2022-09-24 08:17:09 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:26:20 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 265 seconds) |
| 2022-09-24 08:27:13 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:32:49 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
| 2022-09-24 08:33:35 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:33:54 | × | ft quits (~ft@p3e9bc57b.dip0.t-ipconnect.de) (Quit: Lost terminal) |
| 2022-09-24 08:38:40 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
| 2022-09-24 08:39:57 | → | sogens joins (~sogens@211.30.3.8) |
| 2022-09-24 08:52:01 | <[Leary]> | dmrz: https://gist.github.com/LSLeary/c02aeb96e0d07a353fd90101aad77955 |
| 2022-09-24 08:52:54 | <[Leary]> | I put the layout in a gist for you. Note that the docs might be outdated or inconsistent, as I don't know what I've refactored since I wrote them. |
| 2022-09-24 08:55:58 | <[Leary]> | Alos, layouts have their own persistent state; you don't need to store anything in XS. But yeah, if you can represent your frames and the windows that belong to them in a data type, you might not need any kind of big nested monster; that could be a simpler implementation sublayouts or no. |
| 2022-09-24 08:57:33 | × | hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2022-09-24 08:59:47 | <[Leary]> | Though I still suspect you'd be re-implementing BSP if you did that yourself, and you'd be better off seeing if you can extend it to support what you need. |
| 2022-09-24 09:00:14 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-09-24 09:02:37 | → | hrberg joins (~quassel@171.79-160-161.customer.lyse.net) |
| 2022-09-24 09:24:15 | → | ft joins (~ft@p3e9bc57b.dip0.t-ipconnect.de) |
| 2022-09-24 09:29:25 | × | sogens quits (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
| 2022-09-24 09:31:27 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 09:36:54 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
| 2022-09-24 09:38:27 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 09:44:22 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
| 2022-09-24 09:44:47 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 09:50:31 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
| 2022-09-24 09:51:09 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 09:56:18 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 244 seconds) |
| 2022-09-24 09:57:33 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 10:03:28 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
| 2022-09-24 10:03:53 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 10:09:15 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
| 2022-09-24 10:10:12 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 10:16:09 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
| 2022-09-24 10:16:34 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 10:21:55 | × | sogens quits (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
| 2022-09-24 10:22:55 | → | sogens joins (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
| 2022-09-24 10:24:29 | → | thyriaen joins (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) |
All times are in UTC.