Logs: liberachat/#xmonad
| 2022-01-30 22:12:21 | × | justfelix quits (~user@166.78.23.93.rev.sfr.net) (Remote host closed the connection) |
| 2022-01-30 22:17:33 | <geekosaur> | todologo, xmonad can't do it (that goes the other way around, xmonad reacts to the monitors changing) but look into autorandr |
| 2022-01-30 22:21:24 | <todologo> | Thanks for the suggestion :) |
| 2022-01-30 22:23:00 | × | a6a45081-2b83 quits (~aditya@2601:249:4300:1296:88ec:cc73:84d4:1507) (Remote host closed the connection) |
| 2022-01-30 22:33:02 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-01-30 22:35:39 | <fizzie> | An XMonad module can do it though. ;) |
| 2022-01-30 22:38:18 | <fizzie> | Specifically, https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.16.999/XMonad-Hooks-Rescreen.html can run actions when the connected monitors change, and I've got a quirky thing to do autorandr-like things by trying to match the monitors to a given configuration. |
| 2022-01-30 22:38:41 | <fizzie> | To be sure, objectively speaking there's no need to make the window manager do it. But that's no excuse. |
| 2022-01-30 22:51:20 | <todologo> | Wow, that's fascinating. I will read the docs and try to come up with a hook to do what I want. I prefer to configure as much as possible on the system in my xmonad.hs |
| 2022-01-30 22:52:50 | <fizzie> | Well, with that attitude in mind, here's my silly thing (predating that hook): https://github.com/fis/dot-xmonad/blob/master/zem/src/Zem/AutoRandr.hs |
| 2022-01-30 22:53:55 | <fizzie> | I do use it to switch the work laptop between it's standalone vs. "two external monitors, internal screen off" states with a configuration that looks a lot like that example in the comments. |
| 2022-01-30 22:54:01 | <todologo> | That is really helpful. Thanks a lot! |
| 2022-01-30 22:59:01 | <liskin> | my xmonad config (in my dotfiles repo) also has a hook for automatic switching, using X.H.Rescreen, but I don't actually use it that much since most of the time I dock/undock when locked or suspended and my hook doesn't run in that case |
| 2022-01-30 22:59:42 | <liskin> | (which is more of a personal choice rather than a limitation, really) |
| 2022-01-30 23:32:11 | → | dirtcastle joins (~dirtcastl@2409:4072:e8c:c8d3:b445:8dff:fe64:e79b) |
| 2022-01-30 23:36:35 | × | dirtcastle quits (~dirtcastl@2409:4072:e8c:c8d3:b445:8dff:fe64:e79b) (Ping timeout: 250 seconds) |
| 2022-01-30 23:37:01 | → | dirtcastle joins (~dirtcastl@2409:4072:e8c:c8d3:dc05:ff:fe2f:91e3) |
| 2022-01-30 23:41:17 | × | todologo quits (~todologo@194.49.52.99) (Quit: Client closed) |
| 2022-01-31 00:03:27 | × | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.4) |
| 2022-01-31 00:21:46 | × | noex quits (~null@user/noex) (Quit: :q!) |
| 2022-01-31 00:22:08 | → | noex joins (~null@user/noex) |
| 2022-01-31 00:26:04 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2022-01-31 01:20:57 | × | Guest6946 quits (~twiclo@204.14.20.66.static.utbb.net) (Ping timeout: 240 seconds) |
| 2022-01-31 01:23:20 | → | Guest6946 joins (~twiclo@mail.twil.cx) |
| 2022-01-31 01:25:17 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 240 seconds) |
| 2022-01-31 01:36:54 | × | jao quits (~jao@68.235.43.84) (Ping timeout: 256 seconds) |
| 2022-01-31 01:39:11 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-01-31 01:42:53 | × | dirtcastle quits (~dirtcastl@2409:4072:e8c:c8d3:dc05:ff:fe2f:91e3) (Ping timeout: 250 seconds) |
| 2022-01-31 01:44:21 | → | dirtcastle joins (~dirtcastl@103.43.203.226) |
| 2022-01-31 01:49:09 | × | jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 256 seconds) |
| 2022-01-31 01:51:12 | → | jao joins (~jao@static-68-235-44-71.cust.tzulo.com) |
| 2022-01-31 01:52:02 | → | dpn` joins (~dpn@203-206-161-39.perm.iinet.net.au) |
| 2022-01-31 01:52:50 | × | dpn` quits (~dpn@203-206-161-39.perm.iinet.net.au) (Client Quit) |
| 2022-01-31 01:53:55 | → | dpn` joins (~dpn@203-206-161-39.perm.iinet.net.au) |
| 2022-01-31 01:54:12 | × | dpn` quits (~dpn@203-206-161-39.perm.iinet.net.au) (Client Quit) |
| 2022-01-31 01:54:36 | → | dpn` joins (~dpn@203-206-161-39.perm.iinet.net.au) |
| 2022-01-31 01:54:55 | <dpn`> | sry about part spam, was setting up sasl |
| 2022-01-31 03:03:36 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds) |
| 2022-01-31 03:22:31 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2022-01-31 03:34:32 | × | jao quits (~jao@static-68-235-44-71.cust.tzulo.com) (Remote host closed the connection) |
| 2022-01-31 03:46:40 | × | td_ quits (~td@muedsl-82-207-238-178.citykom.de) (Ping timeout: 256 seconds) |
| 2022-01-31 03:47:57 | × | catman quits (~catman@user/catman) (Read error: Connection reset by peer) |
| 2022-01-31 03:48:17 | → | td_ joins (~td@muedsl-82-207-238-222.citykom.de) |
| 2022-01-31 03:53:42 | → | jao joins (~jao@static-68-235-44-71.cust.tzulo.com) |
| 2022-01-31 04:09:41 | × | dirtcastle quits (~dirtcastl@103.43.203.226) (Ping timeout: 256 seconds) |
| 2022-01-31 05:17:28 | × | jao quits (~jao@static-68-235-44-71.cust.tzulo.com) (Remote host closed the connection) |
| 2022-01-31 05:25:28 | → | kr1x joins (~kr1x@170.249.0.122) |
| 2022-01-31 05:28:43 | → | jao joins (~jao@static-68-235-44-71.cust.tzulo.com) |
| 2022-01-31 05:38:56 | × | jao quits (~jao@static-68-235-44-71.cust.tzulo.com) (Remote host closed the connection) |
| 2022-01-31 06:19:16 | → | jao joins (~jao@static-68-235-44-71.cust.tzulo.com) |
| 2022-01-31 06:42:54 | × | jao quits (~jao@static-68-235-44-71.cust.tzulo.com) (Ping timeout: 256 seconds) |
| 2022-01-31 07:25:55 | → | edun joins (~qbt@user/edun) |
| 2022-01-31 07:33:39 | <Solid> | liskin: random question: why do we fetch sponsors with `includePrivate: true` only to then filter out everyone who's level is not public? |
| 2022-01-31 07:46:33 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-01-31 08:03:33 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-01-31 08:34:13 | × | ghormoon quits (~ghormoon@ghorland.net) (Ping timeout: 268 seconds) |
| 2022-01-31 08:34:50 | × | fizzie quits (irc@selene.zem.fi) (Ping timeout: 268 seconds) |
| 2022-01-31 08:34:51 | → | ghormoon joins (~ghormoon@ghorland.net) |
| 2022-01-31 08:35:27 | × | sibi quits (~sibi@2001:470:69fc:105::8ab) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:27 | × | denbrahe quits (~denbrahe@2001:470:69fc:105::19c0) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:27 | × | Las[m] quits (~lasmatrix@2001:470:69fc:105::74e) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:27 | × | VarikValefor[m] quits (~varikvale@2001:470:69fc:105::a5d) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | TheWizardTower[m quits (~thewizard@2001:470:69fc:105::a5b) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | butterfly[m] quits (~butterfly@2001:470:69fc:105::1:70db) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | kwer[m] quits (~kwermatri@2001:470:69fc:105::1:4da1) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | duskhorn[m] quits (~duskhornm@2001:470:69fc:105::1:37aa) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | iffsid quits (~iffsid@2001:470:69fc:105::a3e) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | Yehoshua quits (~yehoshua@2001:470:69fc:105::1:593f) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:28 | × | MrElendig quits (~Urist@archlinux/op/MrElendig) (Ping timeout: 268 seconds) |
| 2022-01-31 08:35:42 | → | terrorjack5 joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 2022-01-31 08:36:04 | × | jakeStateless-Fa quits (~jakefroms@2001:470:69fc:105::15ef) (Ping timeout: 268 seconds) |
| 2022-01-31 08:36:04 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Ping timeout: 268 seconds) |
| 2022-01-31 08:36:04 | × | dexterfoo quits (dexter@2a01:7e00::f03c:91ff:fe86:59ec) (Ping timeout: 268 seconds) |
| 2022-01-31 08:36:04 | terrorjack5 | is now known as terrorjack |
| 2022-01-31 08:36:49 | → | MrElendig joins (~Urist@archlinux/op/MrElendig) |
| 2022-01-31 08:37:05 | → | duskhorn[m] joins (~duskhornm@2001:470:69fc:105::1:37aa) |
| 2022-01-31 08:37:05 | → | butterfly[m] joins (~butterfly@2001:470:69fc:105::1:70db) |
| 2022-01-31 08:37:05 | → | kwer[m] joins (~kwermatri@2001:470:69fc:105::1:4da1) |
| 2022-01-31 08:37:05 | → | TheWizardTower[m joins (~thewizard@2001:470:69fc:105::a5b) |
| 2022-01-31 08:37:52 | → | sibi joins (~sibi@2001:470:69fc:105::8ab) |
| 2022-01-31 08:37:53 | → | dexterfoo joins (~dexter@li655-253.members.linode.com) |
| 2022-01-31 08:49:49 | → | iffsid joins (~iffsid@2001:470:69fc:105::a3e) |
| 2022-01-31 08:49:58 | → | VarikValefor[m] joins (~varikvale@2001:470:69fc:105::a5d) |
| 2022-01-31 08:50:15 | → | denbrahe joins (~denbrahe@2001:470:69fc:105::19c0) |
| 2022-01-31 08:50:42 | → | Yehoshua joins (~yehoshua@2001:470:69fc:105::1:593f) |
| 2022-01-31 08:51:10 | → | jakeStateless-Fa joins (~jakefroms@2001:470:69fc:105::15ef) |
| 2022-01-31 08:51:22 | → | Las[m] joins (~lasmatrix@2001:470:69fc:105::74e) |
| 2022-01-31 08:52:07 | → | fizzie joins (irc@selene.zem.fi) |
| 2022-01-31 09:00:27 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-01-31 09:03:49 | × | scardinal quits (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
| 2022-01-31 09:06:01 | <liskin> | Solid: because I was tired :-) |
| 2022-01-31 09:06:35 | <liskin> | (and because I need that code elsewhere without the filtering) |
| 2022-01-31 09:10:11 | → | dirtcastle joins (~dirtcastl@103.43.203.227) |
| 2022-01-31 09:14:17 | → | chomwitt joins (~chomwitt@2a02:587:dc03:8900:12c3:7bff:fe6d:d374) |
| 2022-01-31 09:17:21 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-01-31 09:17:39 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-01-31 09:44:19 | × | mudri quits (sid317655@id-317655.helmsley.irccloud.com) (Ping timeout: 250 seconds) |
| 2022-01-31 09:44:28 | → | mudri joins (sid317655@id-317655.helmsley.irccloud.com) |
| 2022-01-31 09:55:59 | → | cfricke joins (~cfricke@user/cfricke) |
| 2022-01-31 09:56:01 | × | cfricke quits (~cfricke@user/cfricke) (Client Quit) |
All times are in UTC.