Home liberachat/#xmonad: Logs Calendar

Logs on 2022-04-18 (liberachat/#xmonad)

00:08:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
00:10:27 geekosaur joins (~geekosaur@xmonad/geekosaur)
00:12:27 × abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
00:21:37 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
00:26:13 stackdroid18 joins (14094@user/stackdroid)
00:28:39 × LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
00:29:39 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
00:30:03 Polo is now known as Guest5315
00:40:08 <abastro[m]> How can i join this chat through IRC?
00:41:58 <geekosaur> it's #xmonad. if you don't already have a client (I use hexchat, there's also weechat and others) there is web.libera.chat
00:43:36 × Guest5315 quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
00:43:59 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
00:44:01 <abastro[m]> Oh thanks, adding xmonad to irc
00:44:04 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
00:44:30 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
00:44:53 Polo is now known as Guest6303
00:54:54 stackdroid18 parts (14094@user/stackdroid) ()
01:09:35 Guest6303 is now known as Gat
01:22:27 Gat is now known as JoeyeS
01:22:57 JoeyeS is now known as Guest3645
01:23:46 Guest3645 is now known as Gat
01:31:34 <abastro[m]> My xmonad is run by: https://github.com/Abastro/xmonad-profiles/blob/master/xmonad.select
01:32:57 <abastro[m]> So it should be:
01:32:57 <abastro[m]> XMONAD_DATA_DIR="~/xmonad-profiles/data/xmonad-test"
01:32:57 <abastro[m]> XMONAD_CONFIG_DIR="~/xmonad-profiles/xmonad-test"
01:32:57 <abastro[m]> XMONAD_CACHE_DIR="~/xmonad-profiles/cache/xmonad-test"
01:40:19 abastro joins (~abab9579@220.75.216.63)
01:47:50 × abastro quits (~abab9579@220.75.216.63) ()
01:48:36 abastro joins (~abab9579@220.75.216.63)
02:03:25 × banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
02:09:18 × Gat quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
02:09:40 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
02:10:04 Polo is now known as Guest2819
02:24:27 banc joins (banc@gateway/vpn/airvpn/banc)
02:42:21 × terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat)
02:44:48 terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1)
03:18:16 × abastro quits (~abab9579@220.75.216.63) (Ping timeout: 248 seconds)
03:35:14 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
03:36:43 Czernobog joins (~Czernobog@user/czernobog)
03:38:50 abastro joins (~abab9579@220.75.216.63)
03:44:08 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
03:46:47 × noex quits (~null@user/noex) (Ping timeout: 240 seconds)
03:49:03 noex joins (~null@user/noex)
03:54:49 benin joins (~benin@183.82.204.110)
04:32:37 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
05:16:28 × Guest2819 quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
05:16:45 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
05:17:09 Polo is now known as Guest6624
05:43:48 × ghormoon quits (~ghormoon@ghorland.net) (*.net *.split)
05:44:31 ghormoon joins (~ghormoon@ghorland.net)
05:48:15 × M-elo-[m] quits (~gilganixm@2001:470:69fc:105::3d09) (*.net *.split)
05:48:15 × DeepMajumder[m] quits (~reddocmdm@2001:470:69fc:105::1:f486) (*.net *.split)
05:48:15 × Solitary quits (~Solitary@user/solitary) (*.net *.split)
05:48:15 × Hash quits (~Hash@hey.howstoned.ru) (*.net *.split)
05:48:15 × corisco[m] quits (~coriscokd@2001:470:69fc:105::1:dea6) (*.net *.split)
05:48:16 × ctx[m] quits (~ctxkungfu@2001:470:69fc:105::1:95dd) (*.net *.split)
05:48:16 × Solid quits (~slot@xmonad/slotThe) (*.net *.split)
05:48:16 × telser quits (~quassel@user/telser) (*.net *.split)
05:48:52 telser joins (~quassel@user/telser)
05:49:10 Hash joins (~Hash@hey.howstoned.ru)
05:49:13 Solid joins (~slot@xmonad/slotThe)
05:49:35 Solitary joins (~Solitary@user/solitary)
05:50:21 DeepMajumder[m] joins (~reddocmdm@2001:470:69fc:105::1:f486)
05:52:01 ctx[m] joins (~ctxkungfu@2001:470:69fc:105::1:95dd)
05:52:57 corisco[m] joins (~coriscokd@2001:470:69fc:105::1:dea6)
05:55:52 M-elo-[m] joins (~gilganixm@2001:470:69fc:105::3d09)
06:34:40 × Guest6624 quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
06:49:09 LordOfLand joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
06:57:01 chomwitt joins (~chomwitt@2a02:587:dc00:4900:2e92:53e5:cedf:6bf7)
07:01:33 × LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:13:16 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
07:13:50 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
07:57:01 wybpip[m] joins (~wybpipmat@2001:470:69fc:105::1:f452)
07:57:02 wybpip[m] parts (~wybpipmat@2001:470:69fc:105::1:f452) ()
08:58:45 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
09:00:12 × amnesia1011011[m quits (~amnesia10@2001:470:69fc:105::1:dec3) (Quit: You have been kicked for being idle)
09:00:18 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
09:01:03 <Ether[m]> Am i missing something when using xmonad insert hook?
09:01:03 <Ether[m]> It seems like to me. Because when i use it and set;
09:01:03 <Ether[m]> "insert Below Newer <+> myManageHook" and do xmonad --recompile && xmonad --restart it change the focused window.
09:01:22 <Ether[m]> Not mentioned in the docs;
09:01:22 <Ether[m]> https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0.9/XMonad-Hooks-InsertPosition.html
09:01:33 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
09:04:08 <abastro[m]> > XMonad's default is the same as using: insertPosition Above Newer.
09:04:10 <lambdabot> <hint>:1:10: error: parse error on input ‘default’
09:04:23 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
09:04:45 <abastro[m]> So `insert Below Newer` will move focus to the newer window I think
09:09:27 <Ether[m]> No
09:10:13 <Ether[m]> Thats not what happens when i use it and it tiles the way expected but when i restart and recompile xmonad it changes focus..
09:10:46 <Ether[m]> Which should not be the case.
09:28:56 <abastro[m]> Well, I don't think restarting xmonad could retain focus
09:29:38 <abastro[m]> The insertPosition hook looks more to be for "inserting" new windows you opened.
10:58:25 abastro joins (~abab9579@220.75.216.63)
11:05:38 <Ether[m]> Exactly. But then i have the problem 😕
11:07:43 <abastro[m]> What do you want to achieve?
11:14:46 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
11:15:05 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Changing host)
11:15:05 Polo joins (~GiverOfDo@user/polo)
11:30:25 × [Leary] quits (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz) (Remote host closed the connection)
11:31:04 × Polo quits (~GiverOfDo@user/polo) (Quit: Textual IRC Client: www.textualapp.com)
11:47:03 [Leary] joins (~Leary]@122-58-90-96-vdsl.sparkbb.co.nz)
12:24:22 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
12:34:39 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
12:34:54 abastro joins (~abab9579@220.75.216.63)
13:38:54 mc47 joins (~mc47@xmonad/TheMC47)
13:46:16 <Ether[m]> Not change focus when restarting
13:49:01 <geekosaur> pretty sure it hasto run all the windows through the manageHook on restart, so that may notbe possible
13:50:51 <geekosaur> hm, actually, no, it should receive all the management info from the previous instantiation, unless you're invoking restart directly and have the flag set wrong
13:52:10 <geekosaur> no, you're doing it the usual way…
14:07:08 [Leary] is now known as Leary
14:07:39 Leary is now known as Lears
14:11:57 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
14:13:00 Czernobog joins (~Czernobog@user/czernobog)
14:15:36 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
14:16:41 Czernobog joins (~Czernobog@user/czernobog)
14:20:56 The_Czernobog joins (~Czernobog@user/czernobog)
14:21:28 × Czernobog quits (~Czernobog@user/czernobog) (Read error: Connection reset by peer)
14:21:30 The_Czernobog is now known as Czernobog
14:33:11 Solid booked everything for ZuriHac now
14:46:33 <Ether[m]> geekosaur: what is the right way?
14:46:58 <geekosaur> you're doing it the right way
14:47:22 <geekosaur> some people run restart directly, but they have to pass the correct flags for it to pass on state to the new xmonad
14:47:47 <geekosaur> (normally you'd use restart if you wanted to restart into a different window manager or something)
14:51:27 <Ether[m]> https://github.com/Ahanaf-Ether/xmonad/blob/stable/xmonad.hs
14:51:56 <Ether[m]> geekosaur: can you take a look at line 571 to 573
14:53:52 <Ether[m]> X.hs has this issue resolved i am not sure how.
14:55:27 <geekosaur> yes, I know, I think that shouldnot be happening on restart because the window management information should be passed on
14:55:34 <geekosaur> lemme doublecheck
14:57:15 LordOfLand joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
14:57:24 × LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Changing host)
14:57:24 LordOfLand joins (~GiverOfDo@user/polo)
14:57:34 LordOfLand is now known as POLO
14:58:52 <geekosaur> yes, the windowset is written to and restored from the state file so the manageHook should only affect restarts if new windows happened to open during the restart
15:03:53 <Ether[m]> Can you show me the line.
15:05:39 × chomwitt quits (~chomwitt@2a02:587:dc00:4900:2e92:53e5:cedf:6bf7) (Ping timeout: 240 seconds)
15:06:08 <Ether[m]> X.hs was missing some lines i have updated it..
15:07:22 <geekosaur> uh? this isn't in your config file, it's part of what xmonad does during a restart
15:07:52 <Ether[m]> So there is no way to change this behavior?
15:07:58 <Ether[m]> But x.hs does it?
15:08:33 × mion quits (~Urist@archlinux/op/MrElendig) (Quit: invading russia)
15:10:36 MrElendig joins (~Urist@archlinux/op/MrElendig)
15:10:41 <geekosaur> as I said earlier, forwarding the windowset means it should not be changing the behavior, because the manageHook shouldn't be being run
15:11:05 <geekosaur> you might want to use ManageDebug to verify this though, I guess something else might be wrong somewhere
15:12:00 <geekosaur> hm, you need to use the one from latest git though as I fixed a bug that meant the final report was running repeatedly
15:12:55 <geekosaur> https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Hooks/ManageDebug.hs
15:13:19 <Ether[m]> How do i use it?
15:14:09 <Ether[m]> But x.hs doesn't need this fix.
15:14:27 <Ether[m]> Can you take a look at how x.hs implemented it?
15:14:47 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection)
15:15:32 Ether[m] uploaded a video: (1821KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/WCGyVCBXDCkbhGbBBjLaTMye/20220418_211447.mp4 >
15:15:48 <Ether[m]> This happens when recompiling and restarting..
15:16:50 geekosaur joins (~geekosaur@xmonad/geekosaur)
15:17:17 Ether[m] uploaded a video: (857KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/hrRRTOZGGdLLdzmorMMbjsCS/20220418_211648.mp4 >
15:17:30 <Ether[m]> Restarting with x.hs..
15:17:35 <Ether[m]> geekosaur
15:19:47 <Ether[m]> Notice how in my config it first automatically changes tab and the moves to the left window.
15:20:02 <Ether[m]> Right window*
15:22:27 chomwitt joins (~chomwitt@ppp-94-67-221-107.home.otenet.gr)
15:24:54 POLO is now known as yous
15:25:50 <geekosaur> I doubt your x.hs has the guts of XMonad.Operations inside it
15:26:11 yous is now known as YOUS
15:26:16 YOUS is now known as yous
15:26:55 <Ether[m]> Lol
15:27:44 <Ether[m]> Jeez the way you phrased it 🤣
15:28:53 × yous quits (~GiverOfDo@user/polo) (Quit: Textual IRC Client: www.textualapp.com)
15:28:54 <geekosaur> you're starting to become annoying. I already told you this can't be in your config, aside from that insertPosition hook
15:29:09 <geekosaur> also your x.hs and xmonad.hs appear to have very little in common, the diff is huge
15:30:28 <Ether[m]> geekosaur: Sorry :(
15:31:28 <geekosaur> yeh, it can't even compare them properly, it'sdoing it at empty lines because the two files are otherwise unrelated
15:32:14 <geekosaur> anyway I want you to test to see if the manageHook is running during startup for some reason
15:33:08 <Ether[m]> geekosaur: Sure
15:33:38 <geekosaur> so you need to import XMonad.Hooks.ManageDebug, then line 569 of your xmonad.hs becomes:
15:33:53 <geekosaur> xmonad $ debugManageHook $ withNavigation2DConfig myNav2DConf $ docks $ ewmh def
15:34:33 <geekosaur> you'll also have to find where your session (not server) log is going (usually somewhere like ~/.xsession-errors) so you can copy the manageHook debug information from it
15:34:59 <Ether[m]> Thanks
15:35:14 <geekosaur> you would note the current end of the log, restart, then find the log and copy everything that was added to it and paste it somewhere
15:35:19 <geekosaur> @where paste
15:35:19 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
15:35:37 <geekosaur> it'll be too long for a screenshot to work
15:36:12 Sleroq joins (~Sleroq@95-107-2-180.dsl.orel.ru)
15:39:27 <Sleroq> Hello! I noticed, that xmobar is using ~106mb of RAM. I think it's a lot, is this normal?
15:40:43 <Ether[m]> Sleroq: Polybar uses more. So i guess.
15:42:20 <Sleroq> Hmm.. ok, thank you
15:42:45 <geekosaur> I think liskin has been trying to track down a memory leak?
15:42:53 geekosaur doesn't use xmobar
15:43:21 <geekosaur> (but the bar I use uses a lot more memory since it's a fancy gtk+dbus+yadayada desktop environment bar)
15:43:50 × werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Remote host closed the connection)
15:46:41 Ether[m] uploaded an image: (388KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/yxKiOUioTAlITyJrlkHIfAvF/20220418_214613_2493120651214513443.jpg >
15:47:08 <Ether[m]> I followed all your instructions but it seems its not logging anything useful
15:49:00 Ether[m] uploaded an image: (167KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/YWfRBdhHMYljZOAZGdoEVqTz/20220418_214835_8286569770330245395.jpg >
15:53:02 <Ether[m]> https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors
15:53:05 kwer[m] joins (~kwermatri@2001:470:69fc:105::1:4da1)
15:53:18 <Ether[m]> I forgot i was using startx
15:53:26 <Ether[m]> Here are the logs..
15:56:30 <geekosaur> oh right, with startx it'll be on the cirtual terminal and may be difficult to copy
15:57:02 <geekosaur> I generally have my .xinitrc redirect session errors to .xsession-errors in that case, for consistency and to make them easier to work with
15:57:51 <geekosaur> also I apologise for earlier, was getting kinda overloaded between yet another network drop, trying to debug here, and also helping someone else in #haskell
15:58:20 <Ether[m]> geekosaur: Don't, it's my bad..
16:00:11 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:00:17 <geekosaur> (and tryinbg to follow progress of half the haskell infrastructure being down because of a hardware problem somewhere)
16:00:23 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
16:00:33 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
16:01:56 <Ether[m]> geekosaur: Can i see your .xinitrc?
16:02:06 <geekosaur> (I'm not on the infrastructure team yet, but as an ex-sysadmin I figure it's only a matter of time…)
16:02:14 <geekosaur> don't have one currently
16:02:57 <geekosaur> my current setup launches xmonad via mate-session so it all goes to .xsession-errors anyway
16:04:21 <geekosaur> it's just a one-line addition though, something like: exec >$HOME/.xsession-errors 2>&1
16:04:47 <geekosaur> right after the #! line
16:05:23 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
16:05:46 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
16:06:13 <Ether[m]> geekosaur: You mean the #! /bin/sh?
16:06:27 <Ether[m]> Or bash..
16:06:37 <geekosaur> yes, it would be the line right after that
16:07:15 <Ether[m]> So what do i do with the logs?
16:08:41 <geekosaur> copy them into a pastebin (we usually use paste.tomsmeding.com) and then paste that url here
16:09:01 <geekosaur> using matrix's paste for this is probably a bad plan as they're likely to be pretty large
16:09:16 <Ether[m]> I copied it to github
16:09:22 <geekosaur> at least, if the manageHook isactually being run (which it shouldn't as the windows are already managed)
16:09:28 <Ether[m]> https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors
16:09:55 <Ether[m]> geekosaur: It seems it is..
16:10:37 <geekosaur> that one doesn't tell me anything though, it only shows polybar starting up and no other windows
16:10:56 <geekosaur> isn't the problem during restarts and the wrong window gets the focus?
16:10:57 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
16:11:21 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
16:13:19 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Read error: Connection reset by peer)
16:13:27 LordOfLand joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
16:13:42 <Ether[m]> Yes
16:14:02 <Ether[m]> But nothing such appears
16:14:40 <geekosaur> you have the insertPosition thing commented out still according tothe online xmonad.hs
16:14:58 × abastro quits (~abab9579@220.75.216.63) (Remote host closed the connection)
16:17:40 <Ether[m]> I uncommented locally
16:18:34 × benin quits (~benin@183.82.204.110) (Quit: The Lounge - https://thelounge.chat)
16:19:08 <Ether[m]> And now on github
16:19:18 <Ether[m]> No use.
16:20:35 <geekosaur> github doesn't show an update
16:23:48 <Ether[m]> Finally useful info
16:23:57 <Ether[m]> I have updated the xsession-erros
16:23:58 <Ether[m]> Errors*
16:24:22 Ether[m] uploaded an image: (311KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JsrjUOmIHMmnjEIhrhibKBkg/20220418_222409_2234085937899160130.jpg >
16:24:46 <Ether[m]> Here is the commit
16:24:56 <Ether[m]> https://github.com/Ahanaf-Ether/xmonad/blob/stable/xsession-errors
16:27:49 × LordOfLand quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
16:28:47 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
16:29:07 <geekosaur> sigh. it's not a bug indeed. problem is that polybar is restarting and being doIgnored, but the insertPosition hook is still firing
16:29:19 <geekosaur> I think you need to use composeOne to get around this
16:30:28 <geekosaur> and insertPosiiton is triggering on the wrong window because polybar doesn't actually get added to the StackSet, being a dock window
16:32:46 <geekosaur> hm, would composeOne even work here? I think it needs the trigger condition to be separate instead of combined
16:33:21 <Ether[m]> Ohh
16:34:02 <Ether[m]> geekosaur: Same is used x.hs
16:34:15 <geekosaur> right but it isn't doing insertPosition
16:34:36 <Ether[m]> Tile below
16:35:56 <geekosaur> wonder if insertPosition needs to check if the StackSet's focused window is the same as the Query's window and abort if it's not]
16:35:57 <Ether[m]> X.hs is updated
16:38:56 <geekosaur> your standard one always launches polybar in startupHook. I bet x.hs protects it with spawnOnce
16:40:52 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Remote host closed the connection)
16:40:53 <geekosaur> actually it doesn't launch it at all
16:42:12 <geekosaur> you're using the pipe method, which doesn't quite work since polybar iirc doesn't use stdin
16:42:33 <geekosaur> but it probably finds a copy already running and so doesn't restart
16:59:23 <geekosaur> https://github.com/xmonad/xmonad-contrib/issues/709
17:00:31 werneta joins (~werneta@137.79.218.82)
17:04:06 <geekosaur> you probably want github notifications for that issue
17:05:57 <liskin> geekosaur, Sleroq: there was a memleak in xmobar between versions 0.38 and 0.41; it's fixed since 0.42
17:26:03 abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
17:55:37 Xioulious joins (~yourname@193.32.249.136)
18:08:37 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
18:09:50 Hash joins (~Hash@hey.howstoned.ru)
18:10:03 <Xioulious> in i3 I could throw any program that i have open but temporarily wanted to hide to the scratch pad and then cycle through the ones there to call them back, i know xmonad has named scratchpads but that seems to be a scratchpad for the speficied program, is it possible to have an scratchpad like the one in i3?
18:11:52 <geekosaur> dynamic scratchpad support was recently merged in git
18:12:08 <geekosaur> there's a separate dyanmic scratchpads mechanism in older versions, though
18:12:42 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-DynamicScratchpads.html
18:13:15 <geekosaur> bleh, that documentation is buggy
18:13:30 <geekosaur> but not worth fixing because of the new dynamic scratchpad support
18:14:06 <Xioulious> the one you linked is the old method?
18:14:08 <geekosaur> looks like the older one doesn't let you turn any running window into a scratchpad though
18:14:23 <geekosaur> right, that's the old one
18:16:05 <Xioulious> so does 0.17 have that new dynamic scratchpad merged or is that not the git version you're talking about? as i cant find any beta/dev branch
18:17:22 <geekosaur> https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.17.0.9/XMonad-Util-NamedScratchpad.html#g:2
18:17:33 <geekosaur> it was merged around a week ago
18:18:10 <Xioulious> ah and im running 0.17.0.9, so i should have access to it, nice, now onto managing to implement it in my config
18:18:29 <geekosaur> version number is not especially useful for git versions
18:18:42 <geekosaur> you need to make sure you've pulled and rebuilt
18:19:13 <Xioulious> i did a clean install last night from the github through stack, so im hoping so
18:19:33 <geekosaur> you need to be on commit 78dce3d or later
18:19:54 <geekosaur> last night should be okay
18:25:31 <Xioulious> hmm, it half does what the i3 one does, i can move the program into a scratchpad and hide it, i can add another one but then i cant recall the previous program
18:27:30 <Xioulious> im guessing i3 makes a new scratchpad for each program being thrown to a scratchpad and then is able to cycle through all of them, but this will have to do for now
18:28:11 <geekosaur> yeh, I noticed that. you need to reserve a slot for each program you want to scratchpad
18:28:39 <Xioulious> yeah, its basically a namedscratchpad that can take any single program but only kinda that program
18:29:03 <geekosaur> well, that's how the other named scratchpads work
18:29:36 <geekosaur> suppose it has to work that way without adding a way to dynamically extend the NSP list
18:30:23 <Xioulious> its a very new function added to xmonad, so im guessing it might get extended lateron
18:32:46 <geekosaur> well, the problem with "just turn an existing window into a scratchpad" is the part you initially noted: "cycle through the ones there"
18:33:08 <geekosaur> you need *some* handle on it (which for NSP is the scratchpad name) to control it later
18:33:25 <geekosaur> i3 makes you hunt the program down and focus it
18:34:13 <Xioulious> how do you mean the hunt down and focus it?
18:34:25 <geekosaur> an alternative might be a keybind that opens a prompt window to enter a name, then turns the focused window into a scratchpad with that name
18:34:37 <geekosaur> and a different prompt could be used to get it back by name
18:35:07 <geekosaur> just rephrasing "cycle through the ones there" like you said above
18:35:12 <Xioulious> in my i3 i have rofi show all current open programs, which also lists all programs in the scratchpads with a special icon or i can keep pressing mod+s and it will show a program from the scratchpad or throw it back and then open a next one from the scratchpad
18:35:37 <geekosaur> right, but you need something like that to track them and make them selectable
18:36:34 <geekosaur> we'd need to add something like that, or a Prompt with autocompletion based on the contents of the scratchpad workspace (or hidden windows, since we're going to switch to that instead of a magic workspace at some point), or a GridSelect, etc.
18:36:39 <Xioulious> mhm true, a certain way to have the scratchpads being dynamically named and stored in a list that it can go through that or something
18:38:02 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
18:38:09 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Client Quit)
18:38:23 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
18:44:17 abiss27 joins (~abiss27@user/abiss)
18:44:25 <Xioulious> ty for your help, do you have any link where i can keep up with new functions being added to xmonad like that one?
18:45:56 stackdroid18 joins (14094@user/stackdroid)
18:46:26 <geekosaur> only one I can think of is to watch for notifications on the xmonad-contrib repo
18:46:37 <geekosaur> I don't think you can follow just the changelog file
18:47:22 <Xioulious> ah so just keep an eye on the closed pull requests there
18:50:02 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
19:01:40 Hash joins (~Hash@hey.howstoned.ru)
19:10:02 × Hash quits (~Hash@hey.howstoned.ru) (Ping timeout: 250 seconds)
19:34:19 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:40:34 × jao quits (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
19:43:12 jao joins (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
19:45:35 CosmosAt1 joins (~CosmosAtl@142.181.135.96)
19:47:40 × CosmosAt1 quits (~CosmosAtl@142.181.135.96) (Client Quit)
19:49:07 Polo joins (~GiverOfDo@57.15.195.173.client.static.strong-in52.as13926.net)
19:49:32 Polo is now known as Guest5220
19:51:10 × MrElendig quits (~Urist@archlinux/op/MrElendig) (Quit: test)
19:51:40 MrElendig joins (~Urist@archlinux/op/MrElendig)
19:52:08 × Guest5220 quits (~GiverOfDo@57.15.195.173.client.static.strong-in52.as13926.net) (Changing host)
19:52:08 Guest5220 joins (~GiverOfDo@user/polo)
19:52:11 Guest5220 is now known as POLO
19:55:23 Hash joins (~Hash@hey.howstoned.ru)
20:06:16 × steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 248 seconds)
20:10:51 × POLO quits (~GiverOfDo@user/polo) (Ping timeout: 256 seconds)
20:14:06 CosmosAt1 joins (~CosmosAtl@142.181.135.96)
20:15:58 × CosmosAt1 quits (~CosmosAtl@142.181.135.96) (Client Quit)
20:39:35 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
20:46:55 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
20:48:11 stackdroid18 joins (14094@user/stackdroid)
21:05:03 × abiss27 quits (~abiss27@user/abiss) (Quit: hasta la vista... tchau!)
21:06:05 geekosaur wonders if he's supposed to submit an expense, or if someone actually somewhat familiar with opencollective should do so
21:07:11 <liskin> there's no one actually somewhat familiar with opencollective among us
21:08:20 <liskin> I'll be happy to help but I have little experience with expenses so you might as well just learn about them yourself :-)
21:19:50 <Polo> mememee
21:19:52 <Polo> I am!
21:22:21 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:25:34 Polo joins (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net)
21:25:49 × Polo quits (~GiverOfDo@50-206-8-110-static.hfc.comcastbusiness.net) (Changing host)
21:25:49 Polo joins (~GiverOfDo@user/polo)
21:27:35 CosmosAt1 joins (~CosmosAtl@142.181.135.96)
21:28:21 × CosmosAt1 quits (~CosmosAtl@142.181.135.96) (Client Quit)
21:29:24 × Xioulious quits (~yourname@193.32.249.136) (Quit: Lost terminal)
21:32:28 <geekosaur> force-pushed without committing, ghc concluded zero commits and closed the PR. whoops
21:32:44 <geekosaur> sonow there's a new PR and I hope I haven't confused everything :)
21:33:42 <liskin> I wonder if force-pushing again and reopening the old PR would have worked
21:33:47 <liskin> no way to find out now though :-(
21:34:29 <geekosaur> I force-poushed again but github wouldn't let me reopen the PR (or at least didn't make it obvious)
21:34:38 <geekosaur> so I opened a new PR
21:34:51 <liskin> oh :-(
21:35:16 <liskin> that's super silly, I think this used to be possible in the past
21:35:53 <geekosaur> I think it just kills PRs with zero commits
21:36:02 <geekosaur> doesn't understand them or something
21:38:03 × Hash quits (~Hash@hey.howstoned.ru) (Quit: ZNC - https://znc.in)
21:38:19 <geekosaur> alsowonder if we'll have to clear a cache or something to fix ghcup
21:38:30 <geekosaur> why is it only those three versions dying though
21:38:35 Hash joins (~Hash@hey.howstoned.ru)
21:38:56 <geekosaur> the older ones all work but 8.10.7 and up throw that unexpected newline on line 3 error
21:40:12 <geekosaur> oh, huh. why is xmonad set to merge but contrib set to rebase
21:41:59 <liskin> it just remembers the last one
21:42:26 <liskin> they probably think it's a feature, I believe it's just an attention test
21:43:01 <liskin> (and one of the reasons I often just merge PRs on the command line)
21:43:28 <liskin> the ghcup failures seem a bit random to me
21:44:18 <liskin> I'm getting 500 when I try it from here yet some jobs happen to not fail
21:44:27 <liskin> I don't think we can do anything about that
21:44:48 <liskin> I'll fix the linking errors in the stack workflows though
21:45:00 <liskin> (that just needs a cache prune)
21:49:17 <geekosaur> haskell.org (including /ghcup) is variably up and down as they fix whatever is wrong. sounds like a breaker is tripping for no known reason
21:49:26 × FatBoyXPC quits (~FatBoyXPC@user/fatboyxpc) (Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in)
21:52:23 <liskin> well, luckily we're not doing a release today, so we can ignore it and wait :-)
21:52:42 <liskin> I fixed the stack workflows at least, and will head to bed, good night everyone
21:52:49 <geekosaur> good night
21:57:13 TomasJakl[m] joins (~jaklttchn@2001:470:69fc:105::a42)
22:44:19 × Polo quits (~GiverOfDo@user/polo) (Quit: Textual IRC Client: www.textualapp.com)
23:19:33 × chomwitt quits (~chomwitt@ppp-94-67-221-107.home.otenet.gr) (Ping timeout: 256 seconds)
23:34:26 × stackdroid18 quits (14094@user/stackdroid) (Quit: hasta la vista... tchau!)
23:45:07 × twiclo quits (~twiclo@204.14.20.66.static.utbb.net) (Ping timeout: 240 seconds)
23:47:16 twiclo joins (~twiclo@mail.twil.cx)
23:54:17 mvk joins (~mvk@2607:fea8:5ce3:8500::85f6)
23:57:36 × werneta quits (~werneta@137.79.218.82) (Remote host closed the connection)

All times are in UTC on 2022-04-18.