Home liberachat/#xmonad: Logs Calendar

Logs on 2023-06-25 (liberachat/#xmonad)

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

All times are in UTC on 2023-06-25.