Home liberachat/#xmonad: Logs Calendar

Logs on 2023-07-29 (liberachat/#xmonad)

00:53:46 × Natch quits (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se) (Ping timeout: 245 seconds)
00:57:19 Natch joins (~natch@c-9e07225c.038-60-73746f7.bbcust.telenor.se)
01:36:36 <galactic_starfis> Curious, what's the word on Wayland progress? Anything new since the GH post?
02:16:41 × td_ quits (~td@i53870935.versanet.de) (Ping timeout: 245 seconds)
02:18:47 td_ joins (~td@i5387090D.versanet.de)
02:33:48 <galactic_starfis> On that note...
02:34:17 <galactic_starfis> Perhaps we could opt for setting a bounty with the sponsor money? Try and attract some attention...
02:36:31 <Hmmf> I thought there was no interest in a direct port. There is waymonad but the repo is rather calm.
02:42:42 × terrorjack quits (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
02:45:23 terrorjack joins (~terrorjac@2a01:4f8:c17:87f8::)
02:55:53 × ft quits (~ft@p3e9bc61e.dip0.t-ipconnect.de) (Ping timeout: 258 seconds)
02:57:28 ft joins (~ft@p4fc2a59a.dip0.t-ipconnect.de)
03:15:33 <zawaken> Yeah he's working on an eDSL or something, https://github.com/Plutonomicon/plutarch-core
03:15:48 <zawaken> before continuing work on waymonad
03:17:38 × mvk quits (~mvk@2607:fea8:5c9a:a600::1c6d) (Ping timeout: 244 seconds)
03:18:33 <zawaken> Las has a matrix room where updates are posted every now and then, but it hasn't been very active
03:19:35 <absta[m]> Maybe it is the fastest for someone to learn Rust and create a xmonad analog as compositor
03:54:50 × Hmmf quits (~Hmmf@2a01cb080e909300a88b4e9a24033aff.ipv6.abo.wanadoo.fr) (Quit: Client closed)
08:20:24 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
08:20:47 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
08:24:56 × hrberg quits (~quassel@171.79-160-161.customer.lyse.net) (Client Quit)
08:27:08 hrberg joins (~quassel@171.79-160-161.customer.lyse.net)
09:02:08 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Remote host closed the connection)
09:03:02 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Remote host closed the connection)
09:05:03 × Twily[m] quits (~twilypony@2001:470:69fc:105::a106) (Remote host closed the connection)
09:46:10 mc47 joins (~mc47@xmonad/TheMC47)
09:46:27 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
09:46:51 mc47 joins (~mc47@xmonad/TheMC47)
10:08:01 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
14:01:49 <liskin> I think the biggest blocker on our side is that someone would need to do the managing/mentoring/paperwork and nobody got capacity/skills to do that.
14:02:07 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
14:02:21 unclechu joins (~unclechu@2001:470:69fc:105::354)
14:03:19 <liskin> When I was setting up this whole Github sponsors thing I forgot to account for the (in retrospect obviously most likely) outcome that I'd need to get a day job anyway and that it'll burn me out completely. :-(
14:04:55 <liskin> Are there any reasonably good Rust libs/bindings to Wayland stuff? Like wlroots?
14:05:09 <liskin> Last time I checked it looked a bit sad.
14:06:37 <liskin> (I know a bit of Rust so if I get fired I might as well play with it a bit... But then maybe I should just pack my stuff onto a touring bicycle and leave civilization for a while instead. :-))
14:29:02 <zawaken> from my limited research, it seems Smithay on github might be something, but from a waycooler blog post from 2019, the creator of wlroots-rs and waycooler writes Smithay is very incomplete, but ofc it could have gotten a ton better in 4 years
14:29:22 <zawaken> waycooler is archived though :/
15:59:38 taman joins (~znc1@2a00:1098:82:30::94)
16:05:36 <taman> After changing the height of my xmobar, I see it take effect in xmobar. But not in xmonad, which ignores it. If I open a terminal, most of xmobar is hidden under the terminal. How do I fix this, please?
16:07:49 <vrs> e
16:07:56 <vrs> restarting xmonad should do it
16:08:26 <vrs> (usually mod-q)
16:09:55 <taman> vrs: unfortunately it did not
16:13:58 <vrs> mod-shift-space then?
16:17:17 <taman> Nothing happens. I can restart by restarting the X server, it doesn't change.
16:18:28 <vrs> do you have static gaps configured in your layout?
16:21:49 × liskin[m] quits (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle)
16:21:49 × unclechu quits (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle)
16:22:38 <taman> I have no idea :) How do I tell?
16:22:54 liskin[m] joins (~liskinmat@2001:470:69fc:105::768)
16:23:11 unclechu joins (~unclechu@2001:470:69fc:105::354)
16:24:57 <taman> I can paste my xmonad.hs ?
16:30:14 <vrs> use a pastebin but yes
16:34:36 <taman> Here you go, <https://paste.debian.net/1287316/>
16:34:44 <taman> thanks for looking at this
16:45:59 <vrs> yeah that's a static layout, the easy fix is to adjust the gap in your gaps layout from (U,15) to whatever you need now
16:48:13 <taman> Thanks, I'll try it...
16:49:05 <vrs> the flexible way is to use avoidStruts from X.M.ManageDocks (https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Hooks-ManageDocks.html)
16:51:42 <taman> No change :( I tried 'U, 50' and I've recompiled, which reported success, then 'xmonad --restart', but it's just the same.
16:52:00 <taman> I'll look at that link, thanks
16:52:02 <geekosaur> there you will need mod-shift-space because the type of your layout didn'[t change
16:52:23 <taman> oh! Now it works!
16:52:26 <geekosaur> and xmonad can't tell which things came from xmonad.hs and which from keybindings like mod-h etc.
16:52:56 <taman> Thanks, that's got me much further than I was!
16:53:28 <taman> Thanks vrs, geekosaur
16:54:43 <vrs> hth
18:13:00 mc47 joins (~mc47@xmonad/TheMC47)
18:35:06 <galactic_starfis> <absta[m]> "Maybe it is the fastest for..." <- At that rate, iirc there's already plenty of rust Wayland WMs out there... The appeal of XMonad for me is the Haskell...
19:52:14 hightower2 joins (~hightower@141-136-166-50.dsl.iskon.hr)
20:19:52 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
20:22:54 <zawaken> I think the only issue is that none of those are anywhere near as good as XMonad, I haven't tested most of them fully, but quite a few of them use the server/ctl type of configuration, maybe QTile could be something, as it supports wayland.
20:23:14 <zawaken> I might be a bit biased though
20:24:57 <MrElendig> qtile is close in that its also basically "write your own window manager" type of configuration
20:25:22 <zawaken> Yeah, I really dig that type of configuration
22:18:46 <absta[m]> galactic_starfish: one can make it call Haskell for window management.
22:20:05 <geekosaur> that's what waymonad tries to do with wlroots
22:20:52 <absta[m]> Hmm, does it? I thought they tried to write lots of compositor logic in rust as well.
22:21:35 <geekosaur> qtile seems like it'd be a poor choice for that because I'd expect it to be C++ (Qt) and binding C++ means dumbing it down to C (binding C++ directly is a recipe for madness and nonportability)
22:22:53 <geekosaur> wlroots is C. wlroots-rs was an attempted rewrite in rust iirc
22:23:21 <absta[m]> I wrote lots of typos duh
22:24:24 <absta[m]> I meant that waymonad looked like writing entire compositor server in Haskell.
22:24:30 <geekosaur> one thing about waymonad is it bundled an old wlroots and newer ones are significantly more stable
22:24:59 <absta[m]> I agree that qtile would be a poor choice.
22:25:38 <absta[m]> Gotta check how much logic one have to write with wlroots, hmm
22:26:00 <geekosaur> quite a lot; wlroots is quite minimal
22:27:27 <absta[m]> You mean one has to write lots of logic on top of wlroots right
22:28:02 <geekosaur> the Wayland way is that the compositor is the display server; wlroots is a minimal display server equivalent to an X11 display driver with compositing support, and you have to write everything that goes above it
22:30:01 <absta[m]> Yea, so I meant writing most of the logic in rust and calling haskell for window management.
22:30:34 <geekosaur> which dumps you back into rust not having done so well with that either
22:31:00 <geekosaur> whereas wlroots use is expanding and it's still worth looking into newer versions of it
22:32:51 <absta[m]> Hmm gotta see.
22:37:22 <geekosaur> may need a fair amount of work since APIs may have changed
22:37:53 <geekosaur> but waymonad's biggest problem was stability of the ancient wlroots it used
22:39:34 <geekosaur> hm, right, that's why I never poked at it. requires nix to build and this little laptop is too small for nix's disk usage
22:39:56 <geekosaur> maybe when the new laptop comes in
22:43:16 <absta[m]> Woah look at this: https://gitlab.freedesktop.org/wlroots/wlroots/-/tree/master/tinywl
22:43:38 <absta[m]> So you can make minimal compositor in 1000 lines in C
23:17:11 <zawaken> isn't qtile python?
23:17:38 <zawaken> pretty sure most if not all of it is python, but I guess there might be other things in the background though

All times are in UTC on 2023-07-29.