Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 341 342 343 344 345 346 347 348 349 350 351 .. 1847
184,664 events total
2021-11-19 03:04:36 × steve_ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 265 seconds)
2021-11-19 03:21:44 banc joins (banc@gateway/vpn/airvpn/banc)
2021-11-19 03:36:20 <jakeStateless-Fa> Second question I'll likely have to wait until the morning to get an answer for: How tf does one use `shiftToSame`?
2021-11-19 03:36:38 <jakeStateless-Fa> In particular, I'd like for all web browsers to shift to the workspace they were opened on initially.
2021-11-19 03:36:54 <jakeStateless-Fa> e.g firefox, librewolf, and brave
2021-11-19 03:37:21 <jakeStateless-Fa> err, not opened on initially, just group all new ones to the same ws as the others.
2021-11-19 03:48:21 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-19 03:53:49 × td_ quits (~td@muedsl-82-207-238-143.citykom.de) (Ping timeout: 250 seconds)
2021-11-19 03:55:45 td_ joins (~td@muedsl-82-207-238-169.citykom.de)
2021-11-19 04:50:33 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
2021-11-19 04:51:38 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-19 05:21:34 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
2021-11-19 05:41:02 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Ping timeout: 240 seconds)
2021-11-19 05:44:43 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-19 06:24:17 dschrempf joins (~dominik@070-207.dynamic.dsl.fonira.net)
2021-11-19 06:43:33 qbt joins (~qbt@user/edun)
2021-11-19 07:16:35 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
2021-11-19 07:26:42 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-11-19 07:28:46 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
2021-11-19 07:35:00 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-11-19 07:36:56 <Solid> liskin: it's a good question
2021-11-19 07:37:57 <Solid> I was already only pseudonymous tbh (e.g., I used a library that I had written under gitlab/slotThe and that no one else uses in a project involving my real name); I reckon someone with enough motivation could've easily found out
2021-11-19 07:38:22 <Solid> plus, emacs told me to do it and I couldn't remember writing that agenda entry at all
2021-11-19 07:38:30 <Solid> must've been a long time coming, or something :P
2021-11-19 07:42:39 <Solid> jakeStateless-Fa | Is there any benefit to using ... << no, if you're not doing something point-free these are very much the same
2021-11-19 07:44:47 × dschrempf quits (~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2021-11-19 08:22:10 cfricke joins (~cfricke@user/cfricke)
2021-11-19 08:33:16 <FOSSHuman[m]> Hello everyone, I have been having an issue where workspace 1 disappears when switching to a project workspace, I don't know why this is happening, could someone help?? It is a very strange issue...
2021-11-19 08:33:23 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Ping timeout: 264 seconds)
2021-11-19 08:33:39 <FOSSHuman[m]> On recompile workspace 1 is brought back though
2021-11-19 08:34:14 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2021-11-19 08:35:19 Vermoot joins (~vermoot@89-158-106-112.rev.numericable.fr)
2021-11-19 08:45:54 mc47 joins (~mc47@xmonad/TheMC47)
2021-11-19 09:01:57 <FOSSHuman[m]> It only happens occasionally though, but it is very annoying..
2021-11-19 09:17:33 allbery_b joins (~geekosaur@xmonad/geekosaur)
2021-11-19 09:17:33 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-11-19 09:17:36 allbery_b is now known as geekosaur
2021-11-19 09:21:39 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
2021-11-19 10:01:14 qbt joins (~qbt@user/edun)
2021-11-19 11:17:18 dschrempf joins (~dominik@62.240.134.78)
2021-11-19 11:31:14 <lb9di> using one of the dynamic workspaces modules?
2021-11-19 11:33:46 <geekosaur> jakeStateless-Fa, browsers actively make it difficult to do that :( (although it's not really their fault, they're doing something entirely sensible but difficult to reconcile with how X11 works)
2021-11-19 11:34:46 <geekosaur> it'd be not so different from how SpawnOn works except we'd have to save the _NET_WM_PID and reuse it the next time a matching window opened
2021-11-19 11:35:24 <geekosaur> and with the possibility for false matches because we'd never know if the background process closed
2021-11-19 11:40:38 <FOSSHuman[m]> <lb9di> "using one of the dynamic..." <- dynamicProjects
2021-11-19 11:41:06 <FOSSHuman[m]> It is like workspaces, but you can spawn applications when you switch to them
2021-11-19 11:45:19 <geekosaur> that one shouldn't matter, it's not capable of deleting workspaces on the fly, just spawning stuff on them
2021-11-19 11:48:19 banc joins (banc@gateway/vpn/airvpn/banc)
2021-11-19 11:49:13 <geekosaur> although it can rename workspaces, hm. and then the original set of workspaces would be recreated on mod-q
2021-11-19 12:13:34 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-19 12:17:39 × lb9di quits (~Urist@archlinux/op/MrElendig) (Quit: 404 human not found)
2021-11-19 12:18:42 MrElendig joins (~Urist@archlinux/op/MrElendig)
2021-11-19 12:28:12 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-11-19 12:30:04 geekosaur joins (~geekosaur@xmonad/geekosaur)
2021-11-19 12:58:28 PyerineVanboline is now known as MexicanCatboy[m]
2021-11-19 13:10:50 × qbt quits (~qbt@user/edun) (Quit: Leaving.)
2021-11-19 13:16:04 <jakeStateless-Fa> <geekosaur> "jake :: Stateless -> Farm..." <- I know, but, what of using shiftToSame? That one doesn't have an example, and I was unable to get anything working.
2021-11-19 13:17:35 <jakeStateless-Fa> With that, I could at least try to keep them together. Also: I was looking to use matching class so long as they were in a list of browsers names not NET_WM_PID.
2021-11-19 13:22:22 <geekosaur> the sad thing about browser windows is they don't have reliable className or appName
2021-11-19 13:26:11 <geekosaur> in particular, appName has an annoying tendency to be a uuid, specifically of whatever browser app (possibly a built-in one) runs on a new tab/window
2021-11-19 13:28:35 <jakeStateless-Fa> ok, but - how do I use shiftToSame? My browser window spawning works ok, do maybe I could get something running with that...
2021-11-19 13:29:56 <geekosaur> mm, I wonder what happens with shiftToSame' when no browser windows are open yet
2021-11-19 13:30:10 <geekosaur> what happens when you try to use shiftToSame? is it a type error?
2021-11-19 13:33:53 <jakeStateless-Fa> Yes, I was trying `shiftToSame className`. I didn't try PID, though. I'm on my phone RN, I'll be able to try some more things in a bit.
2021-11-19 13:33:58 × dschrempf quits (~dominik@62.240.134.78) (Ping timeout: 260 seconds)
2021-11-19 13:38:22 dschrempf joins (~dominik@62.240.134.78)
2021-11-19 13:39:32 <geekosaur> so part of the problem is you need to be using composeOne, not compose All, with shiftToSame. they also provide shiftToSame' for normal manageHooks
2021-11-19 13:40:20 <geekosaur> the other part is it's looking for a query which produces a Maybe (which the composeOne queries do, but the standard ones don't; those produce Bool)
2021-11-19 13:48:44 × dschrempf quits (~dominik@62.240.134.78) (Ping timeout: 256 seconds)
2021-11-19 13:48:46 <geekosaur> hm, I'm wondering how best to deal with this. the problem is you can't just wrap the query in something like -?>> because it doesn't just want a Maybe of some kind, it wants a Maybe String containing the matched className. this means a custom (not difficult, but custom) query
2021-11-19 13:49:57 <jakeStateless-Fa> Yeah, I put it in a composeOne, and I also tried -?>
2021-11-19 13:50:03 <jakeStateless-Fa> to no avail
2021-11-19 13:53:14 <geekosaur> oh right, className does produce the String. but it needs to be a Maybe String
2021-11-19 13:53:32 <geekosaur> (fmap Just className)
2021-11-19 14:00:12 <jakeStateless-Fa> so... `composeOne [ (fmap Just className) -?> shiftToSame {- ... -} ]`?
2021-11-19 14:04:57 <geekosaur> I don't think you want to use composeOne here, unless you're already using it for other reasons
2021-11-19 14:05:12 <geekosaur> but the fmap thing is for the parameter to shiftToSame
2021-11-19 14:05:24 <geekosaur> shiftToSame (fmap Just className)
2021-11-19 14:06:25 <geekosaur> in fact what I think you want is something along the lines of: className =? "Firefox" --> shiftToSame (fmap Just className)
2021-11-19 14:06:44 <geekosaur> (also I think I just ran across a documentation bug…)
2021-11-19 14:29:13 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
2021-11-19 14:50:02 <jakeStateless-Fa> Elaborate...
2021-11-19 14:50:50 <jakeStateless-Fa> Oh, and I noticed a typo in the documentation - `~?` is `isInfixOf` - not `isSuffixOf`.
2021-11-19 14:52:09 MexicanCatboy[m] is now known as Catboy[m]
2021-11-19 15:04:46 <jakeStateless-Fa> geekosaur: `(className =? "Alacritty") --> shiftToSame (fmap Just className)` isn't working, nor was the firefox variant
2021-11-19 15:07:44 <geekosaur> sorry that needs to be shiftToSame'
2021-11-19 15:08:06 <geekosaur> (the ' in that position is pronounced "prime". haskell being mathy)
2021-11-19 15:08:36 <jakeStateless-Fa> ^ knew that - I thought it pretty nifty first time I saw that.
2021-11-19 15:08:38 <geekosaur> and yeh, I noticed that doc bug too. probably I'll just patch it in place because it's too small to warrant a PR
2021-11-19 15:10:13 <jakeStateless-Fa> Using `...'` returned this error: `Expected type: Query (Maybe (Endo WindowSet)) Actual type: Query (Endo WindowSet)`
2021-11-19 15:10:24 <jakeStateless-Fa> It's in a composeOne hook, should it not be?
2021-11-19 15:10:50 <jakeStateless-Fa> I checked the other predicates, none of the other conditions should interfere.
2021-11-19 15:11:01 <geekosaur> doc bug already fixed in mater. maybe I noticed it before
2021-11-19 15:11:31 <geekosaur> did you want to be using composeOne?
2021-11-19 15:11:53 <geekosaur> if you did then it has to be with composeOne's combinators instead of composeAll's
2021-11-19 15:12:04 <jakeStateless-Fa> Yes, I'm using a composeOne, and a composeAll, so I just placed this condition into my composeOne.
2021-11-19 15:12:44 <jakeStateless-Fa> I mean, the thing you gave initially compiled fine.
2021-11-19 15:12:49 <jakeStateless-Fa> But it didn't seem to work
2021-11-19 15:14:37 <geekosaur> className hrm. code looked like it should work as long as everything is setting the right className
2021-11-19 15:17:58 <jakeStateless-Fa> Hmm... `className =? "Alacritty" -?> doCenterFloat` isn't working either... weird, I'll investigate

All times are in UTC.