2021/05/29

2021-05-29 00:01:59 +0200manuel-io(~manuel@185.68.78.228)
2021-05-29 00:03:37 +0200allbery_b(~geekosaur@069-135-003-034.biz.spectrum.com)
2021-05-29 00:04:30 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 248 seconds)
2021-05-29 00:04:39 +0200 <liskin> mc47: thought about the docs a bit and I think the easiest solution is to push the result into gh-pages on the xmonad and xmonad-contrib repos, possibly just the latter as it'd build haddock for both
2021-05-29 00:05:06 +0200 <liskin> a hack but we don't need pages on those repos for anything else do we?
2021-05-29 00:05:32 +0200 <mc47> sounds good to me
2021-05-29 00:10:21 +0200 <jg> mc47 I believe i got it set up right, as I compiled, however, I do not think it likes my virtual screens as I have no bars now lol
2021-05-29 00:10:40 +0200 <jg> do you know if virtual screens are identified different than 0 and 1
2021-05-29 00:11:02 +0200 <mc47> no idea, sorry
2021-05-29 00:11:07 +0200 <mc47> did you check your logs maybe?
2021-05-29 00:11:20 +0200 <mc47> I'd start by launching "xmobar -x 0" from the terminal to debug it
2021-05-29 00:11:20 +0200 <jg> let me set them up with _XMONAD_LOG
2021-05-29 00:11:23 +0200 <jg> i did not
2021-05-29 00:13:01 +0200manuel-io(~manuel@185.68.78.228) (Quit: leaving)
2021-05-29 00:13:18 +0200 <jg> they both launch from terminal via "xmobar -x 0" or 1
2021-05-29 00:13:19 +0200allbery_bgeekosaur
2021-05-29 00:13:35 +0200 <mc47> hmm
2021-05-29 00:13:43 +0200 <mc47> maybe share your config?
2021-05-29 00:14:07 +0200 <jg> yea I will in a second, when i set up statusBarPropTo "_XMONAD_LOG_1" "xmobar.." where does that log go
2021-05-29 00:14:28 +0200 <mc47> to _XMONAD_LOG_1 ? Not sure I follow the question
2021-05-29 00:14:55 +0200 <jg> oh in the source code there was that xmonad log, i thought it was outputing an error file lol
2021-05-29 00:15:12 +0200 <jg> when you put the XMONAD_LOG
2021-05-29 00:16:34 +0200seschwar(~seschwar@user/seschwar) (Quit: :wq)
2021-05-29 00:16:58 +0200jg-vm(~jrgiacone@47.149.222.98)
2021-05-29 00:24:31 +0200 <liskin> jg: https://store.lisk.in/tmp/2021-05-28-232412_956x1059_scrot.png
2021-05-29 00:24:36 +0200 <liskin> what do I do :-)
2021-05-29 00:24:57 +0200 <jg> valid anyway i can pm you
2021-05-29 00:24:58 +0200 <jg> lol
2021-05-29 00:25:21 +0200 <liskin> I hope there's a dummy password in there
2021-05-29 00:25:36 +0200 <liskin> if not then I'll boot into a failsafe and reset it
2021-05-29 00:25:50 +0200 <jg> lol ima make a quick dock in here, fortunately its not a password I use for anything anymore
2021-05-29 00:26:27 +0200 <jg> liskin, made a file with the usr and psswd
2021-05-29 00:28:20 +0200 <liskin> jg: ok, I'm in it :-)
2021-05-29 00:29:41 +0200 <jg> liskin, so the issue comes when pressing mod+q or running xmonad --restart, mod+b will no longer toggle the xmobar, however, if you open a window such as a terminal, it will behave
2021-05-29 00:29:56 +0200 <liskin> I'm looking into the xmobar issue first
2021-05-29 00:30:07 +0200 <jg> mc47, im really struggling to copy to clipboard lol, sorry im struggling to get you this pastebin
2021-05-29 00:30:15 +0200 <jg> vim novice still
2021-05-29 00:30:38 +0200 <liskin> what editor did you use to edit the xmobarrc? when I start up vim the encoding is latin1
2021-05-29 00:31:16 +0200 <jg> I use vim, that is weird, it should be un UTF
2021-05-29 00:31:55 +0200 <geekosaur> guess this explains the degree business?
2021-05-29 00:32:09 +0200 <jg> but when i ran file .xmobarrc, it spat out UTF-8
2021-05-29 00:32:26 +0200 <geekosaur> "file" makes guesses; they're often wrong
2021-05-29 00:32:46 +0200 <geekosaur> files don't have metadata saying what their encoding is, sadly
2021-05-29 00:32:59 +0200 <liskin> geekosaur: it doesn't :-)
2021-05-29 00:33:00 +0200 <mc47> jq I'll have to check it tomorrow, I'm calling it a night
2021-05-29 00:33:11 +0200 <jg> no worries big dog, ill keep messing with it
2021-05-29 00:33:14 +0200 <liskin> the explanation for the degree business is this
2021-05-29 00:33:15 +0200 <jg> goodnight
2021-05-29 00:33:19 +0200 <liskin> /etc/local.conf vs /etc/locale.conf
2021-05-29 00:33:22 +0200 <mc47> good night!
2021-05-29 00:33:26 +0200 <geekosaur> oh, whoops
2021-05-29 00:33:27 +0200 <liskin> should be the latter, it is the former
2021-05-29 00:33:29 +0200mc47(~yecinem@89.246.239.190) (Quit: Leaving)
2021-05-29 00:33:36 +0200 <liskin> so the entire X session runs with LANG=C
2021-05-29 00:33:36 +0200 <jg> lmfao
2021-05-29 00:33:38 +0200 <jg> no way
2021-05-29 00:34:01 +0200 <liskin> yep :-)
2021-05-29 00:34:25 +0200 <jg> let me just go die in a corner
2021-05-29 00:35:35 +0200 <liskin> well anyway, I can reproduce the xmobar issue
2021-05-29 00:35:46 +0200 <liskin> so that's a good start
2021-05-29 00:35:48 +0200 <jg> the issue with struts?
2021-05-29 00:35:50 +0200 <liskin> y
2021-05-29 00:37:13 +0200jg-vm(~jrgiacone@47.149.222.98) (Quit: Lost terminal)
2021-05-29 00:38:57 +0200 <jg> well thas a lovely fix, that damn e, at least im not crazy with the other one haha
2021-05-29 00:39:42 +0200 <liskin> we don't know that yet :-D
2021-05-29 00:39:50 +0200 <jg> lmao calls me out on github haha
2021-05-29 00:39:59 +0200 <liskin> I hope you don't mind
2021-05-29 00:40:13 +0200 <jg> nah its all good dog, i deserve to be embarassed for that one
2021-05-29 00:40:33 +0200 <liskin> it's just, you know, if anyone else stumbles upon it, google will lead them to the solution, hopefully
2021-05-29 00:42:33 +0200 <jg> that is fair, idk maybe this dynamicSB will solve the issue once i figure out how to impliment it properly
2021-05-29 00:46:09 +0200 <liskin> okay, got this as well
2021-05-29 00:46:22 +0200 <geekosaur> welp. the alsa issue has been reproduced: https://bugzilla.redhat.com/show_bug.cgi?id=1957233
2021-05-29 00:46:22 +0200 <jg> youre joking.. lmao please tell me im not the idiot
2021-05-29 00:46:26 +0200 <liskin> it's the overrideRedirect = False
2021-05-29 00:46:26 +0200 <geekosaur> gcc11
2021-05-29 00:46:52 +0200 <liskin> jg: you're not an idiot, we probably didn't document this anywhere
2021-05-29 00:47:20 +0200 <liskin> struts toggling needs xmobar to lower itself on start, which it doesn't do when overrideRedirect is set to False
2021-05-29 00:47:34 +0200 <jg> where is that set? in xmobar
2021-05-29 00:47:59 +0200 <liskin> and until a couple weeks ago, overrideRedirect=False was the only way to get xmonad register position changes of xmobar
2021-05-29 00:48:14 +0200 <liskin> so I totally understand that people would choose one bug over the other :-)
2021-05-29 00:48:25 +0200 <jg> oh does the dynamicSB solve this?
2021-05-29 00:48:28 +0200 <liskin> no
2021-05-29 00:49:14 +0200 <liskin> but I think that you can just drop the overrideRedirect=False from your config and everything should be fine
2021-05-29 00:49:23 +0200 <liskin> jg: do you remember why you had it there in the first place?
2021-05-29 00:51:50 +0200 <jg> to be honest, it was a template I pulled from the tutorial
2021-05-29 00:52:18 +0200 <jg> but that totally fixes it
2021-05-29 00:52:32 +0200 <jg> hang on a sec ill link it
2021-05-29 00:52:48 +0200 <liskin> oh, yeah, indeed there is overrideRedirect = False in the tutorial
2021-05-29 00:53:06 +0200 <jg> https://github.com/xmonad/xmonad/blob/8dac0577b4050dddea040039e1bfb12c2f544afb/tutorial.md
2021-05-29 00:54:12 +0200 <liskin> that's a bit weird, that couldn't have ever worked, because I don't remember doing anything that would affect this behaviour in particular
2021-05-29 00:54:24 +0200 <liskin> Solid: does toggling struts work with overrideRedirect = False for you?
2021-05-29 00:55:04 +0200 <liskin> jg: so anyway, thanks, you've discovered a real issue that wasn't your fault at all
2021-05-29 00:55:18 +0200 <jg> I'm glad I could contribute a little
2021-05-29 00:55:46 +0200 <jg> I'm also glad it was not anything crazy, and it was a simple fix
2021-05-29 00:55:58 +0200 <liskin> (and I learned how to boot grub from the EFI shell, yay)
2021-05-29 00:56:11 +0200 <jg> how do you normally boot it?
2021-05-29 00:56:35 +0200 <liskin> normally it's installed as a boot entry
2021-05-29 00:56:55 +0200 <liskin> but I didn't use your entire vm, I just took the disk image and booted it with qemu
2021-05-29 00:57:03 +0200 <liskin> so the boot menu wasn't there :-)
2021-05-29 00:57:20 +0200 <jg> oh do you prefer qmenu?
2021-05-29 00:57:35 +0200 <jg> qemu
2021-05-29 00:58:10 +0200 <liskin> yeah, I prefer free software in general as long as it works
2021-05-29 00:58:30 +0200 <jg> respect
2021-05-29 00:59:03 +0200autophagy(~mika@user/autophagy) (Quit: WeeChat 3.1)
2021-05-29 00:59:19 +0200 <jg> ill lyk if i figure out this barSpawner, im giong to try and struggle with it for a bit
2021-05-29 00:59:27 +0200 <jg> i appreciate the help
2021-05-29 01:13:50 +0200td_(~td@muedsl-82-207-238-082.citykom.de) (Ping timeout: 248 seconds)
2021-05-29 01:14:37 +0200td_(~td@muedsl-82-207-238-082.citykom.de)
2021-05-29 01:35:44 +0200 <jg> did any of yall have luck with dynamicSBs and barSpawner, I can make it run with "withSB and withEasySB" however not with barSpanwer and dynamicSBs, it compiles, it just does not actually run an instance of xmobar
2021-05-29 01:40:52 +0200tremon(~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in)
2021-05-29 01:42:27 +0200jg-vm(~jrgiacone@47.149.222.98)
2021-05-29 01:42:36 +0200 <jg-vm> https://pastebin.com/niCedcrw here is the pastebin for my attempt
2021-05-29 01:44:11 +0200 <liskin> jg-vm: try dynamicEasySBs instead
2021-05-29 01:44:26 +0200 <jg> i did already actually :)
2021-05-29 01:44:38 +0200 <liskin> oh, and still nothing? :-(
2021-05-29 01:44:42 +0200 <jg> then i can remove the avoid struts from myLayout
2021-05-29 01:46:18 +0200 <liskin> I have no other ideas then, I haven't actually tried these dynamicSBs myself. I've read the code, it seemed okay, but haven't experimented with it yet.
2021-05-29 01:46:44 +0200 <liskin> Might need to wait for mc47 if you don't figure it out.
2021-05-29 01:47:03 +0200 <jg> its no worries I will keep tinkering, I did find that when I was using withSB in order for xmobar to read I had to change statusBarPropTo -> just statusBarProp
2021-05-29 01:47:13 +0200liskingoes to bed as well now
2021-05-29 01:47:33 +0200 <jg> sleep well haha
2021-05-29 01:47:48 +0200 <geekosaur> you'd have to use separate xmobarrc-s set to use different XmonadPropLog-s
2021-05-29 01:48:06 +0200 <geekosaur> but that's about all I can tell you, I don't use xmobar
2021-05-29 01:48:30 +0200 <jg> all good, yea with it set to To, it let me use the same .xmobarrc, and all the linking worked and updated
2021-05-29 01:48:38 +0200 <jg> sorry without the To
2021-05-29 01:49:36 +0200 <liskin> separate rcs will eventually be necessary but it should do something with just one
2021-05-29 01:51:01 +0200 <jg-vm> https://pastebin.com/Pf7cugdT this is how I did it with a normal non-dynamic
2021-05-29 01:59:08 +0200allbery_b(~geekosaur@069-135-003-034.biz.spectrum.com)
2021-05-29 02:01:13 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 272 seconds)
2021-05-29 02:01:24 +0200allbery_bgeekosaur
2021-05-29 02:12:27 +0200 <jg> im actually an idiot, i got it
2021-05-29 02:13:50 +0200wenzel(~wenzel@user/wenzel) (Quit: Leaving)
2021-05-29 02:14:01 +0200 <jg-vm> xrandr
2021-05-29 02:16:22 +0200 <jg> geekosaur: mc47 did a great job, it works flawlessly
2021-05-29 03:27:52 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com) (Ping timeout: 264 seconds)
2021-05-29 03:43:13 +0200themainman(~themainma@user/themainman) (Quit: WeeChat 3.1)
2021-05-29 03:43:38 +0200xacktm(xacktm@user/xacktm) (Remote host closed the connection)
2021-05-29 03:54:04 +0200xacktm(xacktm@user/xacktm)
2021-05-29 04:19:28 +0200jg-vm(~jrgiacone@47.149.222.98) (Quit: Lost terminal)
2021-05-29 04:34:39 +0200td_(~td@muedsl-82-207-238-082.citykom.de) (Ping timeout: 265 seconds)
2021-05-29 04:36:00 +0200td_(~td@94.134.91.167)
2021-05-29 04:44:47 +0200eyenx(~eyenxeyen@eyenx.ch) (Quit: node-irc says goodbye)
2021-05-29 04:46:50 +0200eyenx(~eyenxeyen@eyenx.ch)
2021-05-29 05:08:43 +0200mohab(~mohab@156.223.41.228)
2021-05-29 05:09:36 +0200mohab(~mohab@156.223.41.228) (Client Quit)
2021-05-29 05:09:52 +0200mohab(~mohab@156.223.41.228)
2021-05-29 05:10:58 +0200mohab(~mohab@156.223.41.228) (Client Quit)
2021-05-29 06:04:08 +0200jg(~jrgiacone@47.149.222.98) (Quit: leaving)
2021-05-29 06:13:12 +0200a6a45081-2b83(~aditya@106.212.79.20)
2021-05-29 06:15:57 +0200davve(davve@bsd.douchedata.com)
2021-05-29 06:40:44 +0200a6a45081-2b83(~aditya@106.212.79.20) (Remote host closed the connection)
2021-05-29 07:09:16 +0200 <Solid> <liskin> Solid: so this is basically what your README does, just automated >> sounds fair enough, thanks for the effort!
2021-05-29 07:09:43 +0200 <Solid> <liskin> Solid: does toggling struts work with overrideRedirect = False for you? >> it does, yes
2021-05-29 07:10:05 +0200 <Solid> I remember having some issues with xmobar without that flag set to false
2021-05-29 07:10:18 +0200 <Solid> but I don't know which ones exactly anymore, sadly
2021-05-29 07:16:00 +0200davve(davve@bsd.douchedata.com) (Quit: leaving)
2021-05-29 07:23:36 +0200davve(davve@bsd.douchedata.com)
2021-05-29 07:37:08 +0200qbt(~edun@user/edun)
2021-05-29 08:16:38 +0200qbt(~edun@user/edun) (Quit: WeeChat 3.1)
2021-05-29 08:16:54 +0200qbt(~edun@user/edun)
2021-05-29 08:33:18 +0200hexo(~hexo@2a02-ab04-2843-9500-ec04-cc31-4c52-25d9.dynamic.v6.chello.sk) (Ping timeout: 264 seconds)
2021-05-29 08:47:10 +0200hexo(~hexo@2a02-ab04-2843-9500-2856-ac24-43b5-9f54.dynamic.v6.chello.sk)
2021-05-29 09:10:31 +0200 <liskin> Solid: does it still work after restarting xmobar? Do you have any doLower in your config?
2021-05-29 09:14:10 +0200 <Solid> liskin: it does yeah
2021-05-29 09:14:15 +0200 <Solid> and I don't have any doLower in my config
2021-05-29 09:14:47 +0200 <liskin> What, how? :-/
2021-05-29 09:41:45 +0200 <Solid> I just removed it though and it seems like the issue I remember having is gone so...
2021-05-29 09:45:43 +0200 <liskin> Well I'd really like to understand how it could work with it.
2021-05-29 09:46:19 +0200 <liskin> X puts new windows on the top of the stacking order, so toggling struts would put windows behind xmobar.
2021-05-29 09:46:49 +0200 <liskin> The only way out of that is to lower xmobar, or to raise everything else.
2021-05-29 09:47:57 +0200 <liskin> Raising everything else can be done by opening another new window that's also put on top and then xmonad restacks other windows directly beneath, putting them above the unmanaged xmobar.
2021-05-29 09:48:11 +0200 <liskin> Is anything like this happening in your setup?
2021-05-29 09:49:08 +0200 <Solid> not that I know of; my manageHook is quite minimal as it is, and I don't think this could be done in another place?
2021-05-29 09:55:20 +0200 <liskin> I do have some lowering in eventHook but you'd know about that I guess.
2021-05-29 09:55:38 +0200 <liskin> This is truly bizarre
2021-05-29 09:55:45 +0200 <Solid> yeah, my eventHook is completely empty
2021-05-29 10:02:27 +0200Tomurb(~tom@92-17.net.optinet.cz)
2021-05-29 10:12:38 +0200 <liskin> Oh, it's because compiled xmobar config doesn't apply the lowerOnStart override.
2021-05-29 10:13:08 +0200 <liskin> If you had the same as .xmobarrc, it wouldn't work.
2021-05-29 10:13:18 +0200 <liskin> I can sleep now.
2021-05-29 10:14:49 +0200 <Solid> oh
2021-05-29 10:16:48 +0200wonko(~wjc@62.115.229.50)
2021-05-29 10:30:34 +0200seschwar(~seschwar@user/seschwar)
2021-05-29 10:36:11 +0200Tomurb(~tom@92-17.net.optinet.cz) (Ping timeout: 265 seconds)
2021-05-29 10:55:57 +0200scardinal(~supreme@87-59-138-136-cable.dk.customer.tdc.net) (Ping timeout: 244 seconds)
2021-05-29 10:57:38 +0200scardinal(~supreme@87-59-138-136-cable.dk.customer.tdc.net)
2021-05-29 11:07:58 +0200berberman_(~berberman@user/berberman) (Ping timeout: 248 seconds)
2021-05-29 11:08:58 +0200berberman(~berberman@user/berberman)
2021-05-29 11:47:13 +0200mc47(~yecinem@89.246.239.190)
2021-05-29 12:08:34 +0200qbt(~edun@user/edun) (Ping timeout: 264 seconds)
2021-05-29 12:18:30 +0200dexterfoo(dexter@2a01:7e00::f03c:91ff:fe86:59ec)
2021-05-29 12:20:55 +0200themainman(~themainma@user/themainman)
2021-05-29 13:26:38 +0200benin(~benin@183.82.177.19) (Ping timeout: 248 seconds)
2021-05-29 15:21:42 +0200Solid_(~slot@2a01:4f8:c2c:d600::2)
2021-05-29 15:21:43 +0200Solid(~slot@static.220.87.47.78.clients.your-server.de) (Quit: Connection reset by pear)
2021-05-29 15:24:47 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com)
2021-05-29 15:27:07 +0200tremon_(~tremon@217-63-61-89.cable.dynamic.v4.ziggo.nl)
2021-05-29 15:56:41 +0200Tomurb(~tom@92-17.net.optinet.cz)
2021-05-29 16:03:07 +0200Tomurb(~tom@92-17.net.optinet.cz) (Quit: Konversation terminated!)
2021-05-29 17:00:35 +0200jg(~jg@2600:1012:b16f:8ac5:6125:d1c3:6407:ea20)
2021-05-29 17:01:07 +0200 <jg> mc47 the dynamicEasySb works perfectly thank you
2021-05-29 17:02:49 +0200 <jg> I had no issues setting it up beyond me not beating able to spell properly lol
2021-05-29 17:02:58 +0200 <jg> being*
2021-05-29 17:06:25 +0200jg(~jg@2600:1012:b16f:8ac5:6125:d1c3:6407:ea20) (Quit: Client closed)
2021-05-29 17:37:44 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (*.net *.split)
2021-05-29 17:37:44 +0200Natch(~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) (*.net *.split)
2021-05-29 17:37:44 +0200MrElendig(~Urist@user/mrelendig) (*.net *.split)
2021-05-29 17:42:56 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-05-29 17:43:06 +0200Natch(~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se)
2021-05-29 17:43:49 +0200Natch(~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se) (*.net *.split)
2021-05-29 17:43:49 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (*.net *.split)
2021-05-29 17:43:49 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com) (*.net *.split)
2021-05-29 17:43:49 +0200td_(~td@94.134.91.167) (*.net *.split)
2021-05-29 17:43:49 +0200xacktm(xacktm@user/xacktm) (*.net *.split)
2021-05-29 17:43:49 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (*.net *.split)
2021-05-29 17:43:49 +0200dmwit(~dmwit@pool-173-66-86-32.washdc.fios.verizon.net) (*.net *.split)
2021-05-29 17:43:49 +0200dexterfoo(dexter@2a01:7e00::f03c:91ff:fe86:59ec) (*.net *.split)
2021-05-29 17:43:50 +0200incertia(~incertia@d4-50-26-103.nap.wideopenwest.com) (*.net *.split)
2021-05-29 17:44:01 +0200dmwit(~dmwit@pool-173-66-86-32.washdc.fios.verizon.net)
2021-05-29 17:44:02 +0200td_(~td@94.134.91.167)
2021-05-29 17:44:11 +0200dexterfoo(dexter@2a01:7e00::f03c:91ff:fe86:59ec)
2021-05-29 17:45:39 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com)
2021-05-29 17:46:00 +0200xacktm(xacktm@user/xacktm)
2021-05-29 17:47:40 +0200incertia(~incertia@d4-50-26-103.nap.wideopenwest.com)
2021-05-29 17:47:56 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)
2021-05-29 17:49:02 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net)
2021-05-29 17:49:11 +0200Natch(~natch@c-e070e255.014-297-73746f25.bbcust.telenor.se)
2021-05-29 18:10:50 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 252 seconds)
2021-05-29 18:20:07 +0200jg(~jrgiacone@47.149.222.98)
2021-05-29 18:20:16 +0200 <jg> gmorning gents
2021-05-29 18:34:54 +0200 <Solid_> hi :)
2021-05-29 18:35:39 +0200 <geekosaur> œ
2021-05-29 19:16:50 +0200 <mc47> jq that's good to hear, I'm glad it worked out!
2021-05-29 19:17:33 +0200werneta(~werneta@mobile-166-176-59-138.mycingular.net)
2021-05-29 19:38:46 +0200Dynom(~niels@80-114-12-206.cable.dynamic.v4.ziggo.nl)
2021-05-29 19:39:34 +0200gksudo(~user@user/gksudo)
2021-05-29 19:42:25 +0200 <jg> not xmobar related necessarily, do yall have issues with trayer, liking to swap to your other screen after adding or removing a display vs staying on the main one?
2021-05-29 20:11:54 +0200 <mc47> I had that problem
2021-05-29 20:12:27 +0200 <mc47> `--monitor primary` made it behave
2021-05-29 20:12:39 +0200 <mc47> oh wait, no
2021-05-29 20:12:51 +0200 <mc47> I added trayer to my dynamicSB on screen 0
2021-05-29 20:18:36 +0200werneta(~werneta@mobile-166-176-59-138.mycingular.net) (Ping timeout: 244 seconds)
2021-05-29 20:22:08 +0200 <Solid_> mc47: you're on matrix right?
2021-05-29 20:22:50 +0200 <Solid_> can you try connecting to `#xmonad:libera.chat`? Apparently there's initial support
2021-05-29 20:25:22 +0200Solid_Solid
2021-05-29 20:28:09 +0200mc47[m](~mc47matri@2001:470:69fc:105::733)
2021-05-29 20:28:10 +0200 <mc47[m]> test
2021-05-29 20:28:32 +0200 <geekosaur> ohai
2021-05-29 20:28:38 +0200 <mc47[m]> Solid: it's working
2021-05-29 20:29:03 +0200 <Solid> awwww yeah
2021-05-29 20:29:58 +0200 <geekosaur> I am under the impression it's still in testing and may go down or drop stuff still, although maybe they've worked things out past that point by now
2021-05-29 20:31:21 +0200 <geekosaur> (it's been up in #haskell for, hm, about 43 hours I think)
2021-05-29 20:42:27 +0200 <jg> mc47 can I see an example of how you added it to your dynamicSB
2021-05-29 20:43:26 +0200 <mc47> the relevant code is starting from here https://github.com/TheMC47/dotfiles/blob/master/xmonad/.xmonad/xmonad.hs#L275
2021-05-29 20:45:12 +0200 <jg> oh shit, thanks, I did not know we could set it up like that!
2021-05-29 20:49:12 +0200 <liskin> geekosaur: I'm lurking in the matrix bridge related channels and people are still experiencing troubles like messages only coming one way and so on
2021-05-29 20:49:42 +0200 <liskin> once it's ready I'd like to try bridging this with the (the the) Matrix room
2021-05-29 20:53:25 +0200 <jg> what do yall use for chat im using irssi
2021-05-29 20:53:47 +0200 <geekosaur> hexchat here
2021-05-29 20:53:56 +0200 <liskin> weechat
2021-05-29 20:58:44 +0200 <mc47> hexchat too, will probably dabble in using emacs for it too sometime in the futrue
2021-05-29 20:58:48 +0200 <mc47> future*
2021-05-29 21:00:59 +0200 <liskin> oh boy am I old, I haven't even noticed that xchat is no longer developed and hexchat is the active fork
2021-05-29 21:02:25 +0200 <geekosaur> xchat went commercial (initially only on windows), hexchat was forked from it, that more or less killed xchat
2021-05-29 21:04:35 +0200 <liskin> yeah, I remember the shareware part
2021-05-29 21:05:23 +0200 <liskin> as someone who's had his share of trouble providing Windows builds, I didn't disapprove of it :-)
2021-05-29 21:05:45 +0200werneta(~werneta@mobile-166-176-56-255.mycingular.net)
2021-05-29 21:10:09 +0200 <jg> lol
2021-05-29 21:10:26 +0200jg-vm(~jrgiacone@47.149.222.98)
2021-05-29 21:10:33 +0200 <jg-vm> mc47: any reason why this: https://pastebin.com/4mr8WkMj would be giving me "Couldn't match expected type `StatusBarConfig` with actual type `IO StatusBarConfig` it looks like it does not like my <> trayerSB in barSpawner 0
2021-05-29 21:11:07 +0200werneta(~werneta@mobile-166-176-56-255.mycingular.net) (Ping timeout: 245 seconds)
2021-05-29 21:11:29 +0200 <mc47> it should be pure (xmobar 1) <> trayerSB
2021-05-29 21:12:24 +0200 <mc47> In retrospect I should've removed the IO from trayerSB and the pure from staticSB
2021-05-29 21:12:34 +0200 <mc47> since they're not needed
2021-05-29 21:13:32 +0200 <liskin> staticStatusBar or trayerSB look like something that would be helpful to have in xmonad-contrib
2021-05-29 21:13:44 +0200 <mc47> jg-vm if you want to understand it more, $ basically changes the precedence (so pure is applied to the result of xmobar1 <> trayerSB). But xmobar1 <> trayerSB doesn't type-check since xmobar1 :: StatusBarConfig and trayerSB :: IO StatusBarConfig
2021-05-29 21:13:48 +0200 <liskin> possibly just as an example in docs
2021-05-29 21:14:06 +0200 <mc47> maybe jg-vm would want to create a PR? :)
2021-05-29 21:14:35 +0200 <liskin> but staticStatusBar could be useful with bars like taffybar that don't use PP as all and just read from EWMH props
2021-05-29 21:14:39 +0200 <mc47> we could add staticStatusBar yes
2021-05-29 21:15:05 +0200 <mc47> when I added it I wanted to open a "first good-issue" for it and forgot
2021-05-29 21:15:58 +0200 <jg> whats a PR haha I could be down, and I tried the trayer trick you did, but If i turn off my second monitor and turn it back on it still likes to jump to the other screen lol
2021-05-29 21:16:08 +0200 <jg> i appreciate the explanation
2021-05-29 21:16:13 +0200 <mc47> a pull request
2021-05-29 21:16:58 +0200 <Solid> mc47: I dabble with ERC every now and then but I feel like one would really have to write a good bit of non-trivial elisp to make it even comparable to weechat
2021-05-29 21:17:07 +0200 <jg> what would you need me to do :)
2021-05-29 21:17:30 +0200jg-vm(~jrgiacone@47.149.222.98) (Quit: Lost terminal)
2021-05-29 21:17:43 +0200 <Solid> but it's like the only place that emacs hasn't subsumed so maybe it's worth it after all :>
2021-05-29 21:20:12 +0200 <jg> mc47, got it working, this is perfect thank you, I think I'm going to move my main rig to the git version since I can make trayer listen now and fullscreen works automatically lol
2021-05-29 21:20:13 +0200 <mc47> jg: basically a contribution to xmonad-contrib, add staticStatusBar to X.H.StatusBar (without the pure), write the docs, and submit a pull request!
2021-05-29 21:20:39 +0200 <mc47> You don't have to do it if you don't want to, obviously :) I just ask everyone to contribute whenever I get a chance
2021-05-29 21:21:05 +0200 <liskin> the hard part being writing good docs and choosing good names
2021-05-29 21:21:14 +0200 <jg> I could try, youre just talking about adding that function to the Hook and then we can remove it from our xmonad.hs
2021-05-29 21:21:20 +0200 <liskin> staticStatusBar is a bit misleading :-/
2021-05-29 21:21:20 +0200 <mc47> Solid I still haven't looked at it, but another thing I still can't tame with emacs is jupyter notebooks
2021-05-29 21:21:49 +0200 <jg> we could name it staticTrayer lol
2021-05-29 21:21:58 +0200 <mc47> jg yeah, and like liskin said, naming and docs are the tricky part. But that doesn't need haskell
2021-05-29 21:22:11 +0200 <mc47> it wouldn't just be used for trayer though, that's the thing
2021-05-29 21:23:01 +0200 <jg> I'd be super down to try and write something for review, however, I don't know the slightest bit on how to write and upload the code/start the doc, I could use other docs as examples
2021-05-29 21:23:11 +0200 <jg> is there a program for that?
2021-05-29 21:23:52 +0200 <mc47> it's not complicated, all you need is git and an editor
2021-05-29 21:24:07 +0200 <jg> so I can use vim?
2021-05-29 21:24:08 +0200 <mc47> we have a CONTRIBUTING.md file that you should take a look at https://github.com/xmonad/xmonad/blob/master/CONTRIBUTING.md
2021-05-29 21:24:16 +0200 <jg> taking a look now!
2021-05-29 21:24:16 +0200 <mc47> and I highly recommend this
2021-05-29 21:24:28 +0200 <mc47> https://github.com/firstcontributions/first-contributions
2021-05-29 21:24:32 +0200 <geekosaur> for little things all you need is a web browser
2021-05-29 21:24:39 +0200 <mc47> This takes you through your first contribution in open-source
2021-05-29 21:24:49 +0200 <jg> haha I dig it!
2021-05-29 21:25:05 +0200 <mc47> so if you're not familiar with it, you definitely want to check it first
2021-05-29 21:25:38 +0200 <mc47> it's even translated to pirate-english :D
2021-05-29 21:26:34 +0200 <jg> so I have to clone the xmonad-testing repo to test the change?
2021-05-29 21:26:51 +0200 <mc47> no, where does it say you should?
2021-05-29 21:26:53 +0200 <geekosaur> it's one way to test it
2021-05-29 21:27:09 +0200 <jg> it says "Make sure you test your changes using the xmonad-testing repo"
2021-05-29 21:27:39 +0200 <mc47> we should probably change that
2021-05-29 21:27:46 +0200 <mc47> you can just test it with your config
2021-05-29 21:28:25 +0200 <geekosaur> it's in CONTRIBUTING.md
2021-05-29 21:28:37 +0200 <jg> for example, If I edit my X.H.StatusBar, and I do I git pull will it remove my change?
2021-05-29 21:29:36 +0200 <mc47> It depends, I think it won't pull because you have "uncommited changes"
2021-05-29 21:29:59 +0200 <geekosaur> "git stash" is your friend here
2021-05-29 21:30:26 +0200 <mc47> you will work on your fork of the code on some branch, and after doing your changes, you can "checkout" the master version of the upstream again
2021-05-29 21:31:25 +0200 <jg> alright, I'll try and find some videos on this so I get a better understanding of not messing it all up!
2021-05-29 21:32:18 +0200 <geekosaur> if you do mess it up, there's always ohshitgit.com :)
2021-05-29 21:33:00 +0200werneta(~werneta@mobile-166-176-57-108.mycingular.net)
2021-05-29 21:34:03 +0200 <jg> so I want to create my own branch essentially, edit in there, make a doc & comments, and then send a PR?
2021-05-29 21:34:38 +0200 <mc47> basically, yes
2021-05-29 21:35:30 +0200 <jg> alright, I'll give it ago, I guess worst case if I really fuck up my own branch I can just reclone the main right?
2021-05-29 21:36:17 +0200 <geekosaur> yes, but probably just delete your branch and recreate it is enough
2021-05-29 21:36:19 +0200 <mc47> don't worry about fucking up, it's really hard to lose anything if you're using git
2021-05-29 21:36:19 +0200 <liskin> I'd recommend reading Pro Git. It's not the shortest material, but git is exactly the kind of thing where taking shortcuts will come and bite you hard later.
2021-05-29 21:36:52 +0200 <liskin> (Not bite as in losing data, more like being utterly confused and annoying to all the people you collaborate with.)
2021-05-29 21:37:20 +0200 <jg> noted! yea that's a great idea
2021-05-29 21:38:20 +0200 <liskin> speaking of staticStatusBar, it's not a bad name for people who know about DynamicLog
2021-05-29 21:38:51 +0200 <liskin> I just never thought that's a good use of static/dynamic :-)
2021-05-29 21:40:08 +0200 <mc47> I obviously didn't give it a lot of thought since it's just in my config
2021-05-29 21:43:40 +0200 <liskin> anyway I was just going to suggest that we create a statusBar cmd logHook :: String -> X () -> StatusBarConfig function
2021-05-29 21:43:53 +0200 <liskin> then statusBarPropTo can be implemented in terms of it
2021-05-29 21:44:06 +0200 <liskin> and staticStatusBar is just statusBar cmd mempty
2021-05-29 21:44:35 +0200 <liskin> and also statusBarPipe must be implemented using the IORef Handle trick, because it now doesn't work with dynamicSBs
2021-05-29 21:44:53 +0200 <mc47> yes that sounds reasonable
2021-05-29 21:45:23 +0200 <mc47> Why doesn't it work?
2021-05-29 21:45:55 +0200 <liskin> updateSBs relies on sbStartupHook and sbCleanupHook but statusBarPipe launches it itself and doesn't implement these two hooks
2021-05-29 21:46:13 +0200 <liskin> so if you use statusBarPipe in dynamicSBs, the bar just stays there no matter what
2021-05-29 21:46:45 +0200 <liskin> didn't notice during the review as I only looked at the diff
2021-05-29 21:46:59 +0200 <liskin> now that I'm looking at the whole file it's obvious
2021-05-29 21:48:34 +0200 <mc47> right, that totally slipped my mind :/
2021-05-29 21:49:51 +0200 <liskin> I should've persuaded you to use the proper impl of statusBarPipe in the first PR
2021-05-29 21:50:08 +0200 <liskin> it's an abuse of the StatusBarConfig api :-)
2021-05-29 21:50:54 +0200 <liskin> you created a nice abstraction, so obviously you then assumed that the abstraction works
2021-05-29 21:51:12 +0200 <mc47> it feels a bit like cheating if I'm being honest
2021-05-29 21:51:19 +0200 <liskin> what does?
2021-05-29 21:51:36 +0200 <mc47> the way statusBarPipe currently is
2021-05-29 21:51:40 +0200 <liskin> yes :-)
2021-05-29 21:52:06 +0200 <mc47> I vaguely remember thinking "wait, that ~~should be~~ is illegal"
2021-05-29 21:53:19 +0200 <liskin> we'd need a way stronger type system to make the current implementation illegal
2021-05-29 22:07:17 +0200mc47(~yecinem@89.246.239.190) (Ping timeout: 272 seconds)
2021-05-29 22:08:05 +0200mc47(~yecinem@89.246.239.190)
2021-05-29 22:33:35 +0200Dynom(~niels@80-114-12-206.cable.dynamic.v4.ziggo.nl) (Quit: WeeChat 3.1)
2021-05-29 22:41:08 +0200mc47(~yecinem@89.246.239.190) (Quit: Leaving)
2021-05-29 22:42:37 +0200 <jg> mc47, I think I am setting it up right, I forked it, and am rebuilding my stack with the fork
2021-05-29 22:52:49 +0200jg(~jrgiacone@47.149.222.98) (Quit: Lost terminal)
2021-05-29 23:14:01 +0200gksudo(~user@user/gksudo) (Quit: kernel update)
2021-05-29 23:36:23 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com) (Remote host closed the connection)
2021-05-29 23:38:08 +0200geekosaur(~geekosaur@069-135-003-034.biz.spectrum.com)
2021-05-29 23:46:26 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) (Ping timeout: 265 seconds)
2021-05-29 23:51:12 +0200abhixec(~abhixec@c-67-169-139-16.hsd1.ca.comcast.net)