2022/02/03

2022-02-03 00:15:37 +0100ml|(~ml|@user/ml/x-5298235) (Ping timeout: 256 seconds)
2022-02-03 00:45:04 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2022-02-03 01:08:13 +0100catman(~catman@user/catman) (Read error: Connection reset by peer)
2022-02-03 01:24:44 +0100Czernobog(~Czernobog@user/czernobog) (Read error: Connection reset by peer)
2022-02-03 01:27:30 +0100Czernobog(~Czernobog@user/czernobog)
2022-02-03 01:35:51 +0100iaeung[m](~iaungmatr@2001:470:69fc:105::1:2fe2)
2022-02-03 01:42:29 +0100ml|(~ml|@user/ml/x-5298235)
2022-02-03 01:51:46 +0100mvk(~mvk@2607:fea8:5cdc:bf00::80f1)
2022-02-03 02:46:56 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 02:57:02 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 03:12:11 +0100twiclo1(~twiclo@204.14.20.66.static.utbb.net)
2022-02-03 03:12:57 +0100mvk(~mvk@2607:fea8:5cdc:bf00::80f1) (Ping timeout: 240 seconds)
2022-02-03 03:48:50 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 04:03:39 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-02-03 04:07:39 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 04:15:24 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 04:17:18 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 04:24:32 +0100banc(banc@gateway/vpn/airvpn/banc)
2022-02-03 04:43:33 +0100td_(~td@muedsl-82-207-238-174.citykom.de) (Ping timeout: 256 seconds)
2022-02-03 04:44:27 +0100td_(~td@94.134.91.183)
2022-02-03 04:53:45 +0100 <jakeStateless-Fa> I'm trying to do some multi-monitor setup stuff. The desired behavior I'm after is the standard swapping behavior, just instead of altering the one that has the focused window, alter the one that has the mouse on it.
2022-02-03 04:54:18 +0100 <jakeStateless-Fa> Does this exist yet?
2022-02-03 05:20:31 +0100 <jakeStateless-Fa> It's really close to the behavior that `W.view` already gives...
2022-02-03 06:08:28 +0100 <jakeStateless-Fa> well, and greedyView
2022-02-03 06:14:47 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
2022-02-03 06:22:18 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2022-02-03 06:24:10 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-02-03 06:52:28 +0100 <jakeStateless-Fa> on another note, I'm trying to setup a gridselect that launches other gridselects, what is wrong with my approach here?
2022-02-03 06:52:38 +0100jakeStateless-Fauploaded an image: (72KiB) < https://libera.ems.host/_matrix/media/r0/download/jupiterbroadcasting.com/OMORpzQWxEbDIxeQSkyOvELw… >
2022-02-03 06:52:46 +0100 <jakeStateless-Fa> I keep getting type mismatches
2022-02-03 06:53:06 +0100 <jakeStateless-Fa> either it's `String` and it needs `X ()` or vice versa
2022-02-03 07:05:56 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 07:10:09 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 07:22:43 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 07:50:32 +0100iaeung[m]iung[m]
2022-02-03 08:25:52 +0100sogens(~sogens@pa49-197-72-150.pa.qld.optusnet.com.au) (*.net *.split)
2022-02-03 08:25:52 +0100qbt(~qbt@user/edun) (*.net *.split)
2022-02-03 08:25:52 +0100red-snail(~snail@static.151.210.203.116.clients.your-server.de) (*.net *.split)
2022-02-03 08:25:52 +0100ft(~ft@shell.chaostreff-dortmund.de) (*.net *.split)
2022-02-03 08:25:52 +0100tv(~tv@user/tv) (*.net *.split)
2022-02-03 08:25:53 +0100ghormoon(~ghormoon@ghorland.net) (*.net *.split)
2022-02-03 08:25:53 +0100wz1000(~zubin@static.11.113.47.78.clients.your-server.de) (*.net *.split)
2022-02-03 08:25:53 +0100Forkk(~forkk@li926-228.members.linode.com) (*.net *.split)
2022-02-03 08:25:53 +0100skewerr(spoonm@inaba.spoonm.org) (*.net *.split)
2022-02-03 08:25:53 +0100haskl(~haskl@user/haskl) (*.net *.split)
2022-02-03 08:26:27 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 08:27:57 +0100sogens(~sogens@pa49-197-72-150.pa.qld.optusnet.com.au)
2022-02-03 08:27:57 +0100qbt(~qbt@user/edun)
2022-02-03 08:27:57 +0100red-snail(~snail@static.151.210.203.116.clients.your-server.de)
2022-02-03 08:27:58 +0100ft(~ft@shell.chaostreff-dortmund.de)
2022-02-03 08:27:58 +0100tv(~tv@user/tv)
2022-02-03 08:27:58 +0100ghormoon(~ghormoon@ghorland.net)
2022-02-03 08:27:58 +0100wz1000(~zubin@static.11.113.47.78.clients.your-server.de)
2022-02-03 08:27:58 +0100Forkk(~forkk@li926-228.members.linode.com)
2022-02-03 08:27:58 +0100skewerr(spoonm@inaba.spoonm.org)
2022-02-03 08:27:58 +0100haskl(~haskl@user/haskl)
2022-02-03 08:39:57 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 240 seconds)
2022-02-03 08:46:29 +0100mc47(~mc47@xmonad/TheMC47)
2022-02-03 08:54:12 +0100 <Solid> would probably be easier to debug if you 1. added type signatures and 2. didn't post an image of test ;)
2022-02-03 09:00:59 +0100ebray187(~ebray187@2800:150:129:2485:224:1dff:fed5:599e) (Quit: Konversation terminated!)
2022-02-03 09:22:39 +0100dirtcastle(~dirtcastl@103.43.203.225)
2022-02-03 09:23:41 +0100f(~f@31-211-204-73.customers.ownit.se)
2022-02-03 09:23:51 +0100 <mc47> Do we have "type WindowScreen = W.Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail" exported somewhere? This is the second time I need it, I'm wondering whether we should include standard type definitions in XMonad.Prelude
2022-02-03 09:24:47 +0100 <mc47> These are types that are a result of the `StackSet` definition in the core, but aren't explicitly written out anywhere except in the modules that need them
2022-02-03 09:36:16 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net)
2022-02-03 09:41:14 +0100 <Solid> mc47: there is one definition in X.U.Loggers (commited by yourself, in fact :D)
2022-02-03 09:41:22 +0100f(~f@31-211-204-73.customers.ownit.se) (Remote host closed the connection)
2022-02-03 09:41:24 +0100 <Solid> oh but it's not exported
2022-02-03 09:41:29 +0100 <mc47> Exactly :p
2022-02-03 09:42:09 +0100 <Solid> yeah we should definitely just add this to the core
2022-02-03 09:42:48 +0100 <mc47> I'll push a PR
2022-02-03 09:43:12 +0100 <Solid> I guess for using it _now_ X.Prelude would be better though
2022-02-03 09:43:29 +0100 <Solid> but long term I think adding it to where WindowSet and WindowSpace already are seems better
2022-02-03 09:44:11 +0100 <mc47> I mean, I'm the only one complaining about it so maybe just the Prelude is fine
2022-02-03 09:48:05 +0100 <Solid> :)
2022-02-03 09:48:25 +0100 <Solid> It's probably not critical (though there is one function in the core that would get a nicer type signature!)
2022-02-03 09:53:07 +0100 <mc47> Solid: adding it to X.Core and building contrib with that only generates an error for X.U.Loggers
2022-02-03 09:53:35 +0100 <mc47> So I guess both options are fine
2022-02-03 09:53:52 +0100 <mc47> Not in a hurry, let's see what others think
2022-02-03 09:54:00 +0100 <Solid> an error? just removing the type signature should be fine I think
2022-02-03 09:54:23 +0100 <Solid> but i guess the real problem is that we'd need to also release xmonad 0.17.1 when we release a new minor version of xmonad-contrib
2022-02-03 09:54:47 +0100 <Solid> which i don't think is necessarily justified
2022-02-03 09:56:55 +0100cfricke(~cfricke@user/cfricke)
2022-02-03 10:00:06 +0100 <mc47> yeah ofc just removing the type-signature is fine
2022-02-03 10:00:23 +0100 <mc47> didn't think about releases tbh, but good point
2022-02-03 10:00:32 +0100 <mc47> contrib it is
2022-02-03 10:06:53 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds)
2022-02-03 10:17:41 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2022-02-03 10:17:41 +0100allbery_b(~geekosaur@xmonad/geekosaur)
2022-02-03 10:17:44 +0100allbery_bgeekosaur
2022-02-03 10:17:54 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-02-03 10:31:03 +0100cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.3)
2022-02-03 10:32:48 +0100 <geekosaur> jakeStateless-Fa, you can't just conjure up an IO context wherever you want. If you need to do I/O, you need to do it in an IO context
2022-02-03 10:33:51 +0100dirtcastle(~dirtcastl@103.43.203.225) (Ping timeout: 256 seconds)
2022-02-03 10:37:34 +0100 <geekosaur> in fact what you're doing may be fine, but you can't use mAllGrids the same way as mgrids', you have to use >>= to run it in IO and send the result on to the next thing
2022-02-03 10:37:53 +0100 <geekosaur> would need to see how it's used to see exactly how to do that
2022-02-03 10:38:55 +0100 <geekosaur> also, as Solid said, please use a proper paste bin instead of screenshots. if nothing else I can then download and edit the code (if needed; good pastebins let me edit directly)
2022-02-03 10:38:59 +0100 <geekosaur> @where paste
2022-02-03 10:38:59 +0100 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2022-02-03 10:39:44 +0100 <geekosaur> most terminals let you select with the left mouse button and copy with ctrl-shift-c
2022-02-03 10:40:13 +0100 <geekosaur> xterm and I think urxvt just need the left mouse button and copy directly
2022-02-03 10:41:45 +0100cfricke(~cfricke@user/cfricke)
2022-02-03 10:58:13 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds)
2022-02-03 10:59:50 +0100werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2022-02-03 11:31:21 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-02-03 11:33:04 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-02-03 11:40:18 +0100Benzi-Junior(~BenziJuni@dsl-149-66-61.hive.is)
2022-02-03 11:50:22 +0100 <Benzi-Junior> hey, all of a sudden xmonad is taking forever to launch terminals
2022-02-03 11:52:36 +0100 <geekosaur> what happens if you run one directly from another terminal?
2022-02-03 11:53:20 +0100 <geekosaur> most modern terminals use a factory backend; that may have become confused or slow and needs restarting (but this will close any terminals you have open)
2022-02-03 11:55:39 +0100 <Benzi-Junior> geekosaur, If I run one directly using another terminal window or dmenu it's faster, as in less than minutes but still slow
2022-02-03 11:56:31 +0100 <Benzi-Junior> thought it was working as regular but tried again just before replying and the issue appears to be there as well
2022-02-03 11:57:41 +0100 <Benzi-Junior> it was working until like an hour ago, and reboot didn't fix it
2022-02-03 11:57:53 +0100 <geekosaur> o.O
2022-02-03 12:00:24 +0100 <Benzi-Junior> hmm ok the issue appars to be with termonad not xmonad, launching x-terminal-emulator is instant
2022-02-03 12:00:55 +0100 <Benzi-Junior> well the reason I thought it was xmonad was because earlier it was working with dmenu just not mod+return
2022-02-03 12:13:36 +0100 <geekosaur> odd
2022-02-03 12:15:44 +0100 <Benzi-Junior> odd indeed
2022-02-03 12:19:07 +0100cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.3)
2022-02-03 12:38:01 +0100dirtcastle(~dirtcastl@103.43.203.227)
2022-02-03 12:45:25 +0100 <Benzi-Junior> I can't see a reason why this would have changed all of a sudden
2022-02-03 12:50:37 +0100 <narendranath344[> What is minimum version of ghc should I use to compile xmonad and xmonad-contrib with?
2022-02-03 12:51:04 +0100 <narendranath344[> Or should I use ghcup recommend one?
2022-02-03 12:57:18 +0100 <liskin> narendranath344[: we support 8.4 and up and our CI matrix covers all supported versions so basically any ghc version which isn't ancient will work just fine
2022-02-03 12:59:07 +0100 <liskin> that being said, there are rumors of 9.0 having subtle bugs, so you may as well avoid that one for the time being
2022-02-03 13:04:17 +0100redsith(~redsith@45.81.189.55)
2022-02-03 13:05:11 +0100redsith(~redsith@45.81.189.55) (Remote host closed the connection)
2022-02-03 13:05:57 +0100redsith(~user@45.81.189.55)
2022-02-03 13:06:29 +0100 <narendranath344[> Ok and thanks
2022-02-03 13:06:34 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2022-02-03 13:09:39 +0100 <vrs> Benzi-Junior: I'm gonna hazard a guess and say that one way launches a login shell, the other not, and you've something heavy in your .profile
2022-02-03 13:10:10 +0100 <vrs> (or equivalent - files differ but most shells distinguish between login shell and regular shell, even if they look the same)
2022-02-03 13:11:17 +0100 <vrs> eg having bash-completion loaded can make a significant difference, though generally not minutes
2022-02-03 13:12:44 +0100 <liskin> with a slow .profile I'd expect the terminal window to appear immediately, but then take a long time for the prompt to appear
2022-02-03 13:13:27 +0100 <Benzi-Junior> vrs, but why would it change ?, I mean I haven't been changing my .profile
2022-02-03 13:13:47 +0100 <vrs> did you upgrade packages recently? or install something like oh-my-zsh?
2022-02-03 13:14:34 +0100 <vrs> but yeah this is only one avenue, the other is something broke in your terminal emulator
2022-02-03 13:15:27 +0100 <Benzi-Junior> I installed viking, which I would be shocked to find affects this at all
2022-02-03 13:15:29 +0100 <Benzi-Junior> hmmm
2022-02-03 13:15:32 +0100 <Benzi-Junior> although..
2022-02-03 13:16:50 +0100 <Benzi-Junior> that appears to be the problem
2022-02-03 13:17:03 +0100 <Benzi-Junior> I guess it's some lib that got installed as a dependency
2022-02-03 13:17:38 +0100 <Benzi-Junior> thanks a ton I would never in a milion years have figured that out
2022-02-03 13:18:12 +0100 <vrs> now I'm curious what the exact interaction is though
2022-02-03 13:19:10 +0100 <Benzi-Junior> likewise
2022-02-03 13:20:17 +0100 <vrs> with timeouts in the minutes, I'll often suspect network timeouts
2022-02-03 13:21:10 +0100 <vrs> something like, package dep installs some systemd service which wants to resolve something via ipv6, which is broken so it timeouts, which blocks terminal starting because the terminal detected the service and thought "oh cool I'm gonna activate my optional module that uses it"
2022-02-03 13:28:07 +0100 <Benzi-Junior> http://ix.io/3Owp that's the list of dependencies that got installed with viking
2022-02-03 13:29:55 +0100 <Benzi-Junior> I've confirmed it's not viking itself so the culprit is somewhere in that list
2022-02-03 13:30:21 +0100 <Benzi-Junior> removing them fixes it
2022-02-03 13:30:44 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-02-03 13:34:41 +0100 <vrs> ah on debian specifically, the following often prevent nasty surprises:
2022-02-03 13:34:45 +0100 <vrs> APT::Install-Recommends "0";
2022-02-03 13:34:47 +0100 <vrs> APT::Install-Suggests "0";
2022-02-03 13:35:04 +0100 <vrs> (somewhere in apt.conf / apt.conf.d)
2022-02-03 13:42:00 +0100 <Benzi-Junior> wait, ae you telling me apt installs "suggested reccomentations" by default ?
2022-02-03 13:47:38 +0100 <vrs> recommends was the default I think, suggested no
2022-02-03 13:47:47 +0100 <vrs> but it's been a while since I checked
2022-02-03 14:17:40 +0100 <geekosaur> liskin, 9.0.2 is fine
2022-02-03 14:20:42 +0100iMaaNor(uid534642@id-534642.tinside.irccloud.com)
2022-02-03 14:39:03 +0100redsith(~user@45.81.189.55) (ERC 5.4.1 (IRC client for GNU Emacs 27.2))
2022-02-03 14:40:38 +0100dirtcastle(~dirtcastl@103.43.203.227) (Read error: Connection reset by peer)
2022-02-03 14:40:53 +0100dirtcastle(~dirtcastl@103.43.203.226)
2022-02-03 14:42:05 +0100redsith(~redsith@45.81.189.55)
2022-02-03 14:50:57 +0100redsith(~redsith@45.81.189.55) (Remote host closed the connection)
2022-02-03 15:06:21 +0100cfricke(~cfricke@user/cfricke)
2022-02-03 15:08:08 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2022-02-03 15:11:49 +0100thunderrd(~thunderrd@183.182.111.73) (Remote host closed the connection)
2022-02-03 15:12:59 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-02-03 15:40:47 +0100dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.3)
2022-02-03 15:42:01 +0100 <narendranath344[> https://termbin.com/3bza
2022-02-03 15:42:30 +0100 <narendranath344[> what is wrong in this file, I followed the tutorial guide on xmonad.org
2022-02-03 15:42:38 +0100 <narendranath344[> but xmonad ---recompile is giving me errors
2022-02-03 15:43:41 +0100 <geekosaur> it's helpful to include the errors
2022-02-03 15:44:11 +0100 <geekosaur> but I've already spotted one incorrect indentation (which in that particular case probably doesn't throw an error)
2022-02-03 15:45:59 +0100narendranath344[uploaded an image: (81KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/FWnYXnEmVWxJPhIzoEVfPpiy/2022-02-03_2… >
2022-02-03 15:47:23 +0100 <Solid> narendranath344[: add {-# LANGUAGE FlexibleContexts #-} to the top of the file
2022-02-03 15:47:24 +0100 <geekosaur> you're not using xmobarProp anywhere so the compiler can't determine its type
2022-02-03 15:47:39 +0100 <Solid> or actually use it yes
2022-02-03 15:48:02 +0100 <geekosaur> you in fact duplicate what it does on line 12
2022-02-03 15:48:15 +0100 <Solid> mh actually it probably still wouldn't like this
2022-02-03 15:48:23 +0100 <Solid> because Window is not a type variable and that doesn't change
2022-02-03 15:48:34 +0100 <geekosaur> you also use defToggleStrutsKey and then define right afterward your own unused toggleStrutsKey function
2022-02-03 15:48:58 +0100 <geekosaur> it doesn't care unless it's inferring that type, which it won't if that is removed
2022-02-03 15:49:12 +0100 <geekosaur> otherwise every config would require FlexibleInstances
2022-02-03 15:49:22 +0100 <geekosaur> er, FlexibleContexts
2022-02-03 15:49:52 +0100 <Solid> I meant if they leave it as a top-level definition
2022-02-03 15:50:19 +0100 <narendranath344[> > you also use defToggleStrutsKey and then define right afterward your own unused toggleStrutsKey function
2022-02-03 15:50:19 +0100 <narendranath344[> well I follwed xmonad.org/TUTORIAL.html , maybe I not follwing it correctly
2022-02-03 15:50:20 +0100 <lambdabot> <hint>:1:37: error: parse error on input ‘then’
2022-02-03 15:50:48 +0100 <geekosaur> it looks to me like you started to follow it and then jumbled in a few snippets you got from somewhere else
2022-02-03 15:54:27 +0100 <narendranath344[> > narendranath344: add {-# LANGUAGE FlexibleContexts #-} to the top of the file
2022-02-03 15:54:27 +0100 <narendranath344[> thanks, this worked
2022-02-03 15:54:29 +0100 <lambdabot> <hint>:1:67: error: parse error on input ‘of’
2022-02-03 15:54:38 +0100 <narendranath344[> btw what it does exactly?
2022-02-03 15:55:57 +0100noex(~null@user/noex) (Quit: :q!)
2022-02-03 15:57:04 +0100seschwar(~seschwar@user/seschwar)
2022-02-03 15:59:06 +0100 <Solid> class constraints in Haskell-by-the-report have to be really simple; basically just the class plus some type variables
2022-02-03 15:59:27 +0100 <Solid> but the constraint for the layout in this case is `Window`, which is a concrete type and not a variable
2022-02-03 15:59:46 +0100 <Solid> FlexibleContexts simply lifts this restriction
2022-02-03 16:00:10 +0100noex(~null@user/noex)
2022-02-03 16:08:29 +0100thunderrd(~thunderrd@183.182.111.73)
2022-02-03 16:14:08 +0100thunderrd(~thunderrd@183.182.111.73) (Remote host closed the connection)
2022-02-03 16:18:57 +0100cfricke(~cfricke@user/cfricke) (Ping timeout: 256 seconds)
2022-02-03 16:30:16 +0100iMaaNor(uid534642@id-534642.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2022-02-03 16:48:07 +0100thunderrd(~thunderrd@183.182.111.73)
2022-02-03 17:06:15 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 17:07:25 +0100 <narendranath344[> So I fixed the error, but I cannot use mod+q default binding because of the error message that xmonad is not in $PATH
2022-02-03 17:08:38 +0100 <narendranath344[> but .loca/bin is in my $PATH and this is where xmonad binary was placed after building xmonad with stack
2022-02-03 17:09:11 +0100 <geekosaur> xmonad gets a PATH that doesn't come from your startup files
2022-02-03 17:09:41 +0100 <geekosaur> usually what it gets from the login manager is /usr/bin:/bin
2022-02-03 17:11:44 +0100 <narendranath344[> ok so how should I fix this?
2022-02-03 17:13:01 +0100 <narendranath344[> geekosaur: also I don't use a login manager, I use xinitrc file
2022-02-03 17:13:20 +0100 <geekosaur> then set your path there
2022-02-03 17:14:59 +0100 <narendranath344[> geekosaur: how am I supposed to do that, I set my path in .zshrc
2022-02-03 17:16:42 +0100 <geekosaur> your .xinitrc is probably run by /bin/sh instead of zsh, so it won't touch .zshrc
2022-02-03 17:17:20 +0100 <geekosaur> you may be able to add a line at the very top of the file "#! /bin/zsh" (substitute path to zsh if necessary)
2022-02-03 17:19:21 +0100 <narendranath344[> btw do u guys also face this error?
2022-02-03 17:31:32 +0100 <geekosaur> which error? the PATH one? I already mentioned how I deal with it (https://github.com/geekosaur/xmonad.hs/blob/skkukuk/start-xmonad if you care)
2022-02-03 17:33:57 +0100twiclo1(~twiclo@204.14.20.66.static.utbb.net) (Read error: Connection reset by peer)
2022-02-03 17:39:17 +0100twiclo1(~twiclo@mail.twil.cx)
2022-02-03 18:01:08 +0100noex(~null@user/noex) (Quit: :q!)
2022-02-03 18:15:19 +0100 <Benzi-Junior> vrs, the offending package was xdg-desktop-portal
2022-02-03 18:15:43 +0100noex(~null@user/noex)
2022-02-03 18:16:14 +0100 <Benzi-Junior> ran into the same issue with another package, cross referenced their dependencies and just had to check half a dozen packages
2022-02-03 18:39:46 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-02-03 18:40:10 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-02-03 20:25:58 +0100 <jakeStateless-Fa> <geekosaur> "jake :: Stateless -> Farm, you..." <- It does use `>>=`, see the definition of `nest` and `custom`?
2022-02-03 20:26:00 +0100 <jakeStateless-Fa> I'll post a proper paste when I'm back on my desktop
2022-02-03 20:42:51 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-02-03 20:47:44 +0100steve__(~steve@ool-182c2b80.dyn.optonline.net)
2022-02-03 20:51:35 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-02-03 20:52:37 +0100 <geekosaur> jakeStateless-Fa, that's not using them in the right place
2022-02-03 20:53:21 +0100 <geekosaur> using thenm there makes your mAllGrids an action instead of a data value, that itself must be run with >>=
2022-02-03 21:03:39 +0100dirtcastle(~dirtcastl@103.43.203.226) (Ping timeout: 256 seconds)
2022-02-03 21:04:07 +0100dirtcastle(~dirtcastl@2409:4072:e90:9cd7:b4c6:72ff:fee7:728e)
2022-02-03 21:08:13 +0100qbt(~qbt@user/edun) (Quit: Leaving.)
2022-02-03 21:22:17 +0100dirtcastle(~dirtcastl@2409:4072:e90:9cd7:b4c6:72ff:fee7:728e) (Ping timeout: 240 seconds)
2022-02-03 21:28:48 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-02-03 21:37:09 +0100jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-02-03 21:57:16 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2022-02-03 21:57:40 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2022-02-03 22:28:44 +0100byorgey(~byorgey@155.138.238.211) (Quit: leaving)
2022-02-03 22:30:00 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-02-03 22:52:11 +0100 <jakeStateless-Fa> https://p.bsd-unix.net/view/9d29b7b6
2022-02-03 22:52:11 +0100 <jakeStateless-Fa> The relevant lines are 33-58, this' my most recent attempt.
2022-02-03 22:53:31 +0100 <geekosaur> right, did you consider adding type signatures as Solid suggested? it might show you what ypou have wrong, since apparently I'm failing to explain it
2022-02-03 22:54:32 +0100 <geekosaur> also you are not showing where mAllGrids is used, and that's likely the real problem here
2022-02-03 22:54:53 +0100 <geekosaur> mAllGrids uses >>= and is therefore an action. it *also* must be applied with >>=
2022-02-03 22:55:15 +0100 <geekosaur> >>= is not some magic that causes an IO or X or etc. context to pop up out of nowhere
2022-02-03 22:57:18 +0100byorgey(~byorgey@155.138.238.211)
2022-02-03 22:59:26 +0100 <jakeStateless-Fa> mAllGrids isn't actually used anywhere yet
2022-02-03 22:59:34 +0100 <jakeStateless-Fa> It's to be used as an action via a keybind
2022-02-03 23:00:18 +0100 <jakeStateless-Fa> the components present within mgrids do work on their own
2022-02-03 23:00:28 +0100 <jakeStateless-Fa> And I tried adding the type signatures that ghc gave me, those didn't work :/ (used the `:: ()` trick)
2022-02-03 23:04:52 +0100 <jakeStateless-Fa> oh, turns out I was missing parenthesis, the problem's still here though
2022-02-03 23:04:55 +0100 <jakeStateless-Fa> just, more logically...
2022-02-03 23:05:46 +0100 <geekosaur> right, that wasn't supposed to fix it, it was supposed to give you some guidance as to what you're doing wrong
2022-02-03 23:15:32 +0100 <jakeStateless-Fa> Aha! Got it! Now I'm just going to optimize it, and for anyone interested, I'll post a paste when I figure that out.
2022-02-03 23:33:04 +0100 <jakeStateless-Fa> https://0bin.net/paste/sr3m7Gul#beUT7U7aHGHKdiTsy5kDyxnvHAza-xeg4jHtiJTyNxb p.bsd.net was being a snob about pasting things, here's the finalized version, for all interested (L35-47)
2022-02-03 23:33:39 +0100 <jakeStateless-Fa> simple recursive gridselect... Nothing much.