Logs: liberachat/#xmonad
| 2022-04-18 07:57:02 | ← | wybpip[m] parts (~wybpipmat@2001:470:69fc:105::1:f452) () |
| 2022-04-18 08:58:45 | × | [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection) |
| 2022-04-18 09:00:12 | × | amnesia1011011[m quits (~amnesia10@2001:470:69fc:105::1:dec3) (Quit: You have been kicked for being idle) |
| 2022-04-18 09:00:18 | × | liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-04-18 09:01:03 | <Ether[m]> | Am i missing something when using xmonad insert hook? |
| 2022-04-18 09:01:03 | <Ether[m]> | It seems like to me. Because when i use it and set; |
| 2022-04-18 09:01:03 | <Ether[m]> | "insert Below Newer <+> myManageHook" and do xmonad --recompile && xmonad --restart it change the focused window. |
| 2022-04-18 09:01:22 | <Ether[m]> | Not mentioned in the docs; |
| 2022-04-18 09:01:22 | <Ether[m]> | https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0.9/XMonad-Hooks-InsertPosition.html |
| 2022-04-18 09:01:33 | → | [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) |
| 2022-04-18 09:04:08 | <abastro[m]> | > XMonad's default is the same as using: insertPosition Above Newer. |
| 2022-04-18 09:04:10 | <lambdabot> | <hint>:1:10: error: parse error on input ‘default’ |
| 2022-04-18 09:04:23 | → | liskin[m] joins (~liskinmat@2001:470:69fc:105::768) |
| 2022-04-18 09:04:45 | <abastro[m]> | So `insert Below Newer` will move focus to the newer window I think |
| 2022-04-18 09:09:27 | <Ether[m]> | No |
| 2022-04-18 09:10:13 | <Ether[m]> | Thats not what happens when i use it and it tiles the way expected but when i restart and recompile xmonad it changes focus.. |
| 2022-04-18 09:10:46 | <Ether[m]> | Which should not be the case. |
| 2022-04-18 09:28:56 | <abastro[m]> | Well, I don't think restarting xmonad could retain focus |
| 2022-04-18 09:29:38 | <abastro[m]> | The insertPosition hook looks more to be for "inserting" new windows you opened. |
| 2022-04-18 10:58:25 | → | abastro joins (~abab9579@220.75.216.63) |
| 2022-04-18 11:05:38 | <Ether[m]> | Exactly. But then i have the problem 😕 |
| 2022-04-18 11:07:43 | <abastro[m]> | What do you want to achieve? |
| 2022-04-18 11:14:46 | → | Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 11:15:05 | × | Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Changing host) |
| 2022-04-18 11:15:05 | → | Polo joins (~GiverOfDo@user/polo) |
| 2022-04-18 11:30:25 | × | [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection) |
| 2022-04-18 11:31:04 | × | Polo quits (~GiverOfDo@user/polo) (Quit: Textual IRC Client: www.textualapp.com) |
| 2022-04-18 11:47:03 | → | [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) |
| 2022-04-18 12:24:22 | → | jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-04-18 12:34:39 | × | abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection) |
| 2022-04-18 12:34:54 | → | abastro joins (~abab9579@220.75.216.63) |
| 2022-04-18 13:38:54 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2022-04-18 13:46:16 | <Ether[m]> | Not change focus when restarting |
| 2022-04-18 13:49:01 | <geekosaur> | pretty sure it hasto run all the windows through the manageHook on restart, so that may notbe possible |
| 2022-04-18 13:50:51 | <geekosaur> | hm, actually, no, it should receive all the management info from the previous instantiation, unless you're invoking restart directly and have the flag set wrong |
| 2022-04-18 13:52:10 | <geekosaur> | no, you're doing it the usual way… |
| 2022-04-18 14:07:08 | [Leary] | is now known as Leary |
| 2022-04-18 14:07:39 | Leary | is now known as Lears |
| 2022-04-18 14:11:57 | × | Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer) |
| 2022-04-18 14:13:00 | → | Czernobog joins (~Czernobog@user/czernobog) |
| 2022-04-18 14:15:36 | × | Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer) |
| 2022-04-18 14:16:41 | → | Czernobog joins (~Czernobog@user/czernobog) |
| 2022-04-18 14:20:56 | → | The_Czernobog joins (~Czernobog@user/czernobog) |
| 2022-04-18 14:21:28 | × | Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer) |
| 2022-04-18 14:21:30 | The_Czernobog | is now known as Czernobog |
| 2022-04-18 14:33:11 | Solid | booked everything for ZuriHac now |
| 2022-04-18 14:46:33 | <Ether[m]> | geekosaur: what is the right way? |
| 2022-04-18 14:46:58 | <geekosaur> | you're doing it the right way |
| 2022-04-18 14:47:22 | <geekosaur> | some people run restart directly, but they have to pass the correct flags for it to pass on state to the new xmonad |
| 2022-04-18 14:47:47 | <geekosaur> | (normally you'd use restart if you wanted to restart into a different window manager or something) |
| 2022-04-18 14:51:27 | <Ether[m]> | https://github.com/Ahanaf-Ether/xmonad/blob/stable/xmonad.hs |
| 2022-04-18 14:51:56 | <Ether[m]> | geekosaur: can you take a look at line 571 to 573 |
| 2022-04-18 14:53:52 | <Ether[m]> | X.hs has this issue resolved i am not sure how. |
| 2022-04-18 14:55:27 | <geekosaur> | yes, I know, I think that shouldnot be happening on restart because the window management information should be passed on |
| 2022-04-18 14:55:34 | <geekosaur> | lemme doublecheck |
| 2022-04-18 14:57:15 | → | LordOfLand joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) |
| 2022-04-18 14:57:24 | × | LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Changing host) |
| 2022-04-18 14:57:24 | → | LordOfLand joins (~GiverOfDo@user/polo) |
| 2022-04-18 14:57:34 | LordOfLand | is now known as POLO |
| 2022-04-18 14:58:52 | <geekosaur> | yes, the windowset is written to and restored from the state file so the manageHook should only affect restarts if new windows happened to open during the restart |
| 2022-04-18 15:03:53 | <Ether[m]> | Can you show me the line. |
| 2022-04-18 15:05:39 | × | chomwitt quits (~chomwitt@2a02:587:dc00:4900:2e92:53e5:cedf:6bf7) (Ping timeout: 240 seconds) |
| 2022-04-18 15:06:08 | <Ether[m]> | X.hs was missing some lines i have updated it.. |
| 2022-04-18 15:07:22 | <geekosaur> | uh? this isn't in your config file, it's part of what xmonad does during a restart |
| 2022-04-18 15:07:52 | <Ether[m]> | So there is no way to change this behavior? |
| 2022-04-18 15:07:58 | <Ether[m]> | But x.hs does it? |
| 2022-04-18 15:08:33 | × | mion quits (~Urist@archlinux/op/MrElendig) (Quit: invading russia) |
| 2022-04-18 15:10:36 | → | MrElendig joins (~Urist@archlinux/op/MrElendig) |
| 2022-04-18 15:10:41 | <geekosaur> | as I said earlier, forwarding the windowset means it should not be changing the behavior, because the manageHook shouldn't be being run |
| 2022-04-18 15:11:05 | <geekosaur> | you might want to use ManageDebug to verify this though, I guess something else might be wrong somewhere |
| 2022-04-18 15:12:00 | <geekosaur> | hm, you need to use the one from latest git though as I fixed a bug that meant the final report was running repeatedly |
| 2022-04-18 15:12:55 | <geekosaur> | https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/ManageDebug.hs |
| 2022-04-18 15:13:19 | <Ether[m]> | How do i use it? |
| 2022-04-18 15:14:09 | <Ether[m]> | But x.hs doesn't need this fix. |
| 2022-04-18 15:14:27 | <Ether[m]> | Can you take a look at how x.hs implemented it? |
| 2022-04-18 15:14:47 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 2022-04-18 15:15:32 | Ether[m] | uploaded a video: (1821KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/WCGyVCBXDCkbhGbBBjLaTMye/20220418_211447.mp4 > |
| 2022-04-18 15:15:48 | <Ether[m]> | This happens when recompiling and restarting.. |
| 2022-04-18 15:16:50 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2022-04-18 15:17:17 | Ether[m] | uploaded a video: (857KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/hrRRTOZGGdLLdzmorMMbjsCS/20220418_211648.mp4 > |
| 2022-04-18 15:17:30 | <Ether[m]> | Restarting with x.hs.. |
| 2022-04-18 15:17:35 | <Ether[m]> | geekosaur |
| 2022-04-18 15:19:47 | <Ether[m]> | Notice how in my config it first automatically changes tab and the moves to the left window. |
| 2022-04-18 15:20:02 | <Ether[m]> | Right window* |
| 2022-04-18 15:22:27 | → | chomwitt joins (~chomwitt@ppp-94-67-221-107.home.otenet.gr) |
| 2022-04-18 15:24:54 | POLO | is now known as yous |
| 2022-04-18 15:25:50 | <geekosaur> | I doubt your x.hs has the guts of XMonad.Operations inside it |
| 2022-04-18 15:26:11 | yous | is now known as YOUS |
| 2022-04-18 15:26:16 | YOUS | is now known as yous |
| 2022-04-18 15:26:55 | <Ether[m]> | Lol |
| 2022-04-18 15:27:44 | <Ether[m]> | Jeez the way you phrased it 🤣 |
| 2022-04-18 15:28:53 | × | yous quits (~GiverOfDo@user/polo) (Quit: Textual IRC Client: www.textualapp.com) |
| 2022-04-18 15:28:54 | <geekosaur> | you're starting to become annoying. I already told you this can't be in your config, aside from that insertPosition hook |
| 2022-04-18 15:29:09 | <geekosaur> | also your x.hs and xmonad.hs appear to have very little in common, the diff is huge |
| 2022-04-18 15:30:28 | <Ether[m]> | geekosaur: Sorry :( |
| 2022-04-18 15:31:28 | <geekosaur> | yeh, it can't even compare them properly, it'sdoing it at empty lines because the two files are otherwise unrelated |
| 2022-04-18 15:32:14 | <geekosaur> | anyway I want you to test to see if the manageHook is running during startup for some reason |
| 2022-04-18 15:33:08 | <Ether[m]> | geekosaur: Sure |
| 2022-04-18 15:33:38 | <geekosaur> | so you need to import XMonad.Hooks.ManageDebug, then line 569 of your xmonad.hs becomes: |
| 2022-04-18 15:33:53 | <geekosaur> | xmonad $ debugManageHook $ withNavigation2DConfig myNav2DConf $ docks $ ewmh def |
All times are in UTC.