Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 765 766 767 768 769 770 771 772 773 774 775 .. 1850
184,961 events total
2022-08-05 07:38:35 <xmonadgooood> i couldn't spot
2022-08-05 07:38:59 <xmonadgooood> thanyou
2022-08-05 07:43:14 × xmonadgooood quits (~xmonadgoo@42.107.88.58) (Ping timeout: 252 seconds)
2022-08-05 07:49:10 × alternateved quits (~user@staticline-31-183-149-36.toya.net.pl) (Remote host closed the connection)
2022-08-05 07:49:36 alternateved joins (~user@staticline-31-183-149-36.toya.net.pl)
2022-08-05 07:55:48 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
2022-08-05 08:18:51 Guest57 joins (~Guest57@180.94.34.76)
2022-08-05 08:19:37 × Guest57 quits (~Guest57@180.94.34.76) (Client Quit)
2022-08-05 08:21:48 sogens joins (~sogens@211.30.173.20)
2022-08-05 08:32:21 xmonadgooood joins (~xmonadgoo@42.107.88.1)
2022-08-05 08:32:29 <xmonadgooood> hey [Leary]
2022-08-05 08:32:50 <xmonadgooood> can you help me with that focusTracking?
2022-08-05 08:32:56 <xmonadgooood>     tiled = myDecorate $ windowNavigation $ subTabbed $ boringWindows $ focusTracking $ reflectHoriz $ Tall nmaster delta ratio
2022-08-05 08:33:00 <xmonadgooood> This is the current situation
2022-08-05 08:33:05 <xmonadgooood> but doesn't work
2022-08-05 08:42:33 <[Leary]> Is the problem (of the tiled layer showing/focusing the wrong window) while or after the float is focused, or both?
2022-08-05 08:46:51 <xmonadgooood> let me verify
2022-08-05 08:47:35 <xmonadgooood> okay
2022-08-05 08:47:49 <xmonadgooood> the tab switches when I sink the floating window
2022-08-05 08:50:09 <xmonadgooood> [Leary] so I press mod+i to bring up the scratchpad and tiled tabs are fine
2022-08-05 08:50:36 <xmonadgooood> but when I sink the scratchpad by pressing mod+i again then the tiled tab group switches to the first tab
2022-08-05 08:50:58 <[Leary]> You mean after you dismiss it? Sink means to unfloat (to insert the window into the tiling).
2022-08-05 08:51:30 <[Leary]> Regardless, it sounds like trackFloating is working as intended (or wasn't needed in the first place); the solution you want should be in RefocusLast.
2022-08-05 08:52:36 <xmonadgooood> oh
2022-08-05 08:52:51 <xmonadgooood> yea i mean when i sink the window(dismiss it)
2022-08-05 08:53:09 <xmonadgooood> previously on my old setup i was using refocuslast
2022-08-05 08:53:16 <xmonadgooood> but still had the same issue going on
2022-08-05 08:55:01 <[Leary]> RefocusLast is something of a hack, it won't do what you want if you don't apply it correctly to the circumstances. In particular, I suspect it needs to be integrated into the scratchpad dismiss action.
2022-08-05 08:55:42 logzet joins (~quassel@2001:9e8:e51f:8d00:dabb:c1ff:fed3:a1b9)
2022-08-05 08:56:56 <xmonadgooood> I'll apply refocuslast
2022-08-05 08:57:14 <xmonadgooood> I too suspect whether I'm applying it wrong
2022-08-05 08:57:21 <xmonadgooood> I'll apply it and pastebin it
2022-08-05 09:00:29 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
2022-08-05 09:00:40 <xmonadgooood> umm...
2022-08-05 09:00:46 <xmonadgooood> what do i do about the import
2022-08-05 09:00:49 <xmonadgooood> my config already has
2022-08-05 09:00:54 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
2022-08-05 09:01:11 × gdd quits (~gdd@129.199.146.230) (Ping timeout: 268 seconds)
2022-08-05 09:01:15 <xmonadgooood> this line:
2022-08-05 09:01:16 <xmonadgooood> handleEventHook = refocusLastWhen myPred <+> handleEventHook def
2022-08-05 09:01:21 <xmonadgooood> not that sorry
2022-08-05 09:01:30 <xmonadgooood> this one:
2022-08-05 09:01:38 <xmonadgooood>     import qualified Data.Map as M
2022-08-05 09:01:58 <xmonadgooood> but in the refocuslast docs they mention the import like:
2022-08-05 09:02:14 <xmonadgooood>     import qualified Data.Map.Strict as M
2022-08-05 09:02:20 <xmonadgooood> which one do I use?
2022-08-05 09:02:23 <xmonadgooood> or do both?
2022-08-05 09:02:53 <[Leary]> Oh, that doesn't really matter. One or the other.
2022-08-05 09:03:11 <[Leary]> They modules have the same interface.
2022-08-05 09:03:35 <xmonadgooood> then i've prolly made a mistake here:
2022-08-05 09:03:57 gdd joins (~gdd@129.199.146.230)
2022-08-05 09:04:09 <xmonadgooood> https://paste.tomsmeding.com/BMDAVWp1
2022-08-05 09:04:49 <xmonadgooood> oh forgot the where part
2022-08-05 09:04:51 <xmonadgooood> waitup
2022-08-05 09:07:26 <xmonadgooood> I'm confused about what to do with the `additionalKeys` line
2022-08-05 09:07:28 <xmonadgooood> https://paste.tomsmeding.com/DjqxiMix
2022-08-05 09:07:35 <xmonadgooood> this doesn't compile
2022-08-05 09:09:50 <[Leary]> You want `refocusLastKeys <> keys def` like it has in the example, not `myKeys`.
2022-08-05 09:12:42 <xmonadgooood>  are the others wrong too?
2022-08-05 09:12:47 <xmonadgooood> like this one:
2022-08-05 09:12:56 <xmonadgooood>         handleEventHook = refocusLastWhen myPred <+> myEventHook def,
2022-08-05 09:13:11 <xmonadgooood> myEventHook is correct, right?
2022-08-05 09:14:17 <xmonadgooood> also `<+>` and `<>` are the same thing(append)... right?
2022-08-05 09:14:44 <[Leary]> You probably don't want to be giving it `def`, otherwise I suspect it's right; I'd have to see the compile errors.
2022-08-05 09:15:07 <[Leary]> (<+>) is the same as (<>). I think it's a deprecated alias, so it's better to use the latter.
2022-08-05 09:16:42 <[Leary]> Also, you're only supposed to use the log hook *or* the layout hook for RefocusLast. Layout is more complex, so probably go with the log hook.
2022-08-05 09:18:23 <[Leary]> (note that the layouthook line in the example is commented out, though perhaps that's not obvious and a bit confusing)
2022-08-05 09:20:49 <xmonadgooood> https://imgur.com/a/zMOUC7b
2022-08-05 09:21:05 <xmonadgooood> after making the changes this is the error i get
2022-08-05 09:21:11 <xmonadgooood> ill also paste my entire xmonad.hs
2022-08-05 09:22:16 <xmonadgooood> https://paste.tomsmeding.com/u0RMDzIv
2022-08-05 09:24:28 <[Leary]> Okay, so the point of `keys def` and `logHook def` is getting the `keys` and `logHook` fields from the default config, so you can combine the changes into them with (<>). That doesn't apply to `myEventHook`, which is why you don't want `def` there, but it does to the others.
2022-08-05 09:25:31 <[Leary]> Or rather, in `myEventHook` you already do that in the definition.
2022-08-05 09:25:58 <xmonadgooood> I just added def to loghook and keys
2022-08-05 09:26:09 <xmonadgooood> is that okay? because it compiles successfully now
2022-08-05 09:26:20 <[Leary]> Yes, that's what I was suggesting.
2022-08-05 09:26:49 <xmonadgooood> still the same issue
2022-08-05 09:26:56 <xmonadgooood> do i logout and log back in?
2022-08-05 09:28:09 <xmonadgooood> or do i have to apply 'refocusLast' in 'myLayouts' too?
2022-08-05 09:28:58 <[Leary]> `refocusLastKeys` there adds keybindings such that the issue shouldn't happen when you shift a float to and from a workspace normally.
2022-08-05 09:29:28 <[Leary]> But it doesn't add anything special for the scratchpad actions, which I suspect it needs to work for that case.
2022-08-05 09:34:09 <xmonadgooood> umm...
2022-08-05 09:34:15 <xmonadgooood> so what should i do now?
2022-08-05 09:36:47 <[Leary]> It seems like RefocusLast could have an action modifier that would transform the scratchpad actions, but I'm not sure if it can be written from the outside. `withRecentsIn` might be enough; I'll have a go at it and make a gist if it looks like it works.
2022-08-05 09:37:09 × alternateved quits (~user@staticline-31-183-149-36.toya.net.pl) (Read error: Connection reset by peer)
2022-08-05 09:37:22 <xmonadgooood> so rn i don't have any fix
2022-08-05 09:37:25 <xmonadgooood> ?
2022-08-05 09:37:28 alternateved joins (~user@staticline-31-183-149-36.toya.net.pl)
2022-08-05 09:38:28 alternateved parts (~user@staticline-31-183-149-36.toya.net.pl) ()
2022-08-05 09:38:50 <[Leary]> Well, if it can be done via `withRecentsIn`, I'd call that a fix. But nothing trivial.
2022-08-05 09:38:59 <xmonadgooood> okay ill try
2022-08-05 09:40:47 <[Leary]> Oh, `refocusWhen` might be enough, actually.
2022-08-05 09:42:31 <xmonadgooood> how do i apply it?
2022-08-05 09:42:50 <xmonadgooood> do i remove the applied refocuslast suff from my main function?
2022-08-05 09:47:24 <[Leary]> No, don't change that stuff. And unless your Haskell is halfway decent, you probably won't be able to write up the fix with these tools.
2022-08-05 09:47:50 <xmonadgooood> im terrible at haskell
2022-08-05 09:47:55 <xmonadgooood> i just copy and paste bits around
2022-08-05 09:48:05 <xmonadgooood> okay i wont change that stuff
2022-08-05 09:48:09 <xmonadgooood> what should i do further?
2022-08-05 09:48:14 <xmonadgooood> also came across a reddit post

All times are in UTC.