2022-09-24 00:06:01 +0200 | <[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-24 00:08:02 +0200 | <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-24 00:12:32 +0200 | <geekosaur> | sublayouts was what I was wondering |
2022-09-24 00:13:01 +0200 | <geekosaur> | (but I'm making dinner now so will only be spottily available) |
2022-09-24 00:53:15 +0200 | <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-24 00:54:01 +0200 | <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-24 00:55:09 +0200 | <dmrz> | but that depends on how sublayouts actually works, which i'm not sure of |
2022-09-24 00:55:17 +0200 | <dmrz> | but something in that vague neighborhood would work |
2022-09-24 00:56:59 +0200 | <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-24 00:57:58 +0200 | <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-24 01:03:28 +0200 | berberman_ | (~berberman@user/berberman) |
2022-09-24 01:04:19 +0200 | berberman | (~berberman@user/berberman) (Ping timeout: 246 seconds) |
2022-09-24 01:29:25 +0200 | noex | (~null@user/noex) (Quit: :q!) |
2022-09-24 01:41:59 +0200 | thyriaen | (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Quit: Leaving) |
2022-09-24 01:49:22 +0200 | mvk | (~mvk@2607:fea8:5ce3:8500::778c) |
2022-09-24 02:04:52 +0200 | berberman_ | (~berberman@user/berberman) (Ping timeout: 246 seconds) |
2022-09-24 02:04:55 +0200 | berberman | (~berberman@user/berberman) |
2022-09-24 02:08:22 +0200 | chomwitt | (~chomwitt@2a02:587:dc14:f500:a8f6:62e0:a0fa:7808) (Ping timeout: 246 seconds) |
2022-09-24 02:23:25 +0200 | sogens | (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 246 seconds) |
2022-09-24 02:51:28 +0200 | burp_ | burp |
2022-09-24 03:04:26 +0200 | pond | (~pond@2001:8003:363d:3b00:8242:955d:c267:79e4) |
2022-09-24 03:20:01 +0200 | pond | (~pond@2001:8003:363d:3b00:8242:955d:c267:79e4) (Quit: Leaving) |
2022-09-24 03:29:19 +0200 | sogens | (sogens@gateway/vpn/protonvpn/sogens) |
2022-09-24 03:48:29 +0200 | noex | (~null@user/noex) |
2022-09-24 04:04:30 +0200 | banc | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 265 seconds) |
2022-09-24 04:05:16 +0200 | berberman | (~berberman@user/berberman) (Ping timeout: 246 seconds) |
2022-09-24 04:19:55 +0200 | td_ | (~td@muedsl-82-207-238-210.citykom.de) (Ping timeout: 252 seconds) |
2022-09-24 04:21:42 +0200 | td_ | (~td@muedsl-82-207-238-005.citykom.de) |
2022-09-24 04:23:23 +0200 | banc | (banc@gateway/vpn/airvpn/banc) |
2022-09-24 04:43:26 +0200 | terrorjack | (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
2022-09-24 04:46:00 +0200 | terrorjack | (~terrorjac@2a01:4f8:1c1e:509a::1) |
2022-09-24 04:55:44 +0200 | sogens | (sogens@gateway/vpn/protonvpn/sogens) (Ping timeout: 244 seconds) |
2022-09-24 04:58:00 +0200 | sogens | (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) |
2022-09-24 05:07:37 +0200 | mvk | (~mvk@2607:fea8:5ce3:8500::778c) (Ping timeout: 244 seconds) |
2022-09-24 05:23:43 +0200 | sogens | (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
2022-09-24 05:26:00 +0200 | sogens | (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) |
2022-09-24 07:01:46 +0200 | ^[ | (~user@user//x-8473491) |
2022-09-24 07:36:40 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds) |
2022-09-24 09:17:12 +0200 | sogens | (~sogens@pa49-197-130-227.pa.qld.optusnet.com.au) (Ping timeout: 264 seconds) |
2022-09-24 09:19:09 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 09:24:55 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 244 seconds) |
2022-09-24 09:25:32 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 09:35:19 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
2022-09-24 09:36:29 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 09:36:46 +0200 | chomwitt | (~chomwitt@2a02:587:dc14:f500:27b7:f613:f2be:f46f) |
2022-09-24 09:42:25 +0200 | sogens | (~sogens@211.30.3.8) (Remote host closed the connection) |
2022-09-24 09:42:50 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 09:47:01 +0200 | Maeda | (~Maeda@91-161-10-149.subs.proxad.net) (Quit: leaving) |
2022-09-24 09:48:25 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 268 seconds) |
2022-09-24 09:49:11 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 09:55:08 +0200 | sogens | (~sogens@211.30.3.8) (Remote host closed the connection) |
2022-09-24 09:55:33 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:01:17 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
2022-09-24 10:02:33 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:07:53 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
2022-09-24 10:09:00 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:14:00 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 244 seconds) |
2022-09-24 10:17:09 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:26:20 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 265 seconds) |
2022-09-24 10:27:13 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:32:49 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 252 seconds) |
2022-09-24 10:33:35 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:33:54 +0200 | ft | (~ft@p3e9bc57b.dip0.t-ipconnect.de) (Quit: Lost terminal) |
2022-09-24 10:38:40 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
2022-09-24 10:39:57 +0200 | sogens | (~sogens@211.30.3.8) |
2022-09-24 10:52:01 +0200 | <[Leary]> | dmrz: https://gist.github.com/LSLeary/c02aeb96e0d07a353fd90101aad77955 |
2022-09-24 10:52:54 +0200 | <[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 10:55:58 +0200 | <[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 10:57:33 +0200 | hrberg | (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
2022-09-24 10:59:47 +0200 | <[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 11:00:14 +0200 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
2022-09-24 11:02:37 +0200 | hrberg | (~quassel@171.79-160-161.customer.lyse.net) |
2022-09-24 11:24:15 +0200 | ft | (~ft@p3e9bc57b.dip0.t-ipconnect.de) |
2022-09-24 11:29:25 +0200 | sogens | (~sogens@211.30.3.8) (Ping timeout: 246 seconds) |
2022-09-24 11:31:27 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 11:36:54 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
2022-09-24 11:38:27 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 11:44:22 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 11:44:47 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 11:50:31 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
2022-09-24 11:51:09 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 11:56:18 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 244 seconds) |
2022-09-24 11:57:33 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:03:28 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 12:03:53 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:09:15 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
2022-09-24 12:10:12 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:16:09 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 12:16:34 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:21:55 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
2022-09-24 12:22:55 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:24:29 +0200 | thyriaen | (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) |
2022-09-24 12:28:26 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 260 seconds) |
2022-09-24 12:30:10 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:36:01 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 260 seconds) |
2022-09-24 12:36:31 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:46:04 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
2022-09-24 12:48:03 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:53:45 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
2022-09-24 12:54:24 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 12:59:43 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
2022-09-24 13:01:19 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:06:43 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
2022-09-24 13:07:46 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:11:34 +0200 | thyriaen | (~thyriaen@2a02:8109:8340:686c:7383:e0e2:ad95:9fce) (Remote host closed the connection) |
2022-09-24 13:13:01 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 246 seconds) |
2022-09-24 13:14:05 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:19:36 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 264 seconds) |
2022-09-24 13:20:30 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:20:42 +0200 | alternateved | (~user@staticline-31-183-146-203.toya.net.pl) |
2022-09-24 13:25:41 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 244 seconds) |
2022-09-24 13:26:55 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:29:48 +0200 | fjMSX | (~hypni2p@2.92.213.55) (Ping timeout: 264 seconds) |
2022-09-24 13:32:01 +0200 | fjMSX | (~hypni2p@2.92.213.55) |
2022-09-24 13:32:52 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 13:33:18 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:39:14 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 13:39:45 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:45:50 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 268 seconds) |
2022-09-24 13:47:56 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 13:53:41 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
2022-09-24 14:07:42 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 14:13:11 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
2022-09-24 14:14:55 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 14:20:16 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
2022-09-24 14:21:14 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 14:21:42 +0200 | alternateved | (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection) |
2022-09-24 14:27:02 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 265 seconds) |
2022-09-24 14:29:30 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 14:39:35 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Ping timeout: 252 seconds) |
2022-09-24 14:40:35 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 14:45:06 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2022-09-24 14:46:30 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Remote host closed the connection) |
2022-09-24 15:10:53 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 15:28:11 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Quit: WeeChat 3.6) |
2022-09-24 15:49:44 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 16:02:13 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection) |
2022-09-24 16:08:51 +0200 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2022-09-24 16:34:00 +0200 | sagax | (~sagax_nb@user/sagax) (Ping timeout: 264 seconds) |
2022-09-24 17:38:31 +0200 | sagax | (~sagax_nb@user/sagax) |
2022-09-24 20:08:20 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) (Quit: WeeChat 3.6) |
2022-09-24 20:29:19 +0200 | sogens | (~sogens@pa49-182-91-219.pa.qld.optusnet.com.au) |
2022-09-24 20:35:04 +0200 | QNX | SystemV |
2022-09-24 22:38:54 +0200 | noex | (~null@user/noex) (Quit: :q!) |
2022-09-24 23:49:40 +0200 | dmrz | (~dmr@c-71-202-36-200.hsd1.ca.comcast.net) (Ping timeout: 246 seconds) |
2022-09-24 23:50:33 +0200 | dmrz | (~dmr@c-71-202-36-200.hsd1.ca.comcast.net) |