Home liberachat/#xmonad: Logs Calendar

Logs on 2022-08-20 (liberachat/#xmonad)

00:11:57 × chomwitt quits (~chomwitt@2a02:587:dc16:4100:194d:beae:942b:9603) (Ping timeout: 268 seconds)
01:27:53 × catman quits (~catman@user/catman) (Ping timeout: 256 seconds)
01:29:50 catman joins (~catman@user/catman)
01:45:42 bla joins (~bla@83.6.128.205.ipv4.supernova.orange.pl)
01:46:23 × blaa quits (~bla@79.191.157.121.ipv4.supernova.orange.pl) (Ping timeout: 252 seconds)
02:03:59 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 252 seconds)
02:22:27 × td_ quits (~td@94.134.91.58) (Ping timeout: 248 seconds)
02:24:09 td_ joins (~td@muedsl-82-207-238-122.citykom.de)
02:24:55 banc joins (banc@gateway/vpn/airvpn/banc)
04:46:27 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds)
05:12:03 × thunderrd quits (~thunderrd@183.182.110.20) (Ping timeout: 248 seconds)
05:14:26 twiclo1 joins (~twiclo@mail.twil.cx)
05:59:51 qbt joins (~qbt@user/edun)
07:31:41 × sogens quits (~sogens@211.30.36.43) (Ping timeout: 256 seconds)
07:33:41 sogens joins (~sogens@154.16.81.219)
08:52:58 logzet joins (~quassel@2001:9e8:e506:8f00:dabb:c1ff:fed3:a1b9)
09:00:19 × Florian[m]1 quits (~qe7ftcyrp@2001:470:69fc:105::2:4ea8) (Quit: You have been kicked for being idle)
09:00:34 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:02:32 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: bye!)
09:08:19 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 248 seconds)
10:02:58 mvk joins (~mvk@2607:fea8:5ce3:8500::a1ec)
13:08:33 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
13:12:54 zawaken joins (~zawaken@user/zawaken)
13:21:50 × zawaken quits (~zawaken@user/zawaken) (Quit: ZNC 1.9.x-nightly-20220808-32d4a4d5 - https://znc.in)
13:24:48 zawaken joins (~zawaken@user/zawaken)
14:26:04 Maeda joins (~Maeda@91-161-10-149.subs.proxad.net)
14:35:49 <Maeda> Hi! Is it possible to add a custom String instead of "Select password:" in the https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Prompt-Pass.html ?
14:36:02 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
14:37:36 <geekosaur> looks like you'd need to modify it
14:37:44 <Maeda> BTW, the first link to Xmonad.Prompt seems broken (https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad.Prompt)
14:38:04 <geekosaur> look for passPrompt in https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/src/XMonad-Prompt-Pass.html
14:38:15 <geekosaur> also we're on 0.17.0 these days, not 0.13
14:39:17 <geekosaur> still true in 0.17.0, it looks like, re overriding the password prompt
14:39:48 <geekosaur> the link is fixed though
14:39:56 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Prompt-Pass.html
14:40:05 <Maeda> Indeed, 0.17 :)
14:40:49 <geekosaur> it's still the passPrompt function you'd need to modify (or provide an alternative for)
14:42:24 <Maeda> I was previously using this: http://jdost.us/2014/07/16/xmonad-password-prompt.html. And it contained a string I can modify for the prompt, can I still somehow merge this content with Prompt.Pass?
14:42:48 <geekosaur> not directly, without modifying Prompt.Pass
14:43:15 <Maeda> OK then only solution is the passPrompt function to modify
14:43:18 <geekosaur> it doesn't currently expose a way to set the prompt, although as it's written I don't think there's a reason it couldn
14:43:20 <geekosaur> 't
14:43:36 <Maeda> Hard to implement?
14:44:10 <geekosaur> not very
14:44:29 <Maeda> The reason behind is that when showing up, we have no idea of the root "folders" to search for. I would like to (at least) see the root folders (hence writing them in the prompt).
14:45:07 <geekosaur> the usual convention is that passPrompt would be modified to invoke a new function passPrompt' whoch would be passed the prompt, then you could use passPrompt' instead of passPrompt in your keybinding
14:45:18 <geekosaur> probably similar with the other functions
14:50:24 <Maeda> I changed to Prompt.Pass because getting errors with "mkComplFunFromList" after recent xmonad updates, otherwise would have keep it.
14:50:43 thunderrd joins (~thunderrd@183.182.110.20)
14:51:49 <Maeda> What's better: see why "old" code that has the ability to change the prompt string is not working anymore. Or do something new with Prompt.Pass?
14:52:08 <geekosaur> I'm making a modified XMonad.Prompt.Pass in a paste
14:52:24 <geekosaur> you would put it in lib/XMonad/Prompt/Pass.hs
14:53:28 <Maeda> Wow great! I do not have high skills in Haskell, trying to improve :)
14:59:06 <geekosaur> it's fairly simple, just a lot of busywork
14:59:32 <geekosaur> it's actually well designed for this kind of change
15:04:43 <geekosaur> https://paste.tomsmeding.com/LkpF8UJL not tested but I think it's right
15:04:53 <geekosaur> the changes are fairly formulaic
15:07:29 <Maeda> That pass.hs is then "hard coded", it might have issues later if the main one is changing too much?
15:09:29 <geekosaur> hm?
15:09:51 <geekosaur> I'm about to test it locally, in a branch of my xmonad-contrib tree so I can submit it officially afterward
15:10:28 <geekosaur> that'll include adding a little more documentation since currently the examples don't include it
15:11:12 <Maeda> geekosaur: Indeed but that could be a good idea (because not easy to see first "folders"). That is not a high prio of course
15:12:51 Maeda can see the "-- | The same as 'passPrompt' but with a user-specified prompt." ;)
15:13:56 <geekosaur> yes, the individual functions are commented but the examples at the top lack one for these new functions
15:14:29 <Maeda> true
15:15:33 <geekosaur> just pushed the button 🙂 will know shortly if I need to make changes
15:19:02 <geekosaur> or not so shortly; this version of ghc isn't smart enough to realize it doesn't have to do a full recompile 🙂
15:19:20 <geekosaur> looks like you're good to go
15:19:43 <geekosaur> the nature of these changes is such that any problem would have shown while compiling
15:19:59 <geekosaur> didn't cange any functionality aside from plumbing for the prompt
15:25:14 mc47 joins (~mc47@xmonad/TheMC47)
15:25:51 <mc47> Hi folks, how are you doing?
15:26:03 <mc47> and why is Solid complaining about Munich? ;)
15:29:05 <Maeda> geekosaur: Glad to hear it. Thanks :). Looking forward to the official release in my distribution.
15:31:31 <geekosaur> https://github.com/xmonad/xmonad-contrib/pull/745
15:31:57 <geekosaur> oh wait, we have a bot now. should catch nup in a few minutes
15:34:02 <xmonadtrack> New xmonad-contrib branch created: pull/745 (2 commits) https://github.com/xmonad/xmonad-contrib/pull/745
15:34:02 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/745 * v0.17.0-215-g1313137b: versions of pass functions with user-specified prompt (12 minutes ago, 1 file, 35+ 6-) https://github.com/xmonad/xmonad-contrib/commit/1313137bda59
15:34:02 <xmonadtrack> xmonad-contrib Brandon S Allbery KF8NH https://github.com/xmonad/xmonad-contrib/pull/745 * v0.17.0-216-g3f31b27b: update CHANGES.md (6 minutes ago, 1 file, 5+ 0-) https://github.com/xmonad/xmonad-contrib/commit/3f31b27be42d
15:47:01 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
15:51:05 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
15:51:41 <Maeda> :)
15:53:07 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
15:53:24 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
15:56:01 <Maeda> For reference, I have a github profile: Maeda1
15:56:04 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
15:56:19 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
16:00:17 × the-third-realm[ quits (~the-third@2001:470:69fc:105::1:c326) (Quit: You have been kicked for being idle)
16:25:58 <geekosaur> mc47, doing about as well as can be expected considering
16:30:59 × catman quits (~catman@user/catman) (Ping timeout: 248 seconds)
16:33:12 catman joins (~catman@user/catman)
16:54:08 × catman quits (~catman@user/catman) (Quit: WeeChat 3.6)
16:58:03 chomwitt joins (~chomwitt@2a02:587:dc16:4100:8951:37:5070:7277)
17:15:47 × chomwitt quits (~chomwitt@2a02:587:dc16:4100:8951:37:5070:7277) (Ping timeout: 248 seconds)
17:22:41 catman joins (~catman@user/catman)
17:29:07 × catman quits (~catman@user/catman) (Ping timeout: 248 seconds)
17:34:47 × mvk quits (~mvk@2607:fea8:5ce3:8500::a1ec) (Ping timeout: 244 seconds)
17:37:38 × yuu[m] quits (~yuum]@2001:470:69fc:105::8a6) (Quit: Reconnecting)
17:38:01 yuu[m] joins (~yuum]@2001:470:69fc:105::8a6)
18:03:54 <^[> Is there a non-deprecated alternative to multiPP from X.H.DynamicBars?
18:11:50 <geekosaur> doesn't look like it. mc47?
18:28:28 × qbt quits (~qbt@user/edun) (Quit: WeeChat 3.5)
18:40:07 <mc47> nope, mostly beacuse I didn't understand what it does. What are you trying to do?
18:49:50 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
18:50:28 <liskin> shouldn't be hard to provide one as X.H.StatusBar has X PP everywhere
18:51:00 <liskin> having an ifActiveScreen :: PP -> PP -> X PP would be easy
18:51:07 <liskin> X PP -> X PP -> X PP even.
18:53:01 <liskin> (it's easier with X.H.StatusBar because we ignore ppOutput in there)
19:34:58 steve_ joins (~steve@ool-182c2b80.dyn.optonline.net)
19:41:54 <^[> I use multiPP to highlight the visible workspace label on the active screen.
19:49:11 <^[> I'm not sure if I'm using the new bar infrastructure wrong, but I find that I have to use logTitleOnScreen and logLayoutOnScreen manually.
19:49:41 <^[> I think that was taken care of automatically before.
20:08:42 chomwitt joins (~chomwitt@2a02:587:dc16:4100:595d:9ae5:1b71:8d3d)
20:17:33 × Maeda quits (~Maeda@91-161-10-149.subs.proxad.net) (Quit: --> [])
20:38:01 × [Leary] quits (~Leary]@122-58-223-158-adsl.sparkbb.co.nz) (Changing host)
20:38:01 [Leary] joins (~Leary]@user/Leary/x-0910699)
20:41:37 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Ping timeout: 256 seconds)
21:19:37 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)
22:11:06 × sogens quits (~sogens@154.16.81.219) (Quit: WeeChat 3.5)
22:16:40 ChaoticMist[m] parts (~gilganixm@2001:470:69fc:105::3d09) ()
22:28:30 alternateved joins (~user@staticline-31-183-146-203.toya.net.pl)
23:20:03 × chomwitt quits (~chomwitt@2a02:587:dc16:4100:595d:9ae5:1b71:8d3d) (Ping timeout: 248 seconds)
23:50:44 × alternateved quits (~user@staticline-31-183-146-203.toya.net.pl) (Remote host closed the connection)

All times are in UTC on 2022-08-20.