2021/11/20

2021-11-20 00:11:06 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-11-20 00:22:55 +0100twiclo(~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c) (Quit: WeeChat 3.2)
2021-11-20 00:36:59 +0100catman(~catman@user/catman) (Ping timeout: 256 seconds)
2021-11-20 00:39:56 +0100catman(~catman@user/catman)
2021-11-20 00:42:12 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-11-20 00:43:52 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2021-11-20 01:18:46 +0100 <Arcanus[m]> what other monads are their altogether?
2021-11-20 01:23:44 +0100 <jakeStateless-Fa> There's waymonad - which is a project similar to xmonad, and is attempting wayland.
2021-11-20 01:23:52 +0100 <jakeStateless-Fa> But it's not quite there...
2021-11-20 01:24:36 +0100 <jakeStateless-Fa> Really, the idea atm is to replace the X11 stuff with sudbury, and try to integrate everything with that.
2021-11-20 01:24:52 +0100 <jakeStateless-Fa> Ideally, without many breaking changes.
2021-11-20 01:25:10 +0100 <jakeStateless-Fa> (for XMonad on Wayland - WMonad? Or keep the XMonad name? -- not sure)
2021-11-20 01:26:23 +0100 <jakeStateless-Fa> Arcanus: since you're on matrix: I've invited you to a space
2021-11-20 01:26:27 +0100 <geekosaur> there was at one point osxmonad, but apple changes kept breaking it
2021-11-20 01:26:55 +0100seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-11-20 01:27:08 +0100 <jakeStateless-Fa> Actually, space invitations are weird... You need to click the link: https://matrix.to/#/#haskell-space:matrix.org
2021-11-20 01:27:20 +0100 <jakeStateless-Fa> geekosaur: Yeah, that sounds painful
2021-11-20 01:27:53 +0100 <geekosaur> and xmoniz but compiz changes kept breaking it
2021-11-20 01:27:54 +0100 <jakeStateless-Fa> Almost as painful as windowsMonad would be (loseThoseMonads more like)
2021-11-20 01:28:54 +0100Catboy[m]Pyerine[m]
2021-11-20 01:31:11 +0100 <jakeStateless-Fa> Arcanus: There's a subspace called `haskell projects` in there, with haskell projects. You're likely to find the `-Monads` in there.
2021-11-20 01:37:50 +0100 <Arcanus[m]> ah crap, it looks like Xmonad.hooks.statusbar is what I need in order to set up my polybar correctly, but I cant use it until xmonad updates for arch...it's not in contrib 16
2021-11-20 01:44:10 +0100 <Ocelot> Hey guys, I'm having a particularly good day, so I just added the language extension recursive do to my xmonad config, and changed "main = do" to "main = mdo"—just to see what would happen.
2021-11-20 01:45:24 +0100 <Ocelot> And at least as far as I can tell so far, nothing has changed, actually.
2021-11-20 01:45:34 +0100 <geekosaur> it probably won't
2021-11-20 01:45:56 +0100 <Ocelot> So what is it actually for?
2021-11-20 01:45:59 +0100 <Ocelot> Lol!
2021-11-20 01:47:34 +0100 <geekosaur> https://downloads.haskell.org/ghc/latest/docs/html/users_guide/exts/recursive_do.html
2021-11-20 01:47:45 +0100 <geekosaur> it has its uses but there aren't that many
2021-11-20 01:53:20 +0100 <Ocelot> So, is there anything that could be done in xmonad (particularly, which would make some kind of functional difference, as opposed to just sitting there for no real reason), using recursive do, which would be either impossible—or at least more difficult in some way—under the standard do?
2021-11-20 01:53:43 +0100 <geekosaur> not really
2021-11-20 01:53:56 +0100 <Ocelot> Huh.
2021-11-20 01:54:05 +0100 <geekosaur> I've been using haskell for a little longer than mdo has existed and have never found a use for it, in or out of xmonad
2021-11-20 01:54:28 +0100 <Ocelot> Fair enough.
2021-11-20 01:54:29 +0100 <geekosaur> the fact that they could only come up with contrived examples for it is kinda telling
2021-11-20 01:54:39 +0100 <Ocelot> Lol!
2021-11-20 01:56:22 +0100 <Ocelot> That (contrived examples) confused me when I read the documentation for that, actually. What exactly does "contrived" mean in that context?
2021-11-20 01:57:16 +0100 <geekosaur> made up because they couldn't think of a real example
2021-11-20 01:57:22 +0100 <Ocelot> Oh.
2021-11-20 01:57:47 +0100 <Ocelot> Wow.
2021-11-20 01:59:52 +0100 <Ocelot> So it was invented as a proof of concept at some point, and then officially added to the language because there was no particular reason not to add it, I would imagine. Correct?
2021-11-20 02:09:30 +0100 <jakeStateless-Fa> <Arcanus[m]> "ah crap, it looks like Xmonad...." <- I recommend a basic nix install, or building xmonad yourself, after installing ghc via `ghcup`.
2021-11-20 02:09:49 +0100 <jakeStateless-Fa> Arch Linux is known to be problematic with haskell.
2021-11-20 02:10:07 +0100 <jakeStateless-Fa> It's just a time-bomb, really.
2021-11-20 02:10:55 +0100 <jakeStateless-Fa> If you want help with the nix install, I could give you a barebones install method. No tweaking on your end required.
2021-11-20 02:11:25 +0100 <jakeStateless-Fa> xmobar, however, will still need to be from the arch repos - when used under nix, off of nixOS - it has a problem with the alsa modules.
2021-11-20 02:13:49 +0100 <Vermoot> Are there any changelogs for minor versions? (0.17.0.9 vs 0.17.0)
2021-11-20 02:14:32 +0100 <jakeStateless-Fa> Commit messages, I think.
2021-11-20 02:15:38 +0100catman_(~catman@user/catman)
2021-11-20 02:16:03 +0100catmanGuest3650
2021-11-20 02:16:03 +0100Guest3650(~catman@user/catman) (Killed (calcium.libera.chat (Nickname regained by services)))
2021-11-20 02:16:03 +0100catman_catman
2021-11-20 02:16:35 +0100 <geekosaur> there should be changelogs for git/devel versions in https://github.com/xmonad/xmonad-contrib/blob/master/CHANGES.md
2021-11-20 02:16:48 +0100 <geekosaur> version labeled as "unknown"
2021-11-20 02:17:10 +0100 <geekosaur> (at least I think 0.17.0.9 is a devel version…)
2021-11-20 02:21:45 +0100 <Vermoot> Ah, nice
2021-11-20 02:21:47 +0100 <Vermoot> Thanks
2021-11-20 02:37:10 +0100catman(~catman@user/catman) (Ping timeout: 268 seconds)
2021-11-20 03:06:55 +0100catman(~catman@user/catman)
2021-11-20 03:19:05 +0100redgloboli_(~redglobol@user/redgloboli)
2021-11-20 03:19:05 +0100redgloboli(~redglobol@user/redgloboli) (Ping timeout: 250 seconds)
2021-11-20 03:26:25 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds)
2021-11-20 03:34:35 +0100catman(~catman@user/catman) (Ping timeout: 264 seconds)
2021-11-20 03:37:00 +0100catman(~catman@user/catman)
2021-11-20 04:03:49 +0100banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2021-11-20 04:11:20 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-20 04:22:11 +0100banc(banc@gateway/vpn/airvpn/banc)
2021-11-20 04:39:16 +0100 <Arcanus[m]> <jakeStateless-Fa> "I recommend a basic nix install,..." <- Ive looked into nix a little bit, its interesting, but that a fullsystem overhaul is not something im interested in doing at the moment.
2021-11-20 04:52:50 +0100td_(~td@muedsl-82-207-238-169.citykom.de) (Ping timeout: 268 seconds)
2021-11-20 04:54:31 +0100td_(~td@muedsl-82-207-238-028.citykom.de)
2021-11-20 05:39:20 +0100 <jakeStateless-Fa> I understand. You don't have to integrate everything into nix though, and it's a standalone package manager as well as a distro. So, you could easily run only xmonad inside it. If you so chose. If/when you change your mind, lmk, I'll be of assistance.
2021-11-20 06:11:14 +0100 <jakeStateless-Fa> I just discovered `weston` - the reference wayland implementation. It can be ran as a window, under Xorg!
2021-11-20 06:11:50 +0100 <jakeStateless-Fa> That'll make things easier for debugging wayland support (eventually)
2021-11-20 06:51:59 +0100catman(~catman@user/catman) (Ping timeout: 264 seconds)
2021-11-20 06:56:21 +0100catman(~catman@user/catman)
2021-11-20 07:03:26 +0100 <Arcanus[m]> <jakeStateless-Fa> "I understand. You don't have..." <- I didnt know about that, i will have to look more into it, thanks for the info!
2021-11-20 07:07:29 +0100 <Arcanus[m]> How does that even work?
2021-11-20 07:34:03 +0100mvk(~mvk@2607:fea8:5cc1:fa00::4702) (Quit: Going elsewhere)
2021-11-20 07:41:47 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds)
2021-11-20 08:20:39 +0100obimod(~obimod@gateway/vpn/pia/obimod) (Ping timeout: 268 seconds)
2021-11-20 08:44:21 +0100 <Solid> Arcanus[m]: if you only want to use it for xmonad, I heavily recommend stack over nix
2021-11-20 08:44:26 +0100 <Solid> it's much easier to set up
2021-11-20 08:44:47 +0100obimod(~obimod@gateway/vpn/pia/obimod)
2021-11-20 08:55:35 +0100obimod(~obimod@gateway/vpn/pia/obimod) (Ping timeout: 264 seconds)
2021-11-20 08:57:21 +0100 <Arcanus[m]> Solid: i did try to install it from stack, but i think i missed a step somewhere and broke xmonad. So had to reinstall from repo. If arch doesnt hurry and update i will have to try it again
2021-11-20 08:57:53 +0100 <Arcanus[m]> Or distrohop
2021-11-20 08:57:58 +0100 <Solid> please do open an issue if you encounter any problems
2021-11-20 08:58:11 +0100 <Solid> this way we can make the docs more robust :)
2021-11-20 09:00:40 +0100 <Arcanus[m]> Got it. In thos case im 90% certain it was a PEBCAK error, but if i run into it again i will report it
2021-11-20 09:01:11 +0100 <Arcanus[m]> Or come crying about it in here
2021-11-20 09:05:25 +0100 <Solid> well, even if it was PEBKAC chances are you won't be the only person running into that specific issue
2021-11-20 09:05:36 +0100 <Solid> so anything we can do to make the docs clearer is a win for everyone
2021-11-20 10:04:18 +0100dschrempf(~dominik@62.240.134.78)
2021-11-20 10:16:57 +0100geekosaur(~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer)
2021-11-20 10:17:32 +0100geekosaur(~geekosaur@xmonad/geekosaur)
2021-11-20 10:21:47 +0100dschrempf(~dominik@62.240.134.78) (Ping timeout: 256 seconds)
2021-11-20 10:37:25 +0100sagax(~sagax_nb@user/sagax) (Ping timeout: 250 seconds)
2021-11-20 10:47:07 +0100dschrempf(~dominik@62.240.134.78)
2021-11-20 10:51:54 +0100dschrempf(~dominik@62.240.134.78) (Ping timeout: 260 seconds)
2021-11-20 10:58:53 +0100mc47(~mc47@xmonad/TheMC47)
2021-11-20 11:24:45 +0100desantra(~skykanin@user/skykanin)
2021-11-20 11:28:04 +0100seschwar(~seschwar@user/seschwar)
2021-11-20 12:13:35 +0100 <electr0n> Arcanus[m]: I would stay away from the arch repos when it comes to anything haskell. it was fairly straight forward to make it a stack project and go that route I found myself trying to fix various issues that weren't working with my config.. come to find out it was the arch haskell packages that were causing issues... once I went with stack, my config worked.
2021-11-20 12:14:51 +0100tv(~tv@user/tv) (Read error: Connection reset by peer)
2021-11-20 12:22:04 +0100 <Arcanus[m]> electr0n: thanks, I looking up the docs on installing xmonad thgouh stack as we speak. it might just be my little project over the weekend to see if i can get it working. I know that if all else fails I still have a workable config and if I need to reinstall through the repos I still can. but there appear to be some really sweet updates that I am missing out on that might just allow me to make the last 1% of changes that I am wanting
2021-11-20 12:22:26 +0100 <Arcanus[m]> ^ am looking up
2021-11-20 12:31:17 +0100 <Arcanus[m]> I think I know part of the problem... I was following a write up from 2017....this might have caused some issues perhaps
2021-11-20 12:32:26 +0100lyiriyah(~lyiriyah@2a00:23c8:5f85:9101:9d63:4520:2a26:3115)
2021-11-20 12:32:47 +0100tv(~tv@user/tv)
2021-11-20 12:34:42 +0100 <lyiriyah> I've been trying to get CycleRecentWS to work with IndependentScreens for a couple days now (specifically the toggleRecentWS function). Does anyone have any idea how I could go about that?
2021-11-20 12:35:48 +0100 <lyiriyah> I think I need a predicate that checks whether the workspace is on the focused screen, but the function which returns the recent workspaces needs a predicate with the type (WindowSpace -> Bool).
2021-11-20 12:36:00 +0100lyiriyah(~lyiriyah@2a00:23c8:5f85:9101:9d63:4520:2a26:3115) (Client Quit)
2021-11-20 12:36:42 +0100lyiriyah(~lyiriyah@user/lyiriyah)
2021-11-20 12:44:00 +0100 <Vermoot> I'm also very interested in making CycleWS work with IndependentScreens
2021-11-20 12:51:57 +0100 <Vermoot> I've been looking at this https://www.reddit.com/r/xmonad/comments/qmjxmh/cyclews_only_on_current_screen_with_independent/
2021-11-20 12:52:40 +0100 <Vermoot> It compiles but behaves very weirdly (I can only move across spaces on one of my screens, and I get some unwanted swapping of spaces
2021-11-20 14:06:50 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-20 14:12:19 +0100sagax(~sagax_nb@user/sagax)
2021-11-20 14:42:35 +0100noex(~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
2021-11-20 15:01:37 +0100dschrempf(~dominik@62.240.134.78)
2021-11-20 15:02:25 +0100dschrempf(~dominik@62.240.134.78) (Client Quit)
2021-11-20 15:13:16 +0100noex(~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-20 15:14:50 +0100noex(~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Client Quit)
2021-11-20 15:49:24 +0100noex(~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-20 15:54:24 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
2021-11-20 15:57:04 +0100terrorjack(~terrorjac@2a01:4f8:1c1e:509a::1)
2021-11-20 16:18:50 +0100 <lyiriyah> Vermoot: That reddit post almost works for my purposes, but the resulting function has type X (WindowSpace -> Bool) rather than WindowSpace -> Bool
2021-11-20 16:19:27 +0100 <lyiriyah> I need to find some way to "unwrap" the function from the X monad. I think it's the fault of the currentScreen function as that returns X ScreenId, not ScreenId
2021-11-20 16:24:09 +0100 <Solid> you're not going to get something unwrapped without resorting to extremely unsafe operations
2021-11-20 16:24:56 +0100 <Solid> but I fail to see why you would want to anyways; at the end of the day keybindings are just X (), no?
2021-11-20 16:28:30 +0100 <lyiriyah> This isn't for a keybinding. What I need is a function with the type WindowSpace -> Bool that checks if the workspace is on the current screen.
2021-11-20 16:28:56 +0100 <lyiriyah> That function will then be passed to X.A.CycleRecentWS's recentWS function
2021-11-20 16:29:43 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 250 seconds)
2021-11-20 16:31:14 +0100 <lyiriyah> (recentWS orders workspaces in order of recency)
2021-11-20 16:34:33 +0100 <lyiriyah> I've tried using W.screen $ W.current (gets windowset) but that produces an error: No instance for (MonadState XState (W.StackSet i0 l0 a0 ScreenId)) arising from a use of `gets`
2021-11-20 16:35:18 +0100 <lyiriyah> I haven't fully grok'd Haskell error messages yet, this might be something really obvious
2021-11-20 16:35:20 +0100 <geekosaur> the point here is that at some point you will have an X (), since cycleRecentWS is a keybinding. since you have that X (), you can "unwrap" values of type X <something> as long as you ultimately "put them back"
2021-11-20 16:35:50 +0100 <geekosaur> you use <- instead of "let … = …" to "unwrap" values
2021-11-20 16:40:26 +0100 <lyiriyah> Getting the screen inside toggleRecentWS and passing that to isOnScreen worked, thanks. I'll look into <- a bit more and see what it does.
2021-11-20 16:42:59 +0100 <geekosaur> spoiler: it's actually a wrapper for >>=
2021-11-20 16:43:57 +0100 <geekosaur> but using >>= directly for anything other than a quick one-liner is annoying and repetitive, so we have do notation
2021-11-20 16:47:40 +0100 <lyiriyah> Oh I see. Will definitely make more use of that
2021-11-20 16:48:17 +0100 <geekosaur> you can use @undo and @redo to see how do notation translates to uses of >> and >>= and vice versa
2021-11-20 16:48:22 +0100 <geekosaur> in the bot here
2021-11-20 16:50:54 +0100 <lyiriyah> How would I do that?
2021-11-20 16:51:17 +0100 <lyiriyah> @undo x <- f
2021-11-20 16:51:17 +0100 <lambdabot> <unknown>.hs:1:3:Parse error: <-
2021-11-20 16:51:21 +0100 <lyiriyah> Oh I see
2021-11-20 16:51:57 +0100 <lyiriyah> @undo do { x <- f }
2021-11-20 16:51:57 +0100 <lambdabot> <unknown>.hs:1:14:Parse error: Last statement in a do-block must be an expression
2021-11-20 16:52:05 +0100 <lyiriyah> @undo do { x <- f; g x }
2021-11-20 16:52:05 +0100 <lambdabot> f >>= \ x -> g x
2021-11-20 16:52:28 +0100 <lyiriyah> @undo do { x; y <- f; g y }
2021-11-20 16:52:28 +0100 <lambdabot> x >> f >>= \ y -> g y
2021-11-20 17:01:02 +0100 <lyiriyah> @redo x >> f >>= \y -> g y
2021-11-20 17:01:02 +0100 <lambdabot> Maybe you meant: undo todo do
2021-11-20 17:01:10 +0100 <lyiriyah> @do x >> f >>= \y -> g y
2021-11-20 17:01:10 +0100 <lambdabot> do { y <- do { x; f}; g y}
2021-11-20 17:01:19 +0100 <lyiriyah> @do x >> f >>= \ y -> g y
2021-11-20 17:01:19 +0100 <lambdabot> do { y <- do { x; f}; g y}
2021-11-20 17:01:47 +0100 <lyiriyah> Pretty cool bot
2021-11-20 17:12:06 +0100 <Vermoot> > Maybe you meant: undo todo do
2021-11-20 17:12:07 +0100 <lambdabot> error:
2021-11-20 17:12:08 +0100 <lambdabot> Unexpected do block in function application:
2021-11-20 17:12:08 +0100 <lambdabot> do
2021-11-20 17:12:12 +0100 <Vermoot> I laughed
2021-11-20 17:12:24 +0100 <Vermoot> (shush, I was citing you, bot)
2021-11-20 17:12:58 +0100 <geekosaur> oh, I got that one wrong :( rarely use it
2021-11-20 17:13:15 +0100 <geekosaur> (actually I rarely use either but I know how the translations work now)
2021-11-20 17:19:33 +0100obimod(~obimod@gateway/vpn/pia/obimod)
2021-11-20 17:19:45 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-11-20 17:22:34 +0100 <Vermoot> lyiriyah, Well the reddit post talks about doing exactly what I want to do, and apparently OP did manage to do it, but even with their snippet, I'm only getting partway there :/
2021-11-20 17:52:03 +0100obimod(~obimod@gateway/vpn/pia/obimod) (Ping timeout: 250 seconds)
2021-11-20 17:52:22 +0100obimod(~obimod@gateway/vpn/pia/obimod)
2021-11-20 17:56:10 +0100catman(~catman@user/catman) (Quit: WeeChat 3.4-dev)
2021-11-20 18:01:48 +0100catman(~catman@user/catman)
2021-11-20 18:17:19 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-11-20 18:19:28 +0100obimod(~obimod@gateway/vpn/pia/obimod) (Quit: every day brings new choices)
2021-11-20 18:26:00 +0100benin(~benin@183.82.178.244)
2021-11-20 18:28:22 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315)
2021-11-20 18:30:49 +0100Armoletti^(~armoletti@dyn70-177.yok.fi) (Ping timeout: 256 seconds)
2021-11-20 18:34:00 +0100 <twiclo> This bash command works in a terminal but it doesn't look like xmonad is firing it:
2021-11-20 18:34:02 +0100 <twiclo> myLogHook = spawnOnce "if [ $(cat /sys/class/power_supply/BAT0/capacity) -le 52 ]; then xmessage \"Battery low\"; fi"
2021-11-20 18:36:02 +0100 <geekosaur> are you sure you want spawnOnce there?
2021-11-20 18:37:22 +0100 <geekosaur> otherwise it looks ok, but spawnOnce means it would run immediately after xmonad startup and never again
2021-11-20 18:40:51 +0100 <twiclo> Ah that must be it. Thanks
2021-11-20 18:41:30 +0100 <twiclo> Well now it spawns a million xmessages when it's below the threshold
2021-11-20 18:41:56 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Quit: WeeChat 3.2)
2021-11-20 18:42:02 +0100 <geekosaur> I don't think logHook works well for this because if you e.g. stay focused in one window for an hour (intensive editing session, say) then it won't fire the logHook during that hour
2021-11-20 18:42:22 +0100 <geekosaur> and yes, it'll fire a lot if you switch focus a lot
2021-11-20 18:42:39 +0100 <geekosaur> the problem with spawnOnce is it can't reach inside the thing you spawned to see that it did something
2021-11-20 18:42:47 +0100 <geekosaur> spawnOnce just runs the whole command once
2021-11-20 18:43:20 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315)
2021-11-20 18:43:26 +0100 <twiclo> Lol it crashed my session
2021-11-20 18:43:33 +0100 <geekosaur> so you'd have to put your "only once" check inside the command, possibly by using a sentinel file which gets cleared at login
2021-11-20 18:43:46 +0100 <geekosaur> oh, sorry, I sent several lines while you were gone
2021-11-20 18:43:59 +0100 <twiclo> I got the gist with that last message
2021-11-20 18:44:23 +0100 <geekosaur> https://ircbrowse.tomsmeding.com/browse/lcxmonad?id=34991#trid34991
2021-11-20 18:46:08 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Client Quit)
2021-11-20 18:46:46 +0100 <lyiriyah> Is there any way to enable font ligatures in XMonad.Prompt? I expect not, but I'll ask just in case I'm missing something
2021-11-20 18:46:47 +0100 <fizzie> Given that xmessage creates a window which grabs the focus, which I imagine triggers the logHook, I can imagine how that'd go terribly wrong.
2021-11-20 18:47:29 +0100 <fizzie> (I may be old-fashioned, but I wouldn't spawn a process in a logHook in the first place. Gotta conserve those PIDs.)
2021-11-20 18:47:45 +0100 <lyiriyah> twiclo: I think you want a cronjob rather than putting that in your logHook
2021-11-20 18:47:55 +0100 <geekosaur> yeh, logHook is a terrible place to put stuff like that
2021-11-20 18:48:28 +0100 <geekosaur> we just lost them again
2021-11-20 18:50:10 +0100 <geekosaur> hope they have a way to log in text based and rip that code back out :)
2021-11-20 18:56:11 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315)
2021-11-20 18:56:15 +0100 <twiclo> I'm back
2021-11-20 18:56:22 +0100 <twiclo> Trying to add this to my config flie
2021-11-20 18:56:29 +0100 <twiclo> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-ShowWName.html
2021-11-20 18:57:00 +0100 <twiclo> This is what my "myLayout" section looks like right now from the starter config I started with: p.twil.cx/lew
2021-11-20 18:57:07 +0100 <twiclo> Not sure how to integrate this into that
2021-11-20 18:57:47 +0100 <geekosaur> lyiriyah, I don't know what it would take to support ligatures there. Suspect it would require redoing the output stuff to use Pango or similar
2021-11-20 18:58:34 +0100 <lyiriyah> Yeah most likely. Maybe when I get some free time I'll do it as a learning exercise or something.
2021-11-20 18:59:43 +0100 <geekosaur> twiclo, showWName $ avoidStruts $ tiled ||| Mirror tiled ||| Full
2021-11-20 19:00:06 +0100 <twiclo> What does the $ mean?
2021-11-20 19:00:20 +0100 <geekosaur> or if you want to use the parenthesized form, (showWName . avoidStruts) (tiled ||| Mirror tiled ||| Full)
2021-11-20 19:01:01 +0100 <geekosaur> $ is kinda reverse parentheses. it's function application at lowest possible precedence instead of highest possible like normal
2021-11-20 19:01:30 +0100 <geekosaur> using $ is considered poor form by some, but it makes it a lot easier to add new layout modifiers to a layout
2021-11-20 19:06:19 +0100 <twiclo> Is there a way to move every window on a worspace to nother?
2021-11-20 19:06:23 +0100 <twiclo> And keep the layout
2021-11-20 19:07:52 +0100 <twiclo> Also this shortcut doesn't fire and I have no idea why:
2021-11-20 19:07:54 +0100 <twiclo> , ((modm .|. shiftMask, xK_r ), spawn "xmonad --recompile; xmonad --restart")
2021-11-20 19:07:59 +0100 <twiclo> Should be mod + shift + r right?
2021-11-20 19:08:58 +0100 <geekosaur> yes. is xmonad in your $PATH at that point? (note that a terminal will *not* tell you this, since it will have run .profile and .bashrc or shell equivalent but xmonad won't have)
2021-11-20 19:09:32 +0100 <geekosaur> usually you want xmonad in /usr/bin, if it's not then you need to arrange for whatever starts xmonad to set $PATH
2021-11-20 19:09:45 +0100 <geekosaur> (unless you use startx, then it should be set)
2021-11-20 19:10:27 +0100 <twiclo> Oh it's in my .local
2021-11-20 19:11:44 +0100 <geekosaur> sadly, if you have a normal session using a display manager to log in, PATH=/bin:/usr/bin
2021-11-20 19:12:20 +0100 <twiclo> I think I'll just symlink it
2021-11-20 19:17:18 +0100twiclo(~twiclo@2607:fb90:27d5:be0:39cf:9e4b:c8ed:315) (Quit: WeeChat 3.2)
2021-11-20 19:18:28 +0100catman(~catman@user/catman) (Quit: WeeChat 3.4-dev)
2021-11-20 19:18:37 +0100 <abhixec> is anyone else having issues with electron apps on xmonad?(particularly visual code) it seems to kind of be very slow and the menus are blank which I click and takes a while to show up the menu
2021-11-20 19:19:01 +0100catman(~catman@user/catman)
2021-11-20 19:20:42 +0100 <thonoht[m]> Hmm, xmonad --restart seems to have stopped working since yesterday, nothing happens, and no output at all. --recompile works fine though, strange.
2021-11-20 19:20:48 +0100 <thonoht[m]> Hmm, I can check vsccode
2021-11-20 19:21:35 +0100 <thonoht[m]> No issues with that here.
2021-11-20 19:22:03 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-20 19:27:25 +0100u0_a246(~u0_a246@2a00:23c8:5f85:9101:785b:8271:9ec4:6654)
2021-11-20 19:27:59 +0100catman(~catman@user/catman) (Ping timeout: 264 seconds)
2021-11-20 19:28:39 +0100 <abhixec> thonoht[m]: thanks that is weird for me the electron based apps are slow/the menu contexts show up blank and take a while to show the text
2021-11-20 19:29:08 +0100 <abhixec> i installed gonme just to check and it seems to be fine on gnome
2021-11-20 19:30:42 +0100 <thonoht[m]> Gnome is on Wayland isn't it?
2021-11-20 19:31:16 +0100 <u0_a246> X and Wayland IIRC
2021-11-20 19:31:26 +0100u0_a246l
2021-11-20 19:31:27 +0100lGuest2402
2021-11-20 19:31:29 +0100catman(~catman@user/catman)
2021-11-20 19:32:13 +0100 <thonoht[m]> Maybe Electron is having issues with X for you?
2021-11-20 19:33:10 +0100 <abhixec> I am using X
2021-11-20 19:36:01 +0100Guest2402lyiriyah1
2021-11-20 19:36:19 +0100 <geekosaur> ewmh configured?
2021-11-20 19:36:44 +0100 <geekosaur> also I have just rediscovered why clientMessag eevents are not debugged properly and I am :(
2021-11-20 19:38:03 +0100 <abhixec> https://github.com/abhixec/dotfiles/blob/experimental/xmonad/xmonad.hs
2021-11-20 19:40:12 +0100 <geekosaur> looks right to me
2021-11-20 19:43:02 +0100 <abhixec> Wonder if it has anything to do with the fact that I have nvidia?
2021-11-20 19:57:19 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-11-20 20:06:50 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-11-20 20:23:50 +0100catman(~catman@user/catman) (Quit: WeeChat 3.4-dev)
2021-11-20 20:51:21 +0100catman(~catman@user/catman)
2021-11-20 21:01:44 +0100catman(~catman@user/catman) (Quit: WeeChat 3.4-dev)
2021-11-20 21:02:34 +0100catman(~catman@user/catman)
2021-11-20 21:08:42 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Remote host closed the connection)
2021-11-20 21:11:02 +0100catman(~catman@user/catman) (Ping timeout: 240 seconds)
2021-11-20 21:15:56 +0100catman(~catman@user/catman)
2021-11-20 21:19:23 +0100lyiriyah[m](~lyiriyahm@2001:470:69fc:105::cc0)
2021-11-20 21:20:16 +0100 <lyiriyah[m]> <abhixec> "Wonder if it has anything to..." <- I use a 1050Ti with latest drivers and don't have this issue with any Electron applications
2021-11-20 21:45:10 +0100catman(~catman@user/catman) (Quit: WeeChat 3.4-dev)
2021-11-20 21:46:00 +0100catman(~catman@user/catman)
2021-11-20 21:51:54 +0100 <noex> i had that problem at work, but that was due to no hardware acceleration on my VM. with nvidia at home it works fine.
2021-11-20 21:53:10 +0100 <geekosaur> mrrr. try enabling/disabling a compositor? we've seen some programs do weird things without one (respectively with one but no hardware acceleration)
2021-11-20 21:54:21 +0100 <geekosaur> but will abhixec see these? they left and don't seem to be on matrix
2021-11-20 21:55:01 +0100 <geekosaur> @tell abhixec try enabling/disabling a compositor? we've seen some programs do weird things without one (respectively with one but no hardware acceleration)
2021-11-20 21:55:02 +0100 <lambdabot> Consider it noted.
2021-11-20 21:55:34 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
2021-11-20 22:04:57 +0100 <jakeStateless-Fa> <jakeStateless-Fa> "liskin: reminder - https://..." <- liskin: ^
2021-11-20 22:12:59 +0100abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-11-20 22:16:45 +0100 <abhixec> is there a stacklayout similar to the one in sway/i3?I am going through contrib but either not finding it or don't know whta name I should look for
2021-11-20 22:49:19 +0100sagax(~sagax_nb@user/sagax) (Ping timeout: 250 seconds)
2021-11-20 22:51:24 +0100lyiriyah(~lyiriyah@user/lyiriyah) (Ping timeout: 268 seconds)
2021-11-20 22:52:43 +0100lyiriyah(~lyiriyah@host109-157-123-225.range109-157.btcentralplus.com)
2021-11-20 22:55:13 +0100SenranKaguya(~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-20 22:55:49 +0100obimod(~obimod@gateway/vpn/pia/obimod)
2021-11-20 23:17:57 +0100 <lyiriyah> abhixec: AFAIK there's nothing like it available. Maybe look into X.L.BinarySpacePartition?
2021-11-20 23:22:46 +0100lyiriyah(~lyiriyah@host109-157-123-225.range109-157.btcentralplus.com) (Quit: WeeChat 3.3)
2021-11-20 23:29:50 +0100lyiriyah(~lyiriyah@user/lyiriyah)
2021-11-20 23:31:01 +0100 <lyiriyah> @help
2021-11-20 23:31:01 +0100 <lambdabot> help <command>. Ask for help for <command>. Try 'list' for all commands
2021-11-20 23:31:05 +0100 <lyiriyah> @list
2021-11-20 23:31:05 +0100 <lambdabot> What module? Try @listmodules for some ideas.
2021-11-20 23:31:11 +0100 <lyiriyah> @listmodules
2021-11-20 23:31:11 +0100 <lambdabot> activity base bf check compose dice dict djinn dummy elite eval filter free fresh haddock help hoogle instances irc karma localtime metar more oeis offlineRC pl pointful poll pretty quote search
2021-11-20 23:31:11 +0100 <lambdabot> seen slap source spell system tell ticker todo topic type undo unlambda unmtl version where
2021-11-20 23:31:19 +0100 <lyiriyah> @help tell
2021-11-20 23:31:20 +0100 <lambdabot> tell <nick> <message>. When <nick> shows activity, tell them <message>.
2021-11-20 23:32:04 +0100 <lyiriyah> Is the bot open-source so I can see what it does without filling the channel with spam?
2021-11-20 23:33:27 +0100 <geekosaur> yes. it also accepts /query / /msg
2021-11-20 23:33:31 +0100 <geekosaur> @version
2021-11-20 23:33:31 +0100 <lambdabot> lambdabot 5.3.0.1
2021-11-20 23:33:31 +0100 <lambdabot> git clone https://github.com/lambdabot/lambdabot
2021-11-20 23:35:13 +0100 <geekosaur> there's also an incomplete help file at http://users.ece.cmu.edu/~allbery/lambdabot/COMMANDS.more
2021-11-20 23:35:58 +0100 <geekosaur> (incomplete because I removed most of the Haskell-related plugins, since I was using it in a different context. also mentions a new command not present in the standard one, @ipcalc)
2021-11-20 23:37:03 +0100 <lyiriyah> Ah cool. Will play around with its CLI later
2021-11-20 23:38:52 +0100 <geekosaur> building it is a bit painful since some of its dependencies are out of date. I think djinn needs to be patched to build, for example, since it expects (<>) to come from a prettyprinter library instead of Prelude
2021-11-20 23:40:10 +0100 <lyiriyah> I'll keep that in mind
2021-11-20 23:49:56 +0100mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)