2023/06/25

2023-06-25 01:24:35 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds)
2023-06-25 02:30:32 +0000td_(~td@i5387092D.versanet.de) (Ping timeout: 246 seconds)
2023-06-25 02:32:31 +0000td_(~td@i53870908.versanet.de)
2023-06-25 04:30:24 +0000immibis(~quassel@2a01:4f9:4a:4caf::2) (Server closed connection)
2023-06-25 04:30:37 +0000immibis(~quassel@2a01:4f9:4a:4caf::2)
2023-06-25 05:20:02 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 06:22:49 +0000hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-06-25 06:39:01 +0000HAL[m](~evadk8mat@2001:470:69fc:105::3ed0) (Server closed connection)
2023-06-25 06:55:52 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 06:57:52 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 07:06:52 +0000meck[m](~meckmeckd@2001:470:69fc:105::3a51) (Server closed connection)
2023-06-25 07:07:04 +0000meck[m](~meckmeckd@2001:470:69fc:105::3a51)
2023-06-25 09:32:46 +0000liskin(~liskin@xmonad/liskin) (Server closed connection)
2023-06-25 09:33:05 +0000liskin(~liskin@xmonad/liskin)
2023-06-25 11:36:41 +0000thyriaen(~thyriaen@91.197.68.193)
2023-06-25 11:38:33 +0000 <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 11:38:50 +0000unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-25 11:43:11 +0000hightower2(~hightower@85.94.71.188) (Ping timeout: 264 seconds)
2023-06-25 11:45:46 +0000thyriaen(~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 11:46:02 +0000thyriaen(~thyriaen@91.197.68.193)
2023-06-25 11:53:51 +0000 <geekosaur> it excludes any window which is not managed by the window manager and which has no title
2023-06-25 11:54:29 +0000 <thyriaen> geekosaur, what kind of windows are those ? do you know ?
2023-06-25 11:54:47 +0000 <geekosaur> no
2023-06-25 12:07:01 +0000 <thyriaen> ok
2023-06-25 13:53:58 +0000hightower2(~hightower@141-136-230-213.dsl.iskon.hr)
2023-06-25 14:05:51 +0000Guest0(~Guest0@2601:85:8200:18b0:965:3320:e347:53b0)
2023-06-25 14:07:21 +0000Guest0(~Guest0@2601:85:8200:18b0:965:3320:e347:53b0) (Client Quit)
2023-06-25 14:07:25 +0000thyriaen(~thyriaen@91.197.68.193) (Remote host closed the connection)
2023-06-25 16:05:26 +0000unclechu(~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
2023-06-25 16:26:28 +0000incertia(~incertia@209.122.71.127)
2023-06-25 17:13:22 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2023-06-25 17:51:42 +0000Twily[m](~twilypony@2001:470:69fc:105::a106)
2023-06-25 18:00:47 +0000 <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 18:00:55 +0000 <Twily[m]> Is there a solution already for this for xmonad?
2023-06-25 18:01:28 +0000 <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 18:01:57 +0000 <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 18:02:20 +0000 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-Modal.html
2023-06-25 18:02:37 +0000unclechu(~unclechu@2001:470:69fc:105::354)
2023-06-25 18:03:05 +0000 <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 18:03:29 +0000incertia(~incertia@209.122.71.127) (Ping timeout: 240 seconds)
2023-06-25 18:03:43 +0000 <geekosaur> no, the best you can do is `sendEvent` it
2023-06-25 18:05:00 +0000incertia(~incertia@209.122.71.127)
2023-06-25 18:05:19 +0000 <Twily[m]> geekosaur so just retrigger the same key as a fake event?
2023-06-25 18:05:41 +0000 <Twily[m]> But the link you sent seems to do what I want from reading a couple of paragraphs
2023-06-25 18:06:50 +0000 <geekosaur> yes, I'm looking it over, I think it does redo the grabs
2023-06-25 18:07:20 +0000 <geekosaur> what you can't do is conditional execution
2023-06-25 18:07:30 +0000 <Twily[m]> Thanks, I’m going to try it
2023-06-25 18:17:05 +0000_qw(~eqw@31.134.178.99) (Server closed connection)
2023-06-25 18:17:23 +0000_qw(~eqw@31.134.178.99)
2023-06-25 19:54:11 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2023-06-25 20:35:19 +0000Guest8(~Guest8@139.60.76.189)
2023-06-25 20:38:15 +0000 <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 20:38:16 +0000 <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 20:58:13 +0000 <geekosaur> that is one of ghc's less helpful messages
2023-06-25 21:04:01 +0000 <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 21:14:16 +0000 <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 21:14:38 +0000 <geekosaur> oh. I bet it upgraded you to cabal 3.10
2023-06-25 21:14:55 +0000 <geekosaur> rerun that command but add base to it
2023-06-25 21:15:07 +0000 <geekosaur> cabal install --lib base xmonad xmonad-contrib
2023-06-25 21:15:12 +0000 <Guest8> Yessir, 3.10.1.0. I'll try!
2023-06-25 21:15:25 +0000 <geekosaur> they tried to fix one bug and introduced another in its place
2023-06-25 21:15:45 +0000 <Guest8> Install succeeded, recompile fails.
2023-06-25 21:15:53 +0000 <geekosaur> same error?
2023-06-25 21:15:56 +0000 <Guest8> Yep
2023-06-25 21:17:09 +0000 <geekosaur> can you pastebin the contents of the ghc environment file?
2023-06-25 21:17:12 +0000 <geekosaur> @where paste
2023-06-25 21:17:12 +0000 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-06-25 21:18:16 +0000 <Guest8> http://sprunge.us/whiU8T
2023-06-25 21:18:41 +0000 <geekosaur> still missing base
2023-06-25 21:19:41 +0000 <Guest8> Hmm, okay. That seems like something I can debug. But how can you tell?
2023-06-25 21:19:45 +0000 <geekosaur> oh, I forgot a parameter
2023-06-25 21:20:05 +0000 <geekosaur> remove that file, run: cabal install --lib --package-env . base xmonad xmonad-contrib
2023-06-25 21:21:20 +0000 <Guest8> Please confirm. I think you might have a split infinitive.
2023-06-25 21:21:52 +0000 <Guest8> I typically run with `--package-env=$HOME/.config/xmonad`
2023-06-25 21:22:11 +0000 <geekosaur> that should work as well
2023-06-25 21:24:01 +0000 <Guest8> But to confirm, you did mean `--lib base` and `--package-env .`, yeah?
2023-06-25 21:25:45 +0000 <Guest8> Nope, I now realize `--lib` takes no argument.
2023-06-25 21:26:53 +0000 <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 21:27:10 +0000 <xmonadtrack> New branch created: geekosaur-patch-1 (1 commit) https://github.com/xmonad/xmonad/tree/geekosaur-patch-1
2023-06-25 21:27:13 +0000 <xmonadtrack> New branch created: pull/460 (1 commit) https://github.com/xmonad/xmonad/pull/460
2023-06-25 21:27:51 +0000 <geekosaur> (just updating `INSTALL` to indicate that `base` has to be explicitly installed with cabal 3.10)
2023-06-25 21:28:19 +0000 <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 21:30:45 +0000Guest8(~Guest8@139.60.76.189) (Quit: Client closed)