Logs: liberachat/#xmonad
| 2021-05-29 17:38:46 | → | Dynom joins (~niels@80-114-12-206.cable.dynamic.v4.ziggo.nl) |
| 2021-05-29 17:39:34 | → | gksudo joins (~user@user/gksudo) |
| 2021-05-29 17:42:25 | <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 18:11:54 | <mc47> | I had that problem |
| 2021-05-29 18:12:27 | <mc47> | `--monitor primary` made it behave |
| 2021-05-29 18:12:39 | <mc47> | oh wait, no |
| 2021-05-29 18:12:51 | <mc47> | I added trayer to my dynamicSB on screen 0 |
| 2021-05-29 18:18:36 | × | werneta quits (~werneta@mobile-166-176-59-138.mycingular.net) (Ping timeout: 244 seconds) |
| 2021-05-29 18:22:08 | <Solid_> | mc47: you're on matrix right? |
| 2021-05-29 18:22:50 | <Solid_> | can you try connecting to `#xmonad:libera.chat`? Apparently there's initial support |
| 2021-05-29 18:25:22 | Solid_ | is now known as Solid |
| 2021-05-29 18:28:09 | → | mc47[m] joins (~mc47matri@2001:470:69fc:105::733) |
| 2021-05-29 18:28:10 | <mc47[m]> | test |
| 2021-05-29 18:28:32 | <geekosaur> | ohai |
| 2021-05-29 18:28:38 | <mc47[m]> | Solid: it's working |
| 2021-05-29 18:29:03 | <Solid> | awwww yeah |
| 2021-05-29 18:29:58 | <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 18:31:21 | <geekosaur> | (it's been up in #haskell for, hm, about 43 hours I think) |
| 2021-05-29 18:42:27 | <jg> | mc47 can I see an example of how you added it to your dynamicSB |
| 2021-05-29 18:43:26 | <mc47> | the relevant code is starting from here https://github.com/TheMC47/dotfiles/blob/master/xmonad/.xmonad/xmonad.hs#L275 |
| 2021-05-29 18:45:12 | <jg> | oh shit, thanks, I did not know we could set it up like that! |
| 2021-05-29 18:49:12 | <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 18:49:42 | <liskin> | once it's ready I'd like to try bridging this with the (the the) Matrix room |
| 2021-05-29 18:53:25 | <jg> | what do yall use for chat im using irssi |
| 2021-05-29 18:53:47 | <geekosaur> | hexchat here |
| 2021-05-29 18:53:56 | <liskin> | weechat |
| 2021-05-29 18:58:44 | <mc47> | hexchat too, will probably dabble in using emacs for it too sometime in the futrue |
| 2021-05-29 18:58:48 | <mc47> | future* |
| 2021-05-29 19:00:59 | <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 19:02:25 | <geekosaur> | xchat went commercial (initially only on windows), hexchat was forked from it, that more or less killed xchat |
| 2021-05-29 19:04:35 | <liskin> | yeah, I remember the shareware part |
| 2021-05-29 19:05:23 | <liskin> | as someone who's had his share of trouble providing Windows builds, I didn't disapprove of it :-) |
| 2021-05-29 19:05:45 | → | werneta joins (~werneta@mobile-166-176-56-255.mycingular.net) |
| 2021-05-29 19:10:09 | <jg> | lol |
| 2021-05-29 19:10:26 | → | jg-vm joins (~jrgiacone@47.149.222.98) |
| 2021-05-29 19:10:33 | <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 19:11:07 | × | werneta quits (~werneta@mobile-166-176-56-255.mycingular.net) (Ping timeout: 245 seconds) |
| 2021-05-29 19:11:29 | <mc47> | it should be pure (xmobar 1) <> trayerSB |
| 2021-05-29 19:12:24 | <mc47> | In retrospect I should've removed the IO from trayerSB and the pure from staticSB |
| 2021-05-29 19:12:34 | <mc47> | since they're not needed |
| 2021-05-29 19:13:32 | <liskin> | staticStatusBar or trayerSB look like something that would be helpful to have in xmonad-contrib |
| 2021-05-29 19:13:44 | <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 19:13:48 | <liskin> | possibly just as an example in docs |
| 2021-05-29 19:14:06 | <mc47> | maybe jg-vm would want to create a PR? :) |
| 2021-05-29 19:14:35 | <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 19:14:39 | <mc47> | we could add staticStatusBar yes |
| 2021-05-29 19:15:05 | <mc47> | when I added it I wanted to open a "first good-issue" for it and forgot |
| 2021-05-29 19:15:58 | <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 19:16:08 | <jg> | i appreciate the explanation |
| 2021-05-29 19:16:13 | <mc47> | a pull request |
| 2021-05-29 19:16:58 | <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 19:17:07 | <jg> | what would you need me to do :) |
| 2021-05-29 19:17:30 | × | jg-vm quits (~jrgiacone@47.149.222.98) (Quit: Lost terminal) |
| 2021-05-29 19:17:43 | <Solid> | but it's like the only place that emacs hasn't subsumed so maybe it's worth it after all :> |
| 2021-05-29 19:20:12 | <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 19:20:13 | <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 19:20:39 | <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 19:21:05 | <liskin> | the hard part being writing good docs and choosing good names |
| 2021-05-29 19:21:14 | <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 19:21:20 | <liskin> | staticStatusBar is a bit misleading :-/ |
| 2021-05-29 19:21:20 | <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 19:21:49 | <jg> | we could name it staticTrayer lol |
| 2021-05-29 19:21:58 | <mc47> | jg yeah, and like liskin said, naming and docs are the tricky part. But that doesn't need haskell |
| 2021-05-29 19:22:11 | <mc47> | it wouldn't just be used for trayer though, that's the thing |
| 2021-05-29 19:23:01 | <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 19:23:11 | <jg> | is there a program for that? |
| 2021-05-29 19:23:52 | <mc47> | it's not complicated, all you need is git and an editor |
| 2021-05-29 19:24:07 | <jg> | so I can use vim? |
| 2021-05-29 19:24:08 | <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 19:24:16 | <jg> | taking a look now! |
| 2021-05-29 19:24:16 | <mc47> | and I highly recommend this |
| 2021-05-29 19:24:28 | <mc47> | https://github.com/firstcontributions/first-contributions |
| 2021-05-29 19:24:32 | <geekosaur> | for little things all you need is a web browser |
| 2021-05-29 19:24:39 | <mc47> | This takes you through your first contribution in open-source |
| 2021-05-29 19:24:49 | <jg> | haha I dig it! |
| 2021-05-29 19:25:05 | <mc47> | so if you're not familiar with it, you definitely want to check it first |
| 2021-05-29 19:25:38 | <mc47> | it's even translated to pirate-english :D |
| 2021-05-29 19:26:34 | <jg> | so I have to clone the xmonad-testing repo to test the change? |
| 2021-05-29 19:26:51 | <mc47> | no, where does it say you should? |
| 2021-05-29 19:26:53 | <geekosaur> | it's one way to test it |
| 2021-05-29 19:27:09 | <jg> | it says "Make sure you test your changes using the xmonad-testing repo" |
| 2021-05-29 19:27:39 | <mc47> | we should probably change that |
| 2021-05-29 19:27:46 | <mc47> | you can just test it with your config |
| 2021-05-29 19:28:25 | <geekosaur> | it's in CONTRIBUTING.md |
| 2021-05-29 19:28:37 | <jg> | for example, If I edit my X.H.StatusBar, and I do I git pull will it remove my change? |
| 2021-05-29 19:29:36 | <mc47> | It depends, I think it won't pull because you have "uncommited changes" |
| 2021-05-29 19:29:59 | <geekosaur> | "git stash" is your friend here |
| 2021-05-29 19:30:26 | <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 19:31:25 | <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 19:32:18 | <geekosaur> | if you do mess it up, there's always ohshitgit.com :) |
| 2021-05-29 19:33:00 | → | werneta joins (~werneta@mobile-166-176-57-108.mycingular.net) |
| 2021-05-29 19:34:03 | <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 19:34:38 | <mc47> | basically, yes |
| 2021-05-29 19:35:30 | <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 19:36:17 | <geekosaur> | yes, but probably just delete your branch and recreate it is enough |
| 2021-05-29 19:36:19 | <mc47> | don't worry about fucking up, it's really hard to lose anything if you're using git |
| 2021-05-29 19:36:19 | <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 19:36:52 | <liskin> | (Not bite as in losing data, more like being utterly confused and annoying to all the people you collaborate with.) |
| 2021-05-29 19:37:20 | <jg> | noted! yea that's a great idea |
| 2021-05-29 19:38:20 | <liskin> | speaking of staticStatusBar, it's not a bad name for people who know about DynamicLog |
All times are in UTC.