2021/08/06

2021-08-06 00:36:41 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-08-06 00:36:42 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Client Quit)
2021-08-06 00:37:10 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-08-06 01:05:43 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de) (Remote host closed the connection)
2021-08-06 01:23:15 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2021-08-06 01:27:11 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-08-06 01:33:32 +0200Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-08-06 04:03:10 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 272 seconds)
2021-08-06 04:22:22 +0200banc(banc@gateway/vpn/airvpn/banc)
2021-08-06 04:25:20 +0200td_(~td@94.134.91.183) (Ping timeout: 272 seconds)
2021-08-06 04:25:28 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2021-08-06 04:26:26 +0200td_(~td@muedsl-82-207-238-118.citykom.de)
2021-08-06 04:31:11 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-08-06 06:46:30 +0200^[(~user@user//x-8473491) (Ping timeout: 272 seconds)
2021-08-06 06:48:15 +0200^[(~user@user//x-8473491)
2021-08-06 10:17:27 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-08-06 10:17:28 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2021-08-06 10:17:31 +0200allbery_bgeekosaur
2021-08-06 11:09:15 +0200 <Solid> [x] I've considered how to best test these changes (property, unit, manually, ...) and concluded: XXX << this always makes me laugh for some reason :D
2021-08-06 11:51:57 +0200 <liskin> I wish it made me laugh :-/
2021-08-06 11:52:44 +0200 <liskin> but I just absolutely hate jerks who selfishly waste my time, but I'm not strong enough to not get angry :-/
2021-08-06 11:55:53 +0200 <Solid> ah don't get angry, I'm sure documentation will be added in some form or another
2021-08-06 11:56:19 +0200 <Solid> I'm more bummed about the fact that (after I tried really hard not to) we now need to export Magnifier internals :/
2021-08-06 11:56:53 +0200 <Solid> (maybe we need a "[ ] I have ticked some of these boxes without doing them" box :>)
2021-08-06 12:00:39 +0200 <liskin> well, "don't get angry" is something I've been hearing since elementary school
2021-08-06 12:00:51 +0200 <liskin> they even tried "try to get X instead"
2021-08-06 12:00:54 +0200 <liskin> nope
2021-08-06 12:01:04 +0200 <liskin> anyway
2021-08-06 12:01:26 +0200 <liskin> Ivan's dotfiles don't use any of the Magnifier internals yet
2021-08-06 12:01:39 +0200 <liskin> so I suspect that PR may be a dead end, and I posted a question there
2021-08-06 12:01:48 +0200 <liskin> so I'd consider that one a draft
2021-08-06 12:02:06 +0200 <Solid> I see
2021-08-06 12:02:33 +0200 <Solid> not sure if it'd help but I can offer (well not right now, but in a few days) to take over the pr so you don't have to think about it
2021-08-06 12:10:48 +0200 <liskin> well it's not that bad
2021-08-06 12:12:24 +0200 <liskin> at the end I managed to reply constructively, I'd say, so it's not like I need someone to take over :-)
2021-08-06 12:12:37 +0200 <Solid> Okay, fair enough :)
2021-08-06 12:13:06 +0200 <liskin> not going to hold you back chiming in either, though, if there's more to it
2021-08-06 12:13:19 +0200 <liskin> just: not necessary to treat it any different than any other PR
2021-08-06 12:13:36 +0200 <liskin> and if you do have free time in a couple days, there are higher priority issues :-)
2021-08-06 12:14:07 +0200 <liskin> anyway, I'll be off for the rest of today
2021-08-06 12:14:28 +0200 <Solid> sure, take care
2021-08-06 14:06:24 +0200 <Drishal[m]> OK so I have a really strange issue, for some reason GTK apps (file managers mainly) keep breaking on xmoand 🤔
2021-08-06 14:06:31 +0200 <Drishal[m]> but does not break on qtile
2021-08-06 14:06:32 +0200 <Drishal[m]> * but does not break on dwm
2021-08-06 15:01:53 +0200hjulle[m](~hjullemat@2001:470:69fc:105::1dd) (Quit: You have been idle for 30+ days)
2021-08-06 15:02:06 +0200Kidany[m](~kidanymat@2001:470:69fc:105::a48) (Quit: You have been idle for 30+ days)
2021-08-06 15:02:13 +0200dmytrokurch[m](~dmytrokur@2001:470:69fc:105::a35) (Quit: You have been idle for 30+ days)
2021-08-06 15:02:13 +0200BartVerhagen[m](~bverhagen@2001:470:69fc:105::68c3) (Quit: You have been idle for 30+ days)
2021-08-06 15:02:13 +0200YehoshuaPesachWa(~yehoshuap@2001:470:69fc:105::a5f) (Quit: You have been idle for 30+ days)
2021-08-06 15:08:46 +0200Mellow[m](~mellow210@2001:470:69fc:105::8c62)
2021-08-06 15:24:18 +0200 <geekosaur> I don't have problems with Gtk apps includinbg file managers, but I run xmonad under MATE and mate-settings-daemon changes how Gtk apps behave
2021-08-06 16:08:32 +0200seschwar(~seschwar@user/seschwar)
2021-08-06 17:01:38 +0200frosch03(~user@2a02:8070:7ab:1b00:2b92:7579:4f8a:bf6b)
2021-08-06 17:57:40 +0200berberman(~berberman@user/berberman)
2021-08-06 17:58:15 +0200berberman_(~berberman@user/berberman) (Ping timeout: 258 seconds)
2021-08-06 18:15:38 +0200frosch03(~user@2a02:8070:7ab:1b00:2b92:7579:4f8a:bf6b) (Ping timeout: 272 seconds)
2021-08-06 21:36:16 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
2021-08-06 22:10:33 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-08-06 22:23:07 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-08-06 22:23:07 +0200allbery_b(~geekosaur@xmonad/geekosaur)
2021-08-06 22:23:10 +0200allbery_bgeekosaur
2021-08-06 22:40:55 +0200Youssef[m](~youssefbm@2001:470:69fc:105::d1e1)
2021-08-06 23:06:08 +0200vifon(~vifon@user/vifon)
2021-08-06 23:07:00 +0200 <vifon> Hello. Is this possible to make the Mirror layout modifier be conditional? I want it applied only if the workspace using a layout appears on a vertically rotated screen.
2021-08-06 23:11:00 +0200 <IvanMalison[m]> vifon: funnily enough, I literally just wrote something that should allow you to do exactly what you want
2021-08-06 23:11:07 +0200 <vifon> \o/
2021-08-06 23:11:25 +0200 <IvanMalison[m]> https://github.com/xmonad/xmonad-contrib/pull/582
2021-08-06 23:11:38 +0200 <vifon> Hah!
2021-08-06 23:12:16 +0200 <IvanMalison[m]> as you can see though liskin pointed out some minor issues with the change, so I am going to be tweaking it a bit
2021-08-06 23:12:43 +0200 <geekosaur> there's also IfMax which exists now although it isn't quite as flexible
2021-08-06 23:13:10 +0200 <IvanMalison[m]> geekosaur: I don't think IfMax would do what he wants though, right?
2021-08-06 23:13:32 +0200 <IvanMalison[m]> although I suppose that he could try to use that as a template for writing something similar
2021-08-06 23:13:35 +0200 <geekosaur> it conditionalizes on width
2021-08-06 23:13:53 +0200 <geekosaur> it's admittedly kinda oddly named
2021-08-06 23:14:11 +0200 <vifon> I see a window number in the description.
2021-08-06 23:14:28 +0200 <vifon> This one, right? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-IfMax.html
2021-08-06 23:14:40 +0200 <IvanMalison[m]> geekosaur: The description says: -- IfMax layout will run one layout if number of windows on workspace is as
2021-08-06 23:14:40 +0200 <IvanMalison[m]> -- maximum N, and else will run another layout.
2021-08-06 23:15:14 +0200 <geekosaur> yeh, I got the wrong one., hold on
2021-08-06 23:15:39 +0200 <IvanMalison[m]> vifon: Here's an exaple of ConditionalModifier https://github.com/IvanMalison/dotfiles/blob/6d7070b24d6ed8509319111204357f81c6d8e8cd/dotfiles/con…
2021-08-06 23:15:47 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-PerScreen.html
2021-08-06 23:16:02 +0200 <geekosaur> which is even worse named imo
2021-08-06 23:16:06 +0200 <vifon> IvanMalison[m]: 404
2021-08-06 23:16:18 +0200 <IvanMalison[m]> oops let me push
2021-08-06 23:16:21 +0200 <vifon> Oh, this one looks fun!
2021-08-06 23:16:22 +0200 <geekosaur> and I thought the other one was LimitWindows but that again does something else
2021-08-06 23:16:53 +0200 <vifon> Nah, I know about LimitWindows, I even use it. :)
2021-08-06 23:17:07 +0200 <IvanMalison[m]> geekosaur: vifon but the other thing is that both IfMax and PerScreen don't quite do what vifon wants, in that they let you choose between two different layouts
2021-08-06 23:17:24 +0200 <geekosaur> we have too many layouts :/
2021-08-06 23:17:24 +0200 <IvanMalison[m]> not decide whether or not to apply a layout modifier
2021-08-06 23:17:25 +0200 <vifon> Yes, but PerScreen should be just enough.
2021-08-06 23:17:47 +0200 <vifon> I could use ifWider 1234 return Mirror
2021-08-06 23:17:51 +0200 <vifon> Probably.
2021-08-06 23:18:45 +0200 <IvanMalison[m]> vifon: but the thing is that youd have to supply the same layout twice or something, but not mirrored in one
2021-08-06 23:19:03 +0200 <vifon> Can it be a set of layouts?
2021-08-06 23:19:22 +0200 <IvanMalison[m]> and this especially wouldn't play well with e.g. toggles or other layout modifiers
2021-08-06 23:19:40 +0200 <IvanMalison[m]> especially if those layout modifiers are themselves stateful in some way
2021-08-06 23:19:59 +0200 <IvanMalison[m]> you'd need to be careful to put it at the bottom of your layout stack
2021-08-06 23:20:21 +0200 <IvanMalison[m]> and ALSO, if you have a bunch of layouts, you'd need to apply it to each of them individually
2021-08-06 23:20:45 +0200 <vifon> Yes, it all makes sense.
2021-08-06 23:21:37 +0200 <IvanMalison[m]> The more I think about it, the more I think using anything like PerScreen for what you want to do actually makes very little sense and is sort of inviting bugs and surprising behavior
2021-08-06 23:21:46 +0200 <IvanMalison[m]> you really want to operate at the level of modifiers, rather than the level of layouts
2021-08-06 23:22:12 +0200 <vifon> A very quick draft, it seems to work. https://einval.eu/upload/U8z4hAZqfTXRqKuh5ft2R1wo.png
2021-08-06 23:22:41 +0200 <vifon> Yes, the indentation is ugly right now.
2021-08-06 23:23:07 +0200 <vifon> But yes, I can already see the multiCol state not being preserved.
2021-08-06 23:23:28 +0200 <vifon> I'd say it's good enough.
2021-08-06 23:23:29 +0200 <IvanMalison[m]> vifon: it will work, for sure, but yeah you're going to lose state between them, and it is really just inviting all kinds of weirdness
2021-08-06 23:23:50 +0200 <vifon> I don't use this workspace for anything "huge".
2021-08-06 23:23:58 +0200 <vifon> IRC, Matrix/Element, Signal…
2021-08-06 23:24:09 +0200 <vifon> I just sometimes want to move it over to a larger screen.
2021-08-06 23:24:26 +0200 <IvanMalison[m]> suit yourself
2021-08-06 23:24:40 +0200 <vifon> If it would be more robust, I could apply it to all the layouts, but I understand it's what it is.
2021-08-06 23:25:09 +0200 <IvanMalison[m]> yeah if you're happy with that, go for it
2021-08-06 23:25:21 +0200 <IvanMalison[m]> it is a litereally perfect usecase for ConditionalModifier, though
2021-08-06 23:25:27 +0200 <vifon> Yes.
2021-08-06 23:25:34 +0200 <vifon> I'll be waiting for it to reach nixpkgs.
2021-08-06 23:25:44 +0200 <IvanMalison[m]> just use an overlay
2021-08-06 23:28:23 +0200 <vifon> Perfect. https://einval.eu/upload/Oy6t6mD3DopJorrfqbr0T3PC.png
2021-08-06 23:28:34 +0200 <vifon> …for now.
2021-08-06 23:30:42 +0200 <vifon> Anyway, I've subscribed to your PR. Thanks!