2023/06/25

2023-06-25 00:44:36 +0200hightower2(~hightower@85.94.71.188)
2023-06-25 03:24:35 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
2023-06-25 04:30:32 +0200td_(~td@i5387092D.versanet.de) (Ping timeout: 246 seconds)
2023-06-25 04:32:31 +0200td_(~td@i53870908.versanet.de)
2023-06-25 06:30:24 +0200immibis(~quassel@2a01:4f9:4a:4caf::2) (Server closed connection)
2023-06-25 06:30:37 +0200immibis(~quassel@2a01:4f9:4a:4caf::2)
2023-06-25 07:20:02 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 08:22:49 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-06-25 08:39:01 +0200HAL[m](~evadk8mat@2001:470:69fc:105::3ed0) (Server closed connection)
2023-06-25 08:55:52 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 08:57:52 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 09:06:52 +0200meck[m](~meckmeckd@2001:470:69fc:105::3a51) (Server closed connection)
2023-06-25 09:07:04 +0200meck[m](~meckmeckd@2001:470:69fc:105::3a51)
2023-06-25 11:32:46 +0200liskin(~liskin@xmonad/liskin) (Server closed connection)
2023-06-25 11:33:05 +0200liskin(~liskin@xmonad/liskin)
2023-06-25 13:36:41 +0200thyriaen(~thyriaen@91.197.68.193)
2023-06-25 13:38:33 +0200 <thyriaen> i am starting my picom with picom --shadow-exclude='override_redirect = true && !WM_NAME:s' -- do you know what it does by any chance because i forgot
2023-06-25 13:38:50 +0200unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-25 13:43:11 +0200hightower2(~hightower@85.94.71.188) (Ping timeout: 264 seconds)
2023-06-25 13:45:46 +0200thyriaen(~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 13:46:02 +0200thyriaen(~thyriaen@91.197.68.193)
2023-06-25 13:53:51 +0200 <geekosaur> it excludes any window which is not managed by the window manager and which has no title
2023-06-25 13:54:29 +0200 <thyriaen> geekosaur, what kind of windows are those ? do you know ?
2023-06-25 13:54:47 +0200 <geekosaur> no
2023-06-25 14:07:01 +0200 <thyriaen> ok
2023-06-25 15:53:58 +0200hightower2(~hightower@141-136-230-213.dsl.iskon.hr)
2023-06-25 16:05:51 +0200Guest0(~Guest0@2601:85:8200:18b0:965:3320:e347:53b0)
2023-06-25 16:07:21 +0200Guest0(~Guest0@2601:85:8200:18b0:965:3320:e347:53b0) (Client Quit)
2023-06-25 16:07:25 +0200thyriaen(~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 18:05:26 +0200unclechu(~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-25 18:26:28 +0200incertia(~incertia@209.122.71.127)
2023-06-25 19:13:22 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 19:51:42 +0200Twily[m](~twilypony@2001:470:69fc:105::a106)
2023-06-25 20:00:47 +0200 <Twily[m]> Hello. I’m thinking of implementing “modes” for my xmonad key bindings. Like in i3wm. You press a key combo and the mode is switched and you have new key binding layout.
2023-06-25 20:00:55 +0200 <Twily[m]> Is there a solution already for this for xmonad?
2023-06-25 20:01:28 +0200 <Twily[m]> Or if I were to implement it myself I could have some internal state and based on that trigger one X () or another for the bound key.
2023-06-25 20:01:57 +0200 <Twily[m]> The only problem I can think of is when I want to bind some keys like 1 or q without any modifiers.
2023-06-25 20:02:20 +0200 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-Modal.html
2023-06-25 20:02:37 +0200unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-25 20:03:05 +0200 <Twily[m]> With this solution in mind I would just grab this key, doesn’t matter what “mode” I’m in right now. Can I yield the key grab in X () so it would be forwarded to the focused window?
2023-06-25 20:03:29 +0200incertia(~incertia@209.122.71.127) (Ping timeout: 240 seconds)
2023-06-25 20:03:43 +0200 <geekosaur> no, the best you can do is `sendEvent` it
2023-06-25 20:05:00 +0200incertia(~incertia@209.122.71.127)
2023-06-25 20:05:19 +0200 <Twily[m]> geekosaur so just retrigger the same key as a fake event?
2023-06-25 20:05:41 +0200 <Twily[m]> But the link you sent seems to do what I want from reading a couple of paragraphs
2023-06-25 20:06:50 +0200 <geekosaur> yes, I'm looking it over, I think it does redo the grabs
2023-06-25 20:07:20 +0200 <geekosaur> what you can't do is conditional execution
2023-06-25 20:07:30 +0200 <Twily[m]> Thanks, I’m going to try it
2023-06-25 20:17:05 +0200_qw(~eqw@31.134.178.99) (Server closed connection)
2023-06-25 20:17:23 +0200_qw(~eqw@31.134.178.99)
2023-06-25 21:54:11 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 22:35:19 +0200Guest8(~Guest8@139.60.76.189)
2023-06-25 22:38:15 +0200 <Guest8> Hi all, I hope someone here can point me in the right direction. After a system upgrade of Alpine, now when I do `~/.cabal/bin/xmonad --recompile` I get "xmonad.hs:1:1: error: Could not load module ‘Prelude’ It is a member of the hidden package ‘base-4.17.0.0’. You can run ‘:set -package base’ to expose it." I do not know where to `:set
2023-06-25 22:38:16 +0200 <Guest8> -package base`. I see that there are a bunch of random webpages involving this error, but none of them have given me any idea how to fix it. Help?
2023-06-25 22:58:13 +0200 <geekosaur> that is one of ghc's less helpful messages
2023-06-25 23:04:01 +0200 <geekosaur> did you use `ghc install --lib xmonad xmonad-contrib` initially? if so, you probably need to repeat it, and may need to remove `.ghc.environment.*`
2023-06-25 23:14:16 +0200 <Guest8> geekosaur I did indeed run that, and tried repeating it before posting here. No dice. I had not tried removing those environment files, though, so thanks for the suggestion. Unfortunately, the problem remains.
2023-06-25 23:14:38 +0200 <geekosaur> oh. I bet it upgraded you to cabal 3.10
2023-06-25 23:14:55 +0200 <geekosaur> rerun that command but add base to it
2023-06-25 23:15:07 +0200 <geekosaur> cabal install --lib base xmonad xmonad-contrib
2023-06-25 23:15:12 +0200 <Guest8> Yessir, 3.10.1.0. I'll try!
2023-06-25 23:15:25 +0200 <geekosaur> they tried to fix one bug and introduced another in its place
2023-06-25 23:15:45 +0200 <Guest8> Install succeeded, recompile fails.
2023-06-25 23:15:53 +0200 <geekosaur> same error?
2023-06-25 23:15:56 +0200 <Guest8> Yep
2023-06-25 23:17:09 +0200 <geekosaur> can you pastebin the contents of the ghc environment file?
2023-06-25 23:17:12 +0200 <geekosaur> @where paste
2023-06-25 23:17:12 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-06-25 23:18:16 +0200 <Guest8> http://sprunge.us/whiU8T
2023-06-25 23:18:41 +0200 <geekosaur> still missing base
2023-06-25 23:19:41 +0200 <Guest8> Hmm, okay. That seems like something I can debug. But how can you tell?
2023-06-25 23:19:45 +0200 <geekosaur> oh, I forgot a parameter
2023-06-25 23:20:05 +0200 <geekosaur> remove that file, run: cabal install --lib --package-env . base xmonad xmonad-contrib
2023-06-25 23:21:20 +0200 <Guest8> Please confirm. I think you might have a split infinitive.
2023-06-25 23:21:52 +0200 <Guest8> I typically run with `--package-env=$HOME/.config/xmonad`
2023-06-25 23:22:11 +0200 <geekosaur> that should work as well
2023-06-25 23:24:01 +0200 <Guest8> But to confirm, you did mean `--lib base` and `--package-env .`, yeah?
2023-06-25 23:25:45 +0200 <Guest8> Nope, I now realize `--lib` takes no argument.
2023-06-25 23:26:53 +0200 <geekosaur> sorry I don';t recall if you have to use the = with --package-env, and `.` is only right if you're in your config directory (I usually have a shell there)
2023-06-25 23:27:10 +0200 <xmonadtrack> New branch created: geekosaur-patch-1 (1 commit) https://github.com/xmonad/xmonad/tree/geekosaur-patch-1
2023-06-25 23:27:13 +0200 <xmonadtrack> New branch created: pull/460 (1 commit) https://github.com/xmonad/xmonad/pull/460
2023-06-25 23:27:51 +0200 <geekosaur> (just updating `INSTALL` to indicate that `base` has to be explicitly installed with cabal 3.10)
2023-06-25 23:28:19 +0200 <Guest8> It worked. @geekosaur, thank you so much. I had a contradictory line in my update script, but adding `base` ultimately worked. Thank you again, really.
2023-06-25 23:30:45 +0200Guest8(~Guest8@139.60.76.189) (Quit: Client closed)