Logs: liberachat/#xmonad
| 2021-08-06 12:06:24 | <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 12:06:24 | <Drishal[m]> | |
| 2021-08-06 12:06:31 | <Drishal[m]> | but does not break on qtile |
| 2021-08-06 12:06:32 | <Drishal[m]> | * but does not break on dwm |
| 2021-08-06 13:01:53 | Γ | hjulle[m] quits (~hjullemat@2001:470:69fc:105::1dd) (Quit: You have been idle for 30+ days) |
| 2021-08-06 13:02:06 | Γ | Kidany[m] quits (~kidanymat@2001:470:69fc:105::a48) (Quit: You have been idle for 30+ days) |
| 2021-08-06 13:02:13 | Γ | dmytrokurch[m] quits (~dmytrokur@2001:470:69fc:105::a35) (Quit: You have been idle for 30+ days) |
| 2021-08-06 13:02:13 | Γ | BartVerhagen[m] quits (~bverhagen@2001:470:69fc:105::68c3) (Quit: You have been idle for 30+ days) |
| 2021-08-06 13:02:13 | Γ | YehoshuaPesachWa quits (~yehoshuap@2001:470:69fc:105::a5f) (Quit: You have been idle for 30+ days) |
| 2021-08-06 13:08:46 | β | Mellow[m] joins (~mellow210@2001:470:69fc:105::8c62) |
| 2021-08-06 13:24:18 | <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 14:08:32 | β | seschwar joins (~seschwar@user/seschwar) |
| 2021-08-06 15:01:38 | β | frosch03 joins (~user@2a02:8070:7ab:1b00:2b92:7579:4f8a:bf6b) |
| 2021-08-06 15:57:40 | β | berberman joins (~berberman@user/berberman) |
| 2021-08-06 15:58:15 | Γ | berberman_ quits (~berberman@user/berberman) (Ping timeout: 258 seconds) |
| 2021-08-06 16:15:38 | Γ | frosch03 quits (~user@2a02:8070:7ab:1b00:2b92:7579:4f8a:bf6b) (Ping timeout: 272 seconds) |
| 2021-08-06 19:36:16 | Γ | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection) |
| 2021-08-06 20:10:33 | β | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2021-08-06 20:23:07 | Γ | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 2021-08-06 20:23:07 | β | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 2021-08-06 20:23:10 | allbery_b | is now known as geekosaur |
| 2021-08-06 20:40:55 | β | Youssef[m] joins (~youssefbm@2001:470:69fc:105::d1e1) |
| 2021-08-06 21:06:08 | β | vifon joins (~vifon@user/vifon) |
| 2021-08-06 21:07:00 | <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 21:11:00 | <IvanMalison[m]> | vifon: funnily enough, I literally just wrote something that should allow you to do exactly what you want |
| 2021-08-06 21:11:07 | <vifon> | \o/ |
| 2021-08-06 21:11:25 | <IvanMalison[m]> | https://github.com/xmonad/xmonad-contrib/pull/582 |
| 2021-08-06 21:11:38 | <vifon> | Hah! |
| 2021-08-06 21:12:16 | <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 21:12:43 | <geekosaur> | there's also IfMax which exists now although it isn't quite as flexible |
| 2021-08-06 21:13:10 | <IvanMalison[m]> | geekosaur: I don't think IfMax would do what he wants though, right? |
| 2021-08-06 21:13:32 | <IvanMalison[m]> | although I suppose that he could try to use that as a template for writing something similar |
| 2021-08-06 21:13:35 | <geekosaur> | it conditionalizes on width |
| 2021-08-06 21:13:53 | <geekosaur> | it's admittedly kinda oddly named |
| 2021-08-06 21:14:11 | <vifon> | I see a window number in the description. |
| 2021-08-06 21:14:28 | <vifon> | This one, right? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-IfMax.html |
| 2021-08-06 21:14:40 | <IvanMalison[m]> | geekosaur: The description says: -- IfMax layout will run one layout if number of windows on workspace is as |
| 2021-08-06 21:14:40 | <IvanMalison[m]> | -- maximum N, and else will run another layout. |
| 2021-08-06 21:15:14 | <geekosaur> | yeh, I got the wrong one., hold on |
| 2021-08-06 21:15:39 | <IvanMalison[m]> | vifon: Here's an exaple of ConditionalModifier https://github.com/IvanMalison/dotfiles/blob/6d7070b24d6ed8509319111204357f81c6d8e8cd/dotfiles/config/xmonad/xmonad.hs#L253 |
| 2021-08-06 21:15:47 | <geekosaur> | https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-PerScreen.html |
| 2021-08-06 21:16:02 | <geekosaur> | which is even worse named imo |
| 2021-08-06 21:16:06 | <vifon> | IvanMalison[m]: 404 |
| 2021-08-06 21:16:18 | <IvanMalison[m]> | oops let me push |
| 2021-08-06 21:16:21 | <vifon> | Oh, this one looks fun! |
| 2021-08-06 21:16:22 | <geekosaur> | and I thought the other one was LimitWindows but that again does something else |
| 2021-08-06 21:16:53 | <vifon> | Nah, I know about LimitWindows, I even use it. :) |
| 2021-08-06 21:17:07 | <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 21:17:24 | <geekosaur> | we have too many layouts :/ |
| 2021-08-06 21:17:24 | <IvanMalison[m]> | not decide whether or not to apply a layout modifier |
| 2021-08-06 21:17:25 | <vifon> | Yes, but PerScreen should be just enough. |
| 2021-08-06 21:17:47 | <vifon> | I could use ifWider 1234 return Mirror |
| 2021-08-06 21:17:51 | <vifon> | Probably. |
| 2021-08-06 21:18:45 | <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 21:19:03 | <vifon> | Can it be a set of layouts? |
| 2021-08-06 21:19:22 | <IvanMalison[m]> | and this especially wouldn't play well with e.g. toggles or other layout modifiers |
| 2021-08-06 21:19:40 | <IvanMalison[m]> | especially if those layout modifiers are themselves stateful in some way |
| 2021-08-06 21:19:59 | <IvanMalison[m]> | you'd need to be careful to put it at the bottom of your layout stack |
| 2021-08-06 21:20:21 | <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 21:20:45 | <vifon> | Yes, it all makes sense. |
| 2021-08-06 21:21:37 | <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 21:21:46 | <IvanMalison[m]> | you really want to operate at the level of modifiers, rather than the level of layouts |
| 2021-08-06 21:22:12 | <vifon> | A very quick draft, it seems to work. https://einval.eu/upload/U8z4hAZqfTXRqKuh5ft2R1wo.png |
| 2021-08-06 21:22:41 | <vifon> | Yes, the indentation is ugly right now. |
| 2021-08-06 21:23:07 | <vifon> | But yes, I can already see the multiCol state not being preserved. |
| 2021-08-06 21:23:28 | <vifon> | I'd say it's good enough. |
| 2021-08-06 21:23:29 | <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 21:23:50 | <vifon> | I don't use this workspace for anything "huge". |
| 2021-08-06 21:23:58 | <vifon> | IRC, Matrix/Element, Signal⦠|
| 2021-08-06 21:24:09 | <vifon> | I just sometimes want to move it over to a larger screen. |
| 2021-08-06 21:24:26 | <IvanMalison[m]> | suit yourself |
| 2021-08-06 21:24:40 | <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 21:25:09 | <IvanMalison[m]> | yeah if you're happy with that, go for it |
| 2021-08-06 21:25:21 | <IvanMalison[m]> | it is a litereally perfect usecase for ConditionalModifier, though |
| 2021-08-06 21:25:27 | <vifon> | Yes. |
| 2021-08-06 21:25:34 | <vifon> | I'll be waiting for it to reach nixpkgs. |
| 2021-08-06 21:25:44 | <IvanMalison[m]> | just use an overlay |
| 2021-08-06 21:28:23 | <vifon> | Perfect. https://einval.eu/upload/Oy6t6mD3DopJorrfqbr0T3PC.png |
| 2021-08-06 21:28:34 | <vifon> | β¦for now. |
| 2021-08-06 21:30:42 | <vifon> | Anyway, I've subscribed to your PR. Thanks! |
| 2021-08-06 22:19:15 | Γ | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 2021-08-06 23:29:11 | β | Guest98 joins (~Guest98@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 00:09:06 | Γ | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2021-08-07 00:12:06 | β | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-08-07 00:52:39 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 01:05:56 | Γ | ml| quits (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) (Quit: WeeChat 3.0.1) |
| 2021-08-07 01:06:21 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 01:09:38 | Γ | ml| quits (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) (Client Quit) |
| 2021-08-07 01:10:47 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 01:20:09 | Γ | ml| quits (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) (Quit: WeeChat 3.0.1) |
| 2021-08-07 01:20:29 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 01:41:03 | Γ | ml| quits (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) (Quit: WeeChat 3.0.1) |
| 2021-08-07 01:41:24 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 01:42:37 | Γ | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 3.2) |
| 2021-08-07 02:03:19 | Γ | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 268 seconds) |
| 2021-08-07 02:22:11 | β | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-08-07 02:22:42 | β | ectospasm joins (~ectospasm@user/ectospasm) |
| 2021-08-07 02:22:51 | Γ | ml| quits (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) (Quit: WeeChat 3.0.1) |
| 2021-08-07 02:23:10 | β | ml| joins (~ml|@c-65-34-157-166.hsd1.fl.comcast.net) |
| 2021-08-07 02:23:28 | Γ | td_ quits (~td@muedsl-82-207-238-118.citykom.de) (Ping timeout: 258 seconds) |
All times are in UTC.