2021-02-17 00:18:28 +0100 | <Liskni_si> | ttmx: what does that orange-ish icon next to the window title mean? |
2021-02-17 00:29:35 +0100 | <ttmx> | Just looks neat, no meaning on that one hahaha |
2021-02-17 00:29:55 +0100 | <ttmx> | Its static |
2021-02-17 00:39:20 +0100 | fionnan | (~fionnan@80.111.86.154) (Remote host closed the connection) |
2021-02-17 00:46:55 +0100 | <Liskni_si> | :-) |
2021-02-17 01:09:42 +0100 | <Liskni_si> | and you know what, let's make my xmobar prettier too |
2021-02-17 01:09:45 +0100 | <Liskni_si> | https://store.lisk.in/tmp/2021-02-17-000809_354x29_scrot.png |
2021-02-17 01:09:46 +0100 | <Liskni_si> | https://store.lisk.in/tmp/2021-02-17-000826_64x43_scrot.png |
2021-02-17 01:09:48 +0100 | <Liskni_si> | https://store.lisk.in/tmp/2021-02-17-000838_57x23_scrot.png |
2021-02-17 01:20:30 +0100 | notis | (~notis@185.51.134.222) (Ping timeout: 260 seconds) |
2021-02-17 01:24:18 +0100 | <ttmx> | Cool icons! |
2021-02-17 01:24:39 +0100 | <ttmx> | I just remembered, how can I make an "action" do something inside xmonad? |
2021-02-17 01:25:26 +0100 | <ttmx> | I want my layout icon to be clickable and swap layouts. The hacks I see involve using xdotool to mimick the keybinds, which I find extremely hacky and not cool xD |
2021-02-17 01:25:58 +0100 | <Liskni_si> | there's XMonad.Hooks.ServerMode |
2021-02-17 01:26:28 +0100 | <Liskni_si> | then you can do something like "xmonadctl next-layout", provided you define the action for "next-layout" in your config |
2021-02-17 01:26:39 +0100 | <ttmx> | Oh god |
2021-02-17 01:27:13 +0100 | <Liskni_si> | it's not exactly polished though, so I have an open pullreq that improves it a tiny bit |
2021-02-17 01:27:55 +0100 | <Liskni_si> | and then here's how I added it to my setup: https://github.com/liskin/dotfiles/commit/e142b22a06aba249ddf61ce68fc8ae1d7c0034e3, https://github.com/liskin/dotfiles/commit/19c41d964f995f4c11b1cc793807a911dd1216e6#diff-f3bd9f70ef… |
2021-02-17 01:29:10 +0100 | <ttmx> | Thank you :P |
2021-02-17 01:29:28 +0100 | <ttmx> | Just w a c k y that there isn't any default behaviours for serverMode |
2021-02-17 01:29:45 +0100 | <ttmx> | That there aren't? |
2021-02-17 01:29:51 +0100 | <Liskni_si> | well, there are, just the interface is massively silly |
2021-02-17 01:30:14 +0100 | <Liskni_si> | like you do xmonadctl 0 and it prints a list of commands somewhere and then you select by xmonadctl <some other number> |
2021-02-17 01:30:30 +0100 | <Liskni_si> | I didn't even consider trying to use that level of crazy |
2021-02-17 01:32:01 +0100 | <Liskni_si> | actually I think it'd be a good idea to change the default to what I have here |
2021-02-17 01:32:34 +0100 | <Liskni_si> | I'll make a note somewhere |
2021-02-17 01:40:08 +0100 | xaltsc | (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 265 seconds) |
2021-02-17 01:47:35 +0100 | kw | (d4662d5d@212.102.45.93) |
2021-02-17 01:49:22 +0100 | <kw> | Anyone know why `installSignalHandlers` (in XMonad.Core) does the `getAnyProcessStatus` loop? It was added way back in 2009 but there's not really any explanation of what it's doing. |
2021-02-17 01:51:35 +0100 | <ttmx> | Make a dict with it :P |
2021-02-17 01:56:28 +0100 | <Liskni_si> | kw: there's a comment about it: "and clean up any extant zombie processes." |
2021-02-17 01:56:56 +0100 | ttmx | (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Ping timeout: 256 seconds) |
2021-02-17 01:57:52 +0100 | <kw> | Liskni_si: I see that, but I can't tell how it does that. It's calling `waitpid` without actually waiting. That seems like it polls processes but does not clean them up. |
2021-02-17 01:58:30 +0100 | <kw> | But I think I just don't understand `waitpid` properly. |
2021-02-17 01:58:51 +0100 | <Liskni_si> | kw: well that's what waitpid does it you tell it not to block |
2021-02-17 01:59:26 +0100 | <Liskni_si> | it gives you statuses of processes that already exited (zombies) and when it does that, they're finally released into the void |
2021-02-17 02:00:18 +0100 | <kw> | Oh, neat. I did not realize that it had the side effect of releasing them. Thanks! |
2021-02-17 02:03:05 +0100 | <Liskni_si> | for these things, manpages are usually the best resource (this bit is in the first paragraph of man 2 waitpid), although maybe the language used there isn't really accessible for people who aren't already familiar with that kind of terminology (I wouldn't know, been reading them for way too long) |
2021-02-17 02:12:11 +0100 | <kw> | Yeah, I should have read the man page more closely. I have no excuse (other than, as you say, writing style). |
2021-02-17 02:38:34 +0100 | gazler | (~gazler@195.107.2.81.in-addr.arpa) |
2021-02-17 02:40:16 +0100 | gazler__ | (~gazler@195.107.2.81.in-addr.arpa) (Ping timeout: 240 seconds) |
2021-02-17 03:09:26 +0100 | thc202 | (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds) |
2021-02-17 03:24:37 +0100 | kw | (d4662d5d@212.102.45.93) (Quit: Connection closed) |
2021-02-17 04:30:50 +0100 | AlexNevesky | (~brtt@2600:8804:8689:3f00::2395) |
2021-02-17 04:41:57 +0100 | ttmx | (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) |
2021-02-17 04:42:55 +0100 | theDon | (~td@94.134.91.14) (Ping timeout: 256 seconds) |
2021-02-17 04:43:16 +0100 | <ttmx> | geekosaur, if you want any wacky looking setups for the website, I would be really proud to have mine there |
2021-02-17 04:44:01 +0100 | <ttmx> | Sort of finished this today |
2021-02-17 04:44:18 +0100 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/f5b4851fc7f263a463532f9a208122e6/image.png |
2021-02-17 04:44:28 +0100 | theDon | (~td@94.134.91.226) |
2021-02-17 04:45:04 +0100 | <ttmx> | if kiwiirc compresses stuff too much just lambdabot me and I'll send you a better version |
2021-02-17 04:45:09 +0100 | <ttmx> | I'm really proud :D |
2021-02-17 04:59:39 +0100 | thunderrd | (~thunderrd@183.182.113.172) (Remote host closed the connection) |
2021-02-17 05:01:54 +0100 | thunderrd | (~thunderrd@183.182.113.172) |
2021-02-17 05:03:42 +0100 | <AlexNevesky> | ttmx: how did u get font awesome working with xmobar? |
2021-02-17 05:04:05 +0100 | <ttmx> | What do you mean? |
2021-02-17 05:04:28 +0100 | <AlexNevesky> | u have font awesome icons in the xmobar. im wondering how u got those working |
2021-02-17 05:05:10 +0100 | <ttmx> | https://termbin.com/sjdk |
2021-02-17 05:05:18 +0100 | <ttmx> | They just kinda worked? |
2021-02-17 05:05:32 +0100 | <ttmx> | Thats my config, I just set the font |
2021-02-17 05:09:37 +0100 | <ttmx> | It should all be in my github https://github.com/ttmx/dotfiles |
2021-02-17 05:09:43 +0100 | <AlexNevesky> | i really like your xmobar |
2021-02-17 05:09:49 +0100 | <ttmx> | Thank you :) |
2021-02-17 05:10:00 +0100 | <ttmx> | I'm proud of it, did it today with some help from people on the server |
2021-02-17 05:11:18 +0100 | <AlexNevesky> | hey i know your proud of what u did but if you want there is a way to change the way your write your keyboard shortucts |
2021-02-17 05:11:25 +0100 | <AlexNevesky> | makes it super easy |
2021-02-17 05:12:53 +0100 | <AlexNevesky> | omg how did you get ewmh in your xmonad.hs? every time i try it kicks back an error |
2021-02-17 05:13:06 +0100 | <ttmx> | I have no idea either |
2021-02-17 05:13:12 +0100 | <ttmx> | But yes! I'm 10000% up for improvements |
2021-02-17 05:13:21 +0100 | <ttmx> | I have to go to bed though, since its 4 am |
2021-02-17 05:13:56 +0100 | <ttmx> | So, speak now, or be quiet forever or however the saying goes |
2021-02-17 05:14:03 +0100 | <ttmx> | (or just tag me with lambdabot) |
2021-02-17 05:14:03 +0100 | <AlexNevesky> | ttmx: import XMonad.Util.EZConfig (mkKeymap, additionalKeys), myKeys = \c -> mkKeymap c $ |
2021-02-17 05:14:09 +0100 | <AlexNevesky> | there you go |
2021-02-17 05:14:44 +0100 | <AlexNevesky> | then you can write your shortcuts as ("M-M1-d", spawn ("discord")) |
2021-02-17 05:15:07 +0100 | <ttmx> | Ah! |
2021-02-17 05:15:10 +0100 | <ttmx> | I've heard about that yes |
2021-02-17 05:15:17 +0100 | <AlexNevesky> | so much easier to write shortcuts |
2021-02-17 05:15:22 +0100 | <ttmx> | But felt it was kinda unneeded? |
2021-02-17 05:15:29 +0100 | <ttmx> | But yes, I'll look into it... Tomorrow :P |
2021-02-17 05:16:22 +0100 | <ttmx> | Good night, and thank you for the positive comments! Hope it gets put to good use (put me on the website! put me on the website!) |
2021-02-17 05:17:47 +0100 | ttmx | (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Quit: Connection closed) |
2021-02-17 05:21:29 +0100 | AlexNevesky | (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
2021-02-17 05:37:22 +0100 | AlexNevesky | (~brtt@2600:8804:8689:3f00::2395) |
2021-02-17 05:54:56 +0100 | <AlexNevesky> | okay i dont understand it |
2021-02-17 05:55:18 +0100 | <AlexNevesky> | I follow what the haskell website tells me to do but for whatever reason i cannot get ewmh to work |
2021-02-17 06:49:41 +0100 | hexo | (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection) |
2021-02-17 06:49:58 +0100 | hexo | (~hexo@gateway/tor-sasl/hexo) |
2021-02-17 06:56:14 +0100 | vanvik | (~nimor@82.194.204.210) (Ping timeout: 272 seconds) |
2021-02-17 06:57:20 +0100 | vanvik | (~nimor@82.194.204.210) |
2021-02-17 07:34:06 +0100 | brettgilio_ | (~brettgili@brettgilio.com) |
2021-02-17 07:34:56 +0100 | brettgilio | (~brettgili@brettgilio.com) (Ping timeout: 240 seconds) |
2021-02-17 07:51:20 +0100 | palo1 | (~weechat@c-base/crew/palo) |
2021-02-17 07:54:33 +0100 | palo | (~weechat@c-base/crew/palo) (Ping timeout: 264 seconds) |
2021-02-17 07:54:33 +0100 | palo1 | palo |
2021-02-17 08:25:54 +0100 | idhugo | (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) |
2021-02-17 08:30:20 +0100 | <Solid> | I hvae to say I like the _look_ of the xmonad website quite a bit |
2021-02-17 08:30:35 +0100 | <Solid> | the information on it just needs to be updated |
2021-02-17 09:06:08 +0100 | palo1 | (~weechat@c-base/crew/palo) |
2021-02-17 09:07:38 +0100 | palo | (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds) |
2021-02-17 09:07:39 +0100 | palo1 | palo |
2021-02-17 09:09:25 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) |
2021-02-17 10:01:01 +0100 | notis | (~notis@185.51.134.229) |
2021-02-17 10:13:26 +0100 | mc47 | (~yecinem@89.246.239.190) |
2021-02-17 10:20:04 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1) |
2021-02-17 10:23:17 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) |
2021-02-17 11:06:01 +0100 | pourvoir | (5c977621@lfbn-idf1-1-2199-33.w92-151.abo.wanadoo.fr) |
2021-02-17 11:07:37 +0100 | materiyolo | (~materiyol@112.204.169.246) |
2021-02-17 11:11:15 +0100 | materiyolo | (~materiyol@112.204.169.246) (Client Quit) |
2021-02-17 11:11:27 +0100 | pourvoir | (5c977621@lfbn-idf1-1-2199-33.w92-151.abo.wanadoo.fr) (Quit: Connection closed) |
2021-02-17 11:19:29 +0100 | thc202 | (~thc202@unaffiliated/thc202) |
2021-02-17 11:21:31 +0100 | <Liskni_si> | any ideas how to get my github sponsors out there without all the other people who did a lot of hard work feeling I'm exploiting them? |
2021-02-17 11:24:08 +0100 | materiyolo | (~materiyol@112.204.169.246) |
2021-02-17 12:00:02 +0100 | <Solid> | mh good question |
2021-02-17 12:00:35 +0100 | <Solid> | I suppose some sort of "donating" heading where we explain that the xmonad project doesn't take any donations, but if one wants to one can donate to individual contributors? |
2021-02-17 12:11:19 +0100 | <mc47> | sounds reasonable |
2021-02-17 12:12:30 +0100 | <Liskni_si> | yeah, the technical side is easy, I can also just add myself to .github/FUNDING.yaml |
2021-02-17 12:13:13 +0100 | <Liskni_si> | the real problem is me being afraid of someone like peti reverting it immediately and unleashing an even bigger amount of hatred towards me |
2021-02-17 12:13:55 +0100 | idhugo_ | (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) |
2021-02-17 12:14:08 +0100 | <Liskni_si> | (yeah, it's the "depressed about being held hostage by inactive senior maintainers" time again) |
2021-02-17 12:16:29 +0100 | idhugo | (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 265 seconds) |
2021-02-17 12:18:12 +0100 | <Solid> | I doubt that'll happen |
2021-02-17 12:18:31 +0100 | <Solid> | as long as you don't sneak in a build change into it ;) |
2021-02-17 12:20:56 +0100 | <Liskni_si> | okay maybe opening a PR asking other core ppls to add their sponsor links might work |
2021-02-17 12:21:57 +0100 | <Liskni_si> | except now we have a financial incentive to become core and a financial incentive not to dillute it by adding more people |
2021-02-17 12:22:01 +0100 | <Liskni_si> | god I hate this world. |
2021-02-17 12:22:41 +0100 | <Liskni_si> | (or maybe we don't cause nobody will donate anything anyway) |
2021-02-17 12:25:04 +0100 | <Solid> | hint: it's going to be the latter |
2021-02-17 12:25:46 +0100 | <Liskni_si> | yeah, I should probably just start a youtube channel |
2021-02-17 12:26:00 +0100 | <Liskni_si> | (about writing a wayland xmonad) |
2021-02-17 12:28:15 +0100 | <Solid> | hah |
2021-02-17 12:29:11 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) (Quit: WeeChat 3.0.1) |
2021-02-17 12:29:16 +0100 | <Solid> | I'd watch it :) |
2021-02-17 12:29:33 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) |
2021-02-17 12:32:27 +0100 | <Liskni_si> | unfortunately I'm not the kind of person who can work while being watched/recorded, and I don't have time to create a performance :-/ |
2021-02-17 12:34:54 +0100 | <Solid> | then again, maybe people will donate |
2021-02-17 12:35:05 +0100 | <Solid> | I'm always surprised how many people actually use xmonad |
2021-02-17 12:35:53 +0100 | <Solid> | Of the nerds I know IRL, it's actually the most used window manager (none of them converted by me!) |
2021-02-17 12:39:33 +0100 | <mc47> | I'm not so sure whether people will donate, or at least do it regularly |
2021-02-17 12:40:05 +0100 | <mc47> | Personally the most I did is just a 5 or 10€ one-time donation to the things I use most |
2021-02-17 12:41:05 +0100 | <mc47> | but then again, I'm also a student, so not a lot of money to donate in the first place |
2021-02-17 12:41:17 +0100 | <Solid> | yes I probably shouldn't extrapolate from my sample size of 1 :D (I donate _way_ too much money to FOSS projects and other organisations) |
2021-02-17 12:41:37 +0100 | <engblom> | Solid: I think one of the strong points of xmonad is its sane default configuration and how you can customize it to almost anything. I use xmonad in all of my computers (both at home and at work). Deep inside I wish it would have been written in Common Lisp or any other higher level language because ghc + libraries wastes a lot of disk space. |
2021-02-17 12:42:47 +0100 | <Solid> | engblom: the solutions is to use more awesome haskell projects so the disk spaces is meaningfully spent :> |
2021-02-17 12:42:51 +0100 | <Solid> | s/ions/ion/ |
2021-02-17 12:43:47 +0100 | <mc47> | Solid, I remember there's a java hibernate open-source library that offered an interface to use more advanced postgresql types (or something similar, forgot the details) and the developer put the option to donate |
2021-02-17 12:44:05 +0100 | <engblom> | Solid: Sadly I have not found anything else I need Haskell for... |
2021-02-17 12:44:20 +0100 | <mc47> | even though it was used by a lot of companies, they barely got any money |
2021-02-17 12:45:54 +0100 | <Solid> | engblom: if you use xmobar you can use it as a library :D |
2021-02-17 12:46:17 +0100 | <Solid> | other than that kmonad, pandoc, shellcheck, hledger,... there's a lot of good stuff out there |
2021-02-17 12:46:22 +0100 | <engblom> | Solid: I am using xmobar... |
2021-02-17 12:46:26 +0100 | <mc47> | it's shitty that there's a high opportunity cost to do open-source, and not enough incentive to do it :/ the general public don't realize how important it is and don't care to donate (I'm just ranting now) |
2021-02-17 12:47:02 +0100 | <Solid> | engblom: there's of course also always the possibility to learn haskell and do personal projects in it; it's fun I promise |
2021-02-17 12:47:55 +0100 | <Solid> | mc47: I suppose so yes |
2021-02-17 12:49:27 +0100 | <engblom> | Solid: I have already been going through "Learn You a Haskell for Great Good!" and it is thanks to Haskell I learned to appreciate functional programming. Then came to disappointment with Cabal and how way to often dependencies are broken, which led me to Clojure. Lein (as a tool) was just so much better than Cabal and I also fell in love with the Lisp family of programming languages. |
2021-02-17 12:49:58 +0100 | <Solid> | I have to say I've never used cabal without stack |
2021-02-17 12:50:42 +0100 | mc47 | had to reinstall cabal at least 10 times when starting to learn haskell, just to add a library |
2021-02-17 12:51:04 +0100 | <mc47> | still have no idea how to use it |
2021-02-17 12:56:03 +0100 | <Solid> | everything always "just worked" for me (though I've always just used stack projects) |
2021-02-17 12:57:37 +0100 | <engblom> | I am looking at stack, and it looks like it would be something more similar to lein for Clojure |
2021-02-17 13:02:56 +0100 | materiyolo | (~materiyol@112.204.169.246) (Quit: WeeChat 2.9) |
2021-02-17 13:06:25 +0100 | codedmart | (~codedmart@149.28.9.205) (Ping timeout: 240 seconds) |
2021-02-17 13:07:53 +0100 | Hash | (~Hash@unaffiliated/hash) (Ping timeout: 272 seconds) |
2021-02-17 13:08:11 +0100 | xaltsc | (~xaltsc@unaffiliated/xaltsc) |
2021-02-17 13:12:59 +0100 | codedmart | (~codedmart@149.28.9.205) |
2021-02-17 13:17:32 +0100 | Hash | (~Hash@unaffiliated/hash) |
2021-02-17 13:19:54 +0100 | ChubaDuba | (~ChubaDuba@37.112.231.37) |
2021-02-17 13:21:41 +0100 | ChubaDuba | (~ChubaDuba@37.112.231.37) (Client Quit) |
2021-02-17 13:38:26 +0100 | cfricke | (~cfricke@unaffiliated/cfricke) (Ping timeout: 264 seconds) |
2021-02-17 13:48:23 +0100 | Liskni_si | doesn't donate a lot either |
2021-02-17 13:48:48 +0100 | <Liskni_si> | my excuse is that I come from an eastern european country, so my time is more valuable than my money :-/ |
2021-02-17 13:49:44 +0100 | <Liskni_si> | but it's just an excuse, I probably have more money than most Americans do, but I only have it because I don't spend it :-) |
2021-02-17 13:50:29 +0100 | idhugo_ | (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Remote host closed the connection) |
2021-02-17 13:50:53 +0100 | idhugo_ | (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) |
2021-02-17 14:07:18 +0100 | ttmx | (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) |
2021-02-17 14:09:19 +0100 | geekosaur | (82650c7a@130.101.12.122) |
2021-02-17 14:13:56 +0100 | thc202 | (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds) |
2021-02-17 14:16:28 +0100 | <Liskni_si> | (and by that I mean merely that I don't have debt) |
2021-02-17 14:20:01 +0100 | thc202 | (~thc202@unaffiliated/thc202) |
2021-02-17 14:23:00 +0100 | <ttmx> | Heyo, I'm here once again! |
2021-02-17 14:23:59 +0100 | drl | (~l@2600:1700:8360:3870:bda8:8b17:f375:29f4) |
2021-02-17 14:30:14 +0100 | drl | (~l@2600:1700:8360:3870:bda8:8b17:f375:29f4) (Quit: Leaving) |
2021-02-17 14:33:22 +0100 | geekosaur | (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
2021-02-17 14:38:11 +0100 | <Solid> | hi :) |
2021-02-17 14:41:30 +0100 | geekosaur | (82650c7a@130.101.12.122) |
2021-02-17 14:56:58 +0100 | geekosaur22 | (82650c7a@130.101.12.122) |
2021-02-17 15:00:22 +0100 | geekosaur | (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
2021-02-17 15:00:33 +0100 | geekosaur22 | geekosaur |
2021-02-17 15:12:11 +0100 | <ttmx> | geekosaur! You here? |
2021-02-17 15:12:27 +0100 | <geekosaur> | partially |
2021-02-17 15:38:48 +0100 | <ttmx> | Did you see my screenshot from yesterday? :D |
2021-02-17 15:39:34 +0100 | <ttmx> | And unrelated, but I have a script that whenever I change song, it outputs a new line, is there any way to use that on the xmobar? |
2021-02-17 15:48:31 +0100 | <Solid> | xmobar has a `CommandReader' plugin |
2021-02-17 15:48:46 +0100 | <Liskni_si> | and there's also https://github.com/jaor/xmobar/blob/master/examples/xmonadpropwrite.hs |
2021-02-17 15:52:41 +0100 | geekosaur | (82650c7a@130.101.12.122) (Quit: Connection closed) |
2021-02-17 15:53:26 +0100 | thc202 | (~thc202@unaffiliated/thc202) (Ping timeout: 240 seconds) |
2021-02-17 15:53:51 +0100 | thc202 | (~thc202@unaffiliated/thc202) |
2021-02-17 16:08:45 +0100 | idhugo_ | (~idhugo@80-62-117-86-mobile.dk.customer.tdc.net) (Ping timeout: 246 seconds) |
2021-02-17 16:33:49 +0100 | <ttmx> | I seemingly can't find docs for the commandreader? Solid |
2021-02-17 16:33:53 +0100 | <ttmx> | Any chance I could get a link? |
2021-02-17 16:47:33 +0100 | eb0t_ | (~eblip@unaffiliated/eblip) (Read error: Connection reset by peer) |
2021-02-17 16:47:38 +0100 | def_jam | (~eblip@unaffiliated/eblip) (Read error: Connection reset by peer) |
2021-02-17 16:49:02 +0100 | eb0t_ | (~eblip@unaffiliated/eblip) |
2021-02-17 16:49:22 +0100 | def_jam | (~eblip@unaffiliated/eblip) |
2021-02-17 17:31:58 +0100 | idhugo_ | (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) |
2021-02-17 17:35:15 +0100 | <ttmx> | Can I set a different "active" color for each one of the workspace icons? |
2021-02-17 17:47:35 +0100 | nomeata | (~jojo@dslb-002-203-232-155.002.203.pools.vodafone-ip.de) |
2021-02-17 17:54:19 +0100 | <Liskni_si> | sure, ppWhatever are functions that take workspace names and then possibly add stuff to it, so you can match on the workspace name and use different colors |
2021-02-17 17:54:33 +0100 | nomeata | (~jojo@dslb-002-203-232-155.002.203.pools.vodafone-ip.de) (Quit: Client exiting) |
2021-02-17 18:00:03 +0100 | hexo | (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection) |
2021-02-17 18:00:27 +0100 | hexo | (~hexo@gateway/tor-sasl/hexo) |
2021-02-17 18:13:29 +0100 | geekosaur | (82650c7a@130.101.12.122) |
2021-02-17 18:26:48 +0100 | malook | (~Thunderbi@2a02:9b0:4000:9581:d59d:c621:4a4d:7d75) |
2021-02-17 18:31:25 +0100 | seschwar | (~seschwar@unaffiliated/seschwar) |
2021-02-17 18:32:16 +0100 | malook | (~Thunderbi@2a02:9b0:4000:9581:d59d:c621:4a4d:7d75) (Quit: malook) |
2021-02-17 18:34:45 +0100 | idhugo_ | (~idhugo@80-62-117-97-mobile.dk.customer.tdc.net) (Ping timeout: 264 seconds) |
2021-02-17 18:46:36 +0100 | <Solid> | ttmx: https://github.com/jaor/xmobar/blob/master/doc/plugins.org#commandreader-pathtoprogram-alias |
2021-02-17 18:50:44 +0100 | <ttmx> | Thank you! |
2021-02-17 18:51:00 +0100 | <ttmx> | Can I not give it arguments |
2021-02-17 18:51:02 +0100 | <ttmx> | ? |
2021-02-17 18:52:20 +0100 | <Solid> | I'm not sure how it starts that program; depending on that you may just get away with "my-program --foo" |
2021-02-17 18:54:41 +0100 | <geekosaur> | looking at that link I'd guess you need to wrap it in a script |
2021-02-17 18:54:53 +0100 | <Solid> | or that yes |
2021-02-17 18:55:46 +0100 | <ttmx> | And does the commandreader restart the program if it exits? |
2021-02-17 18:55:51 +0100 | <ttmx> | Its such little documentation :( |
2021-02-17 18:56:11 +0100 | <geekosaur> | about par for xmobar >.> there are reasons I don't run it |
2021-02-17 18:56:55 +0100 | <Solid> | ttmx: no it doesn't |
2021-02-17 18:57:17 +0100 | <Solid> | if the program dies it displays "EXITED" :) |
2021-02-17 18:57:57 +0100 | <geekosaur> | so your script will need to run it in a loop, apparently |
2021-02-17 18:58:02 +0100 | <ttmx> | Uploaded file: https://uploads.kiwiirc.com/files/babda45e4fa793cbf07e97677b6b8f00/image.png |
2021-02-17 18:58:09 +0100 | <ttmx> | I just want this but with no refresh rate ree |
2021-02-17 18:58:19 +0100 | <ttmx> | Which is what my script does lol |
2021-02-17 18:58:27 +0100 | <ttmx> | Is there a module that runs it in a loop |
2021-02-17 18:58:28 +0100 | <ttmx> | ? |
2021-02-17 18:58:29 +0100 | <Solid> | geekosaur: the newer commands are better documented :/ |
2021-02-17 19:00:12 +0100 | <Liskni_si> | would be a nice weekend project for someone who wants to learn a bit of Haskell to rewrite xmobar's mpris plugin to listen on the bus instead of polling |
2021-02-17 19:00:27 +0100 | <ttmx> | I got it to work, just a little weird |
2021-02-17 19:00:32 +0100 | <Liskni_si> | obviously just hacking something together with playerctl real quick is way easier |
2021-02-17 19:00:42 +0100 | <ttmx> | Which is what I did :P |
2021-02-17 19:00:52 +0100 | <Liskni_si> | but, you know, "meaningful contributions" and all that :-/ |
2021-02-17 19:00:57 +0100 | <ttmx> | Yesyes :P |
2021-02-17 19:01:15 +0100 | <ttmx> | I'm up for it of someone's hand is cold and wants to hold mine |
2021-02-17 19:11:19 +0100 | <Solid> | maybe it's time for me to learn what a dbus is |
2021-02-17 19:12:39 +0100 | <geekosaur> | a poorly thought out local messaging interface. sadly, it's what we have to work with, not something more sensible |
2021-02-17 19:14:24 +0100 | <geekosaur> | https://github.com/geekosaur/xmonad.hs/blob/pyanfar/xmonad.hs#L281-L291 |
2021-02-17 19:15:24 +0100 | <geekosaur> | (I suspect the utf8 decode changes after Liskni_si's recent work lands, I'll figure out how then :) |
2021-02-17 19:16:30 +0100 | ttmx | (5e3ee76f@gateway/web/cgi-irc/kiwiirc.com/ip.94.62.231.111) (Ping timeout: 265 seconds) |
2021-02-17 19:19:21 +0100 | <geekosaur> | I have no code for listening on dbus since all I need is the send side |
2021-02-17 19:19:41 +0100 | <geekosaur> | but there's a dbus package that should support both and have examples (one hopes…) |
2021-02-17 19:21:06 +0100 | <Liskni_si> | geekosaur: well you'll just drop the decodeString and everything will work as always |
2021-02-17 19:21:42 +0100 | <geekosaur> | that's how it looks to me but I'm not quite certain the dbus package is doing the sane thing either |
2021-02-17 19:22:33 +0100 | <Liskni_si> | shouldn't really matter but feel free to dig as deep as you wish :-) |
2021-02-17 19:25:21 +0100 | ADG1089__ | (~aditya@122.163.133.103) |
2021-02-17 19:28:53 +0100 | <Solid> | aha so one would basically only have to match on a certain "this thing has changed" signal and then yell at the monitor to update itself? |
2021-02-17 19:31:21 +0100 | <geekosaur> | I don't know for certain how you'd integrate this with xmobar but I'd imagine a thread listening on dbus and updating an MVar and the monitor checking the MVar every so often |
2021-02-17 19:33:03 +0100 | <geekosaur> | or a Chan but then the monitor will have to deal with multiple updates |
2021-02-17 19:33:31 +0100 | <Liskni_si> | in xmobar plugins already run in their own threads |
2021-02-17 19:33:58 +0100 | <Liskni_si> | and they are passed a function that writes into a TVar that the main thread then reads and redraws |
2021-02-17 19:34:21 +0100 | <geekosaur> | oh, so it already just about does the right thing :) |
2021-02-17 19:34:31 +0100 | <Liskni_si> | there's absolutely no need to invent anything fancy, just write a function that listens on dbus and calls an action whenever anything changes |
2021-02-17 19:35:42 +0100 | <geekosaur> | there may even be examples of listening on dbus in there (that mpris2 monitor may be an example) |
2021-02-17 19:36:36 +0100 | <AlexNevesky> | geekosaur: could u take a look at my config and see how i would implement ewmh desktops as i have no idea what im doing wrong? |
2021-02-17 19:37:00 +0100 | <geekosaur> | @where paste |
2021-02-17 19:37:00 +0100 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
2021-02-17 19:37:19 +0100 | <Solid> | Liskni_si: just trying to get a high-level understanding of how this would work :) |
2021-02-17 19:37:20 +0100 | <Liskni_si> | the existing mpris2 only polls, but xmobar does have a listening dbus thread somewhere else |
2021-02-17 19:37:51 +0100 | <AlexNevesky> | https://gitlab.com/brttmsn/dotfiles/-/blob/master/.xmonad/xmonad.hs -- This is my current xmonad config. Everytime i put ewmh down where the documentation says i get an error |
2021-02-17 19:38:03 +0100 | <Liskni_si> | Solid: yeah, I'm happy to provide highlevel explanations :-) |
2021-02-17 19:38:21 +0100 | <Solid> | I feel like a hack sometimes for not knowing these basics things :/ |
2021-02-17 19:38:40 +0100 | <AlexNevesky> | i really need to sit down a couple of days a week and learn haskell |
2021-02-17 19:39:05 +0100 | <Solid> | in reality I'm just a mathematician who realized that if he wrote maths in _just_ the right way it compiles and does useful things =) |
2021-02-17 19:39:11 +0100 | <Liskni_si> | Solid: don't worry, I know about dbus but I know little about lenses |
2021-02-17 19:39:22 +0100 | <Solid> | haha |
2021-02-17 19:40:00 +0100 | <Liskni_si> | (was listening to a podcast from 2013 with ekmett today while washing the dishes, so now I know a bit more, though) |
2021-02-17 19:40:30 +0100 | <Liskni_si> | made me wonder how I managed to do Haskell for so long while avoiding them |
2021-02-17 19:41:24 +0100 | <Solid> | that is quite a feat |
2021-02-17 19:41:33 +0100 | <Solid> | but it's better to underuse than to overuse lenses tbh |
2021-02-17 19:41:58 +0100 | <Solid> | though that feeling when you finally find a use for `<<.=' is amazing as well :> |
2021-02-17 19:42:07 +0100 | <Solid> | AlexNevesky: `xmonad $ ewmh $ docks defaults' |
2021-02-17 19:42:24 +0100 | <geekosaur> | AlexNevesky, I think you want: xmonad $ ewmh . docks defaults { |
2021-02-17 19:42:39 +0100 | <geekosaur> | hm, that's possible too |
2021-02-17 19:42:52 +0100 | <Liskni_si> | do we have "xmonad $ ewmh . docks defaults" anywhere in the docs, btw? |
2021-02-17 19:43:15 +0100 | <AlexNevesky> | no |
2021-02-17 19:43:48 +0100 | <Liskni_si> | Solid: do you study maths or cs btw? |
2021-02-17 19:43:53 +0100 | <AlexNevesky> | Solid: thanks that worked. No errors or kickbackss |
2021-02-17 19:44:18 +0100 | <Solid> | Liskni_si: we have `main = xmonad $ ewmh def{ handleEventHook ...' |
2021-02-17 19:44:21 +0100 | <Solid> | which is close enough |
2021-02-17 19:44:24 +0100 | <Solid> | (I think) |
2021-02-17 19:44:40 +0100 | <AlexNevesky> | Anyone have a good online resource for learning haskell? |
2021-02-17 19:44:59 +0100 | <Solid> | Liskni_si: I study maths; I guess that's why I like haskell so much :> |
2021-02-17 19:45:57 +0100 | <Liskni_si> | oh |
2021-02-17 19:46:08 +0100 | <geekosaur> | @where cis194 |
2021-02-17 19:46:08 +0100 | <lambdabot> | https://www.seas.upenn.edu/~cis194/spring13/lectures.html |
2021-02-17 19:46:19 +0100 | <Liskni_si> | AlexNevesky: "learn you a haskell for great good" seemed nice some time ago |
2021-02-17 19:46:37 +0100 | <geekosaur> | but you really need to find exercises somewhere |
2021-02-17 19:46:39 +0100 | <Liskni_si> | (and then erlang counterpart was awesome, too) |
2021-02-17 19:46:43 +0100 | <geekosaur> | (for LYAH) |
2021-02-17 19:46:59 +0100 | <Liskni_si> | (if your brain needs exercises, that is) |
2021-02-17 19:51:16 +0100 | <AlexNevesky> | i just wanna learn haskell as xmonad is a wonderful window manager and my favorite by far and it sucks that i cant resolve certain issues by myself |
2021-02-17 19:51:51 +0100 | <AlexNevesky> | like if u look towards the endings of my keybindgs i had to write out each command to switch to the corresponding workspace and each command to move windows to that corresponding workspace |
2021-02-17 19:52:00 +0100 | <AlexNevesky> | all b/c i dont know how to combine the commands |
2021-02-17 19:52:42 +0100 | <AlexNevesky> | https://paste.tomsmeding.com/PJvpRZ23 -- this is what im talking about |
2021-02-17 19:57:39 +0100 | <geekosaur> | did you see my cis194 link earlier? byorgey contributed that to the Haskell community some years back |
2021-02-17 19:58:38 +0100 | <geekosaur> | as for combining things, in xmonad <+> works just about anywhere except layoutHooks |
2021-02-17 19:58:44 +0100 | <geekosaur> | but it's nonstandard |
2021-02-17 19:59:20 +0100 | <AlexNevesky> | yes i did. im going to work over that and learn some haskell |
2021-02-17 19:59:21 +0100 | <geekosaur> | you'd use `<>` within `windows` and `>>` for keybindings and "command" hooks, for example |
2021-02-17 20:00:13 +0100 | <geekosaur> | `windows` is kinda like running a manageHook on the focused window on the fly |
2021-02-17 20:03:15 +0100 | ADG1089__ | (~aditya@122.163.133.103) (Quit: Konversation terminated!) |
2021-02-17 20:03:28 +0100 | tremon | (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) |
2021-02-17 20:05:42 +0100 | geekosaur | (82650c7a@130.101.12.122) (Ping timeout: 240 seconds) |
2021-02-17 20:25:41 +0100 | geekosaur | (82650c7a@130.101.12.122) |
2021-02-17 20:52:26 +0100 | ADG1089__ | (~aditya@122.163.133.103) |
2021-02-17 21:00:45 +0100 | <Liskni_si> | good news: dons recovered password to the @xmonad twitter account and passed it to me, so we can use that media channel as well now :-) |
2021-02-17 21:04:47 +0100 | <geekosaur> | "yay" not that I've much interest in twitter |
2021-02-17 21:05:10 +0100 | <geekosaur> | (I was on it, a long time ago) |
2021-02-17 21:06:04 +0100 | <Liskni_si> | there are some followers so it's good for announcements and the occassional retweet of someone's nice screenshot or config or blogpost, or, perhaps, github sponsors :-) |
2021-02-17 21:27:09 +0100 | ADG1089__ | (~aditya@122.163.133.103) (Quit: Konversation terminated!) |
2021-02-17 21:51:13 +0100 | <geekosaur> | hm. I need to clean this stuff up and then have someone willing to use cabal test it. preferably without an SSD in the mix so I can see if it's actually doing unnecessary work >.> |
2021-02-17 21:51:48 +0100 | <geekosaur> | (it's taking 9 seconds to mod-q here, which seems too long for what should be a no-op) |
2021-02-17 21:54:01 +0100 | <Liskni_si> | (my "make" which does stack build and stack exec ghc takes 1.2 secs, but I have both an SSD and enough memory to not need an SSD in the first place) |
2021-02-17 21:57:09 +0100 | <geekosaur> | hrm. same amount of time if I touch xmonad.hs :( |
2021-02-17 22:02:36 +0100 | <geekosaur> | well. it knows the difference between a rebuild and not a rebuild, but takes about the same amount of time for both. so I guess most of it is spent on the build plan :/ |
2021-02-17 22:06:02 +0100 | geekosaur | (82650c7a@130.101.12.122) (Quit: Connection closed) |
2021-02-17 22:06:19 +0100 | geekosaur | (82650c7a@130.101.12.122) |
2021-02-17 22:08:45 +0100 | ericsagn1 | (~ericsagne@2405:6580:0:5100:f37e:89b0:6afc:b223) (Ping timeout: 272 seconds) |
2021-02-17 22:18:02 +0100 | xaltsc | (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 264 seconds) |
2021-02-17 22:20:39 +0100 | ericsagn1 | (~ericsagne@2405:6580:0:5100:39c8:7a81:4ef5:3dca) |
2021-02-17 22:40:45 +0100 | mc47 | (~yecinem@89.246.239.190) (Remote host closed the connection) |
2021-02-17 22:55:30 +0100 | geekosaur | (82650c7a@130.101.12.122) (Quit: Connection closed) |
2021-02-17 23:02:33 +0100 | xsteve | (~user@217-149-162-201.nat.highway.telekom.at) |
2021-02-17 23:17:18 +0100 | xsteve | (~user@217-149-162-201.nat.highway.telekom.at) (Remote host closed the connection) |
2021-02-17 23:20:45 +0100 | tremon | (~aschuring@217-63-61-89.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
2021-02-17 23:35:17 +0100 | seschwar | (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
2021-02-17 23:53:22 +0100 | AlexNevesky | (~brtt@2600:8804:8689:3f00::2395) (Quit: WeeChat 3.0) |
2021-02-17 23:55:23 +0100 | AlexNevesky | (~brtt@2600:8804:8689:3f00::2395) |