2021/10/10

2021-10-10 00:01:00 +0000 <abhixec> thanks!
2021-10-10 00:38:27 +0000syntactic_sugar(~amoljha@2601:644:8601:2e30::822c) (Quit: WeeChat 3.1)
2021-10-10 02:02:24 +0000banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 245 seconds)
2021-10-10 02:20:51 +0000tremontremon_
2021-10-10 02:22:33 +0000banc(banc@gateway/vpn/airvpn/banc)
2021-10-10 02:51:40 +0000rarelyafk(~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net) (Ping timeout: 252 seconds)
2021-10-10 02:53:34 +0000td_(~td@muedsl-82-207-238-244.citykom.de) (Ping timeout: 260 seconds)
2021-10-10 02:55:01 +0000td_(~td@muedsl-82-207-238-022.citykom.de)
2021-10-10 04:33:42 +0000syntactic_sugar(~amoljha@2601:644:8601:2e30::822c)
2021-10-10 04:35:05 +0000syntactic_sugar(~amoljha@2601:644:8601:2e30::822c) (Client Quit)
2021-10-10 05:33:14 +0000thunderrd(~thunderrd@183.182.110.52) (Ping timeout: 245 seconds)
2021-10-10 05:51:42 +0000 <electr0n> abhixec: https://blog.realogs.in/a-more-practical-beginning-to-haskell/
2021-10-10 06:16:27 +0000qbt(~qbt@user/edun)
2021-10-10 06:34:21 +0000wonko(~wjc@62.115.229.50)
2021-10-10 08:05:03 +0000mc47(~mc47@xmonad/TheMC47)
2021-10-10 08:17:36 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 245 seconds)
2021-10-10 08:17:37 +0000allbery_b(~geekosaur@xmonad/geekosaur)
2021-10-10 08:17:37 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-10-10 08:17:40 +0000allbery_bgeekosaur
2021-10-10 08:20:10 +0000wonko(~wjc@62.115.229.50)
2021-10-10 08:46:50 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 260 seconds)
2021-10-10 09:17:06 +0000humky(~humky@user/humky) (Quit: Leaving)
2021-10-10 09:18:25 +0000seschwar(~seschwar@user/seschwar)
2021-10-10 09:26:41 +0000Elis21F(~KELEBEK@188.119.54.133)
2021-10-10 09:29:50 +0000jmct_(sid160793@5.254.36.57) (Read error: Connection reset by peer)
2021-10-10 09:29:56 +0000Elis21F(~KELEBEK@188.119.54.133) (Quit: � Www.Kelebek.Org Mutlaka Download Edin! Kelebek Final irc.kelebek.org �y wToprak �)
2021-10-10 09:30:06 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Ping timeout: 245 seconds)
2021-10-10 09:33:37 +0000jmct_(sid160793@id-160793.tinside.irccloud.com)
2021-10-10 09:34:21 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 250 seconds)
2021-10-10 10:34:38 +0000jmct_(sid160793@id-160793.tinside.irccloud.com) (Ping timeout: 260 seconds)
2021-10-10 10:39:50 +0000jmct_(sid160793@tinside.irccloud.com)
2021-10-10 11:00:41 +0000humky(~humky@user/humky)
2021-10-10 11:02:40 +0000rarelyafk(~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net)
2021-10-10 12:32:10 +0000lazycat(~lazycat@user/lazycat) (Quit: ZNC - https://znc.in)
2021-10-10 12:34:31 +0000lazycat(~lazycat@user/lazycat)
2021-10-10 14:18:41 +0000azg256(~user@78-56-98-5.static.zebra.lt)
2021-10-10 15:33:14 +0000themc47(~mc47@xmonad/TheMC47)
2021-10-10 15:35:37 +0000mc47(~mc47@xmonad/TheMC47) (Ping timeout: 252 seconds)
2021-10-10 16:36:09 +0000 <rarelyafk> i asked a few days ago, does anyone have a good solution for alt+tab behavior *between* workspaces, in other words, always goint to the most recently focused window in the stack
2021-10-10 16:51:14 +0000wonko(~wjc@62.115.229.50)
2021-10-10 17:01:58 +0000rarelyafk(~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net) (Ping timeout: 252 seconds)
2021-10-10 17:11:45 +0000 <themc47> isn't there a contrib module that does that?
2021-10-10 17:16:40 +0000 <geekosaur> there's a contrib that goes between workspaces (not windows in workspaces) and one which goes between windows on the current wokspace
2021-10-10 17:16:56 +0000 <geekosaur> I think one could be built fairly easily but there isn't one yet
2021-10-10 17:50:24 +0000 <FOSSHuman[m]> Hey guys, been messing around with the new git version of XMonad and XMonad-Contrib in a VM, and I love it, so much more things are possible with the new loggers etc.. But I have one question, how would I make the logTitles logger which is in ppExtras respond to a click?? I want to make it so that when I click on it with the left mouse button, it will switch to the unfocused window?? Would I use some sort of escape?
2021-10-10 17:51:37 +0000 <geekosaur> that depends on what you're logging it to
2021-10-10 17:51:52 +0000 <FOSSHuman[m]> XMobar
2021-10-10 17:52:06 +0000 <FOSSHuman[m]> Using X properties, not StDinreader
2021-10-10 17:52:23 +0000 <FOSSHuman[m]> Would I use xmobarAction ?
2021-10-10 17:52:26 +0000 <geekosaur> if you're sending it to xmobar there's an escape you can use to specify a command to run; that command would presumably be wmctrl
2021-10-10 17:52:30 +0000 <geekosaur> yes
2021-10-10 17:52:44 +0000 <FOSSHuman[m]> Oh k nice
2021-10-10 17:53:11 +0000 <geekosaur> you might also need to modify the logger to capture the window ID so you can send it to wmctrl; you coyuld specify it by the title but it'll be somewhat unreliable
2021-10-10 17:56:14 +0000 <liskin> for a specific example of a clickable window titles, see https://github.com/liskin/dotfiles/blob/b89803e15b5e384b7586551c6b8657b0861ceda8/.xmonad/XMonad/Ut… and https://github.com/liskin/dotfiles/blob/b89803e15b5e384b7586551c6b8657b0861ceda8/.xmonad/xmonad.hs…
2021-10-10 17:57:18 +0000 <abhixec> electr0n: Thanks will check that out! I got PIH(Graham Hutton) and reading it now :)
2021-10-10 17:57:37 +0000 <FOSSHuman[m]> liskin: nice, thank you I will look at these aswell
2021-10-10 18:26:32 +0000benin03693230163(~benin@183.82.30.186) (Ping timeout: 265 seconds)
2021-10-10 18:27:26 +0000azg256(~user@78-56-98-5.static.zebra.lt) (Quit: ERC (IRC client for Emacs 27.1))
2021-10-10 18:29:17 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-10 18:29:36 +0000geekosaur(~geekosaur@xmonad/geekosaur)
2021-10-10 19:07:24 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de)
2021-10-10 19:16:55 +0000 <jakefromstatefar> What type should I set my layoutHook to? I'm trying to do `layoutHook = foldr1 (|||) $ [layouts here] <> [layouts here] <> [layouts here]`, but it keeps giving me a wall of different type mismatchings...
2021-10-10 19:17:19 +0000 <geekosaur> yeh, types are really difficult for layoutHooks
2021-10-10 19:17:39 +0000 <jakefromstatefar> Is there any solution though?
2021-10-10 19:17:43 +0000 <geekosaur> LayoutClass l => l Window
2021-10-10 19:17:47 +0000 <geekosaur> may work
2021-10-10 19:17:49 +0000 <jakefromstatefar> Not giving it one doesn't work in this case
2021-10-10 19:18:14 +0000 <geekosaur> but depending on what's going on it may not be specific enough and then you can't use e.g. foldr1 at all
2021-10-10 19:18:51 +0000 <jakefromstatefar> Is there any mapping function that would work here?
2021-10-10 19:19:00 +0000 <geekosaur> not really
2021-10-10 19:19:22 +0000 <geekosaur> there are too many existential games being played behind the scenes with layoutHooks
2021-10-10 19:19:38 +0000 <jakefromstatefar> ack
2021-10-10 19:21:37 +0000 <jakefromstatefar> Also, that type didn't work: `Expecting one more argument to 'LayoutClass l' Expected a constraint, but 'LayoutClass l' has kind '* -> Constraint' • In the type signature: 'af :: [LayoutClass l => l Window]'`
2021-10-10 19:21:56 +0000 <jakefromstatefar> Did the []'s break it?
2021-10-10 19:23:30 +0000 <geekosaur> hm
2021-10-10 19:23:45 +0000 <geekosaur> the [] will break it later but I thought I remembered how that worked, sorry
2021-10-10 19:24:05 +0000 <jakefromstatefar> I'll try converting it to a chain with `|||`, rather than a list, then maybe it'll work
2021-10-10 19:26:41 +0000 <geekosaur> LayoutClass l a => l Window, maybe
2021-10-10 19:26:56 +0000 <geekosaur> but again you can't use that in a list, so it doesn't really matter
2021-10-10 19:27:10 +0000 <geekosaur> you'd have to wrap it in a newtype but thne that'd break everything else
2021-10-10 19:33:16 +0000terrorjack(~terrorjac@static.3.200.12.49.clients.your-server.de) (Quit: The Lounge - https://thelounge.chat)
2021-10-10 19:35:40 +0000terrorjack(~terrorjac@static.3.200.12.49.clients.your-server.de)
2021-10-10 19:39:36 +0000werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-10-10 19:44:44 +0000qbt(~qbt@user/edun) (Quit: Leaving.)
2021-10-10 19:45:21 +0000 <jakefromstatefar> Now I'm getting an error: `Data constructor not in scope: Dwindle` `Perhaps you want to add Dwindle to the import list in the import of 'XMonad.Layout.Dwindle'`
2021-10-10 19:45:41 +0000 <jakefromstatefar> Funny thing is, my import of that module is: `import XMonad.Layout.Dwindle (Dwindle, Chirality(CW))`
2021-10-10 19:46:06 +0000 <jakefromstatefar> I have two other imports behaving this way.
2021-10-10 19:46:08 +0000 <jakefromstatefar> Why?
2021-10-10 19:46:29 +0000 <geekosaur> because you only imported the type constructor
2021-10-10 19:46:34 +0000 <geekosaur> try Dwindle(..)
2021-10-10 19:46:55 +0000 <jakefromstatefar> Ahh.. Thanks.
2021-10-10 19:47:09 +0000 <geekosaur> or Dwindle(Dwindle) if you only want the onbe and not all three
2021-10-10 19:51:22 +0000wonko(~wjc@62.115.229.50) (Ping timeout: 252 seconds)
2021-10-10 19:52:33 +0000 <jakefromstatefar> OK, well now that all the import problems are gone, there's this type issue: [error](https://p.bsd-unix.net/view/c62d6eb2) [file](https://p.bsd-unix.net/view/7aca2b94).
2021-10-10 19:52:48 +0000 <jakefromstatefar> Adding that type you gave me gave the same error
2021-10-10 19:53:35 +0000 <jakefromstatefar> there're two links, just realized how unclear that is...
2021-10-10 19:53:38 +0000 <geekosaur> right, I was afraid that would happen. I think you can't really get away with anything but full types, which will prevent you from making a list of them
2021-10-10 19:53:51 +0000 <geekosaur> yeh, I understood the links
2021-10-10 19:54:13 +0000 <jakefromstatefar> I didn't make a list, I made a long chain of them joined by `|||`. Unless that's what you're referring to.
2021-10-10 19:54:31 +0000 <geekosaur> also fully specified layoutHook types are messy and nasty; I just let them be inferred
2021-10-10 19:54:49 +0000 <geekosaur> even though normally I prefer specifying types
2021-10-10 19:55:16 +0000 <jakefromstatefar> I get that.
2021-10-10 19:55:56 +0000 <jakefromstatefar> I stopped typing about half my xmonad config because it got tedious to maintain. In my config, I only type something when it breaks without it.
2021-10-10 19:56:18 +0000 <jakefromstatefar> Probably not the best habit... But it's saved me time
2021-10-10 19:56:20 +0000 <jakefromstatefar> ¯\_(ツ)_/¯
2021-10-10 19:57:53 +0000 <geekosaur> there's also that you're often just restating the layoutHook itself, often morer verbosely
2021-10-10 19:58:22 +0000 <geekosaur> since the layoutHook is usually a chain of data constructors (or simple wrappers thereof)
2021-10-10 20:02:47 +0000 <jakefromstatefar> Yeah
2021-10-10 20:03:18 +0000 <jakefromstatefar> After reading those long errors closer, I was able to resolve most of them by fixing some declarations. Turns out I'd missed a few arguments here and there.
2021-10-10 20:03:34 +0000 <jakefromstatefar> Those example docs probably need some updating in that regard.
2021-10-10 20:04:12 +0000 <geekosaur> possibly
2021-10-10 20:05:03 +0000 <jakefromstatefar> Since I've made all the examples work (all but 1, so far) maybe I could update them. That would be one heck of a script to write, or a lot of time though...
2021-10-10 20:05:22 +0000 <geekosaur> actually if you mean docs in the module haddocks themselves, then by all means report bugs for the ones that are wrong
2021-10-10 20:05:39 +0000 <jakefromstatefar> I do mean the haddocks.
2021-10-10 20:07:27 +0000 <geekosaur> also if you think any of them could be clarified, report those too (possibly with matching PRs)
2021-10-10 20:07:59 +0000 <geekosaur> some of them, especially the earlier ones, assume the user is well versed in Haskell and/or Unix
2021-10-10 20:08:19 +0000 <geekosaur> but that hasn't been true of the xmonad community in general since 0.4ish
2021-10-10 20:08:41 +0000 <jakefromstatefar> Yeah. Turns out the module exported its own `Tall`, I had to qualify the import, and pull it that way.
2021-10-10 20:08:49 +0000 <jakefromstatefar> But, it compiled!
2021-10-10 20:08:59 +0000 <jakefromstatefar> So, I can start mucking with the screenshots now.
2021-10-10 20:10:16 +0000 <jakefromstatefar> Oh dear... I think I just ran into the black screen bug.
2021-10-10 20:10:52 +0000 <jakefromstatefar> On a secondary TTY, I fired it up, after 3s of just sitting there, not accepting input or showing the mouse, it went completely black.
2021-10-10 20:10:57 +0000 <jakefromstatefar> My other session's fine though.
2021-10-10 20:11:23 +0000 <geekosaur> check stderr, wherever it's going/being logged, for exception output; that often means it defaulted to Full
2021-10-10 20:11:40 +0000 <geekosaur> which is all it can do if the layout causes an exception
2021-10-10 20:17:08 +0000 <jakefromstatefar> The last ~200 lines of the log: https://p.bsd-unix.net/view/d042e93f
2021-10-10 20:17:55 +0000 <jakefromstatefar> That was from my Xorg log, my stderr had the errors it usually does. It loves to complain about missing keymaps, but it works fine.
2021-10-10 20:19:30 +0000 <geekosaur> I needed the stderr, not xorg, but I do fild the nvidia permissions stuff at the end suspicious
2021-10-10 20:19:49 +0000 <geekosaur> and that could also lead to a black screen just because the display buffer is too confused to display at all
2021-10-10 20:20:42 +0000 <geekosaur> I don't have any nvidia-based stuff here so I never bothered to learn about it and don't know what would cause the permissions error
2021-10-10 20:22:00 +0000 <geekosaur> mm, come to think of it an exception in the layout might not get reported usefully, might need to set GHCRTS=-xc in the environment before running xmonad
2021-10-10 20:24:24 +0000 <jakefromstatefar> Hm, turns out I had an alacritty flag wrong, so my terminal wasn't showing up. But, whenever I try to change windows, my xmobar disappears.
2021-10-10 20:24:38 +0000 <jakefromstatefar> So, not the black screen bug, false alarm. But still a strange occurance.
2021-10-10 20:25:08 +0000 <geekosaur> do you have avoidStruts in the right place?
2021-10-10 20:25:16 +0000 <geekosaur> @where paste
2021-10-10 20:25:16 +0000 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2021-10-10 20:25:45 +0000 <jakefromstatefar> I don't have it at all yet, but, even after removing the windows, or floating them and moving them... It's still gone.
2021-10-10 20:26:10 +0000 <geekosaur> ok, that sounds weird
2021-10-10 20:26:21 +0000 <jakefromstatefar> If I start it manually it's fine.
2021-10-10 20:26:36 +0000 <geekosaur> unless you are also missing manageDocks and then xmobar will behave oddly at best
2021-10-10 20:26:54 +0000 <jakefromstatefar> nope, vanilla docks behavior in this config
2021-10-10 20:36:46 +0000 <jakefromstatefar> Oh, misconfigured loghook.
2021-10-10 20:36:54 +0000 <jakefromstatefar> weird behavior for that though...
2021-10-10 20:39:27 +0000 <geekosaur> if the behavior expresses as an exception you quietly get the Full layout (actually the no-layout default; layout Full is literally instance LayoutClass Full where {})
2021-10-10 20:45:44 +0000zouhair(~zouhair@142.182.58.252) (Ping timeout: 245 seconds)
2021-10-10 20:47:26 +0000zouhair(~zouhair@lnsm3-montreal02-142-119-71-187.internet.virginmobile.ca)
2021-10-10 21:08:20 +0000themc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-10-10 21:14:57 +0000Nosrep(~archbox@user/nosrep)
2021-10-10 21:15:06 +0000Nahra(~user@static.161.95.99.88.clients.your-server.de) (Ping timeout: 245 seconds)
2021-10-10 21:25:11 +0000rarelyafk(~minty@pool-173-61-191-195.cmdnnj.fios.verizon.net)
2021-10-10 21:26:48 +0000 <Nosrep> if anyone uses dzen2 here
2021-10-10 21:26:57 +0000 <Nosrep> echo "^p(_LEFT)test" | dzen2 -p <- why doesn't this left align
2021-10-10 21:44:33 +0000 <FOSSHuman[m]> Hey everyone, can someone link me to the deprecations page, I forgot where it was...
2021-10-10 21:45:17 +0000 <geekosaur> it's part of https://github.com/xmonad/xmonad-contrib/blob/master/CHANGES.md
2021-10-10 21:49:12 +0000 <FOSSHuman[m]> geekosaur: nice, thanks
2021-10-10 21:56:19 +0000cjb(~cjb@user/cjb)
2021-10-10 22:03:40 +0000seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-10-10 22:16:25 +0000 <jakefromstatefar> https://github.com/mikenrafter/xmonad-layout-screenshots :)
2021-10-10 22:23:18 +0000 <FOSSHuman[m]> wow
2021-10-10 22:23:27 +0000 <FOSSHuman[m]> A lot of dedication went into that lol
2021-10-10 22:24:29 +0000 <geekosaur> a lot of scripting, I think
2021-10-10 22:29:34 +0000 <liskin> jakefromstatefar: nice!
2021-10-10 22:29:47 +0000geekosaur(~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
2021-10-10 22:30:01 +0000 <FOSSHuman[m]> liskin: are they going on the website?
2021-10-10 22:31:27 +0000 <liskin> FOSSHuman[m]: I think they were meant for the documentation but having a layout gallery on the website is a brilliant idea, too
2021-10-10 22:31:37 +0000geekosaur(~geekosaur@xmonad/geekosaur)