Home liberachat/#xmonad: Logs Calendar

Logs: liberachat/#xmonad

←Prev  Next→
Page 1 .. 326 327 328 329 330 331 332 333 334 335 336 .. 1847
184,663 events total
2021-11-13 19:20:28 catman joins (~catman@user/catman)
2021-11-13 19:22:09 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-13 19:42:47 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
2021-11-13 19:47:36 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-13 19:51:38 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 260 seconds)
2021-11-13 20:10:10 × noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!)
2021-11-13 20:25:25 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-13 20:49:07 <liskin> Solid: if all goes well Clemens will transfer X11-xft to the xmonad org in a couple hours
2021-11-13 20:49:15 <Solid> oh wow
2021-11-13 20:49:19 <Solid> that was fast
2021-11-13 20:49:24 <Solid> thanks for reaching out :)
2021-11-13 20:49:35 <liskin> it may take me a couple days until I get to setting up CI for testing and releases though
2021-11-13 20:50:05 <liskin> or someone else can do it, should be just a copypaste from X11 or xmonad mostly
2021-11-13 20:56:53 <liskin> hm, and those layout screenshots, I'm somewhat worried that it's not the best of ideas to add a couple dozens megabytes to the xmonad-web repo, but perhaps I'm just from a different century :-)
2021-11-13 20:57:23 <liskin> probably not a good idea to block this activity any further :-/
2021-11-13 21:01:40 <Solid> we could git-lfs them?
2021-11-13 21:02:25 noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513)
2021-11-13 21:04:27 <liskin> oh, yeah, I keep forgetting that thing exists
2021-11-13 21:05:14 <liskin> although it seems github pages doesn't do git-lfs :-/
2021-11-13 21:06:10 <liskin> I should've raised this concern early, and push hard for the screenshots to be simple rather than pretty
2021-11-13 21:06:18 <liskin> but then we might not have had any at all
2021-11-13 21:06:24 <liskin> because it would be boring
2021-11-13 21:06:32 guru joins (~guru@c-73-57-140-245.hsd1.fl.comcast.net)
2021-11-13 21:10:12 <geekosaur> we already did push for them to be simple rather than pretty
2021-11-13 21:10:16 guru is now known as etrigan63
2021-11-13 21:10:51 <geekosaur> they wanted to "rice them up" originally, we vetoed on the grounds that fancy backgrounds/xmobars/etc. draws attention away from the layouts that are supposed to be highlighted
2021-11-13 21:13:27 <liskin> I see, then we didn't push hard enough I guess :-)
2021-11-13 21:13:57 <etrigan63> Hi all.
2021-11-13 21:14:04 <geekosaur> œ
2021-11-13 21:15:04 <etrigan63> I have a question. Is there a way to assign layouts to monitors so that the desktops shown on the left monitor have a different selection of layouts from the right monitor?
2021-11-13 21:15:47 <geekosaur> https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Layout-PerScreen.html
2021-11-13 21:16:08 <geekosaur> only works if you can distinguish screens by size;p the layout has no access to screen information
2021-11-13 21:16:16 <etrigan63> I would like the layouts on mu left monitor to be reflectHoriz Tall + Full and on the right monitor be Tall + Full.
2021-11-13 21:16:44 <etrigan63> Both monitors are exactly the same size
2021-11-13 21:18:04 <geekosaur> the problem is, the layout has no idea what screen it's being run for. It only has access to the screen (physical) rectangle, so that's the only way it can use to distinguish what screen it's on
2021-11-13 21:19:48 <etrigan63> This is a pity. I love the tall layout for productivity, but I want the main window to be next to each other in the middle of my view. Qtile can do this but the fullscreen bug drives me nuts.
2021-11-13 21:21:20 <geekosaur> it might be possible to do something silly like steal one pixel from the side of one screen, so you can compare that way without losing a lot of space (the xrandr command should be capable of this)
2021-11-13 21:22:18 <liskin> I guess this is another usecase for the generic conditional layout(modifier)
2021-11-13 21:22:41 <liskin> I wish I could clone myself into a dozen :-/
2021-11-13 21:24:57 <etrigan63> Would it be possible to identfy the physical rectangle of each screen and then use that to assign layouts?
2021-11-13 21:25:33 <geekosaur> the rectangle only carries size information, not position
2021-11-13 21:25:55 <liskin> if that was true then NoBorders wouldn't work
2021-11-13 21:26:07 <liskin> the rectangle absolutely does carry the position as well
2021-11-13 21:26:08 <geekosaur> I specified "physical" to distinguish it from a RationalRect which carries only relative size information
2021-11-13 21:26:29 <liskin> AvoidStruts wouldn't work either
2021-11-13 21:26:35 <geekosaur> those are the window rectangles that the layout places within the screen rectangle
2021-11-13 21:27:26 <geekosaur> it woulld be more correct to say the rectangle is relative to a screen rectangle (0,0)-(w-1,h-1)
2021-11-13 21:27:41 <geekosaur> but carries no information about what position on the root window (0,0) corresponds to
2021-11-13 21:28:49 <geekosaur> this kinda follows from how xmonad places workspaces on monitors
2021-11-13 21:29:23 <liskin> not sure what you mean
2021-11-13 21:29:40 <liskin> both runLayout and redoLayout take a Rectangle, which is just x, y, w, h, in pixels
2021-11-13 21:29:51 <liskin> so that's what PerScreen has
2021-11-13 21:30:09 <liskin> and if one wanted to make a position-based PerScreen, it would be no problem
2021-11-13 21:30:21 <liskin> which is probably what etrigan63 should do
2021-11-13 21:40:54 <etrigan63> So would the x of the right screen be 3841 if my screeens are 3840x2160 each?
2021-11-13 21:43:20 <liskin> etrigan63: you can try putting rect_x instead of rect_width here: https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/PerScreen.hs#L65
2021-11-13 21:43:33 <liskin> and then use ifWider 3840
2021-11-13 21:43:41 <liskin> it's probably zero-based rather than one
2021-11-13 21:45:51 <etrigan63> So I would basically be forking this module to check for position of x instad of width? I am rather new to Haskell so forgive the simpleton questions.
2021-11-13 21:46:37 <liskin> yeah, you can either change it in your clone of xmonad-contrib or copy the file to ~/.xmonad/lib/XMonad/Layout/PerScreenPosition.hs
2021-11-13 21:46:49 <liskin> (or ~/.config/xmonad if you use xdg)
2021-11-13 21:51:46 <etrigan63> OK I will play around with that and if it works I will submit it for review.
2021-11-13 21:52:19 <etrigan63> Will I need to change the other bits so it doesn't confict with PerScreen?
2021-11-13 21:52:40 <liskin> just the module name at the top of the file
2021-11-13 21:53:12 × SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 268 seconds)
2021-11-13 21:53:49 <liskin> regarding submitting for review: there's https://github.com/xmonad/xmonad-contrib/pull/582 which should eventually replace PerScreen and IfMax and things like this, so I'm not sure if we want to add a layout that will be deprecated in favor of this other thing in the next release
2021-11-13 21:54:08 <liskin> but then… maybe it's good to home something now rather than the perfect solution later
2021-11-13 21:54:41 <liskin> we can decide later what to do
2021-11-13 22:00:28 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
2021-11-13 22:34:00 allbery_b joins (~geekosaur@xmonad/geekosaur)
2021-11-13 22:34:00 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-11-13 22:34:03 allbery_b is now known as geekosaur
2021-11-13 22:41:59 × obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 256 seconds)
2021-11-13 22:42:19 obimod joins (~obimod@gateway/vpn/pia/obimod)
2021-11-13 23:12:59 × mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection)
2021-11-13 23:22:35 × mvk quits (~mvk@2607:fea8:5cc3:e900::df92) (Ping timeout: 264 seconds)
2021-11-13 23:31:59 × seschwar quits (~seschwar@user/seschwar) (Quit: :wq)
2021-11-13 23:59:58 allbery_b joins (~geekosaur@xmonad/geekosaur)
2021-11-13 23:59:58 × geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b)))
2021-11-14 00:00:01 allbery_b is now known as geekosaur
2021-11-14 00:38:39 SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net)
2021-11-14 00:44:31 mvk joins (~mvk@2607:fea8:5cc3:e900::df92)
2021-11-14 01:01:23 Ocelot joins (~Ocelot@50-78-208-189-static.hfc.comcastbusiness.net)
2021-11-14 01:04:05 × Ocelot quits (~Ocelot@50-78-208-189-static.hfc.comcastbusiness.net) (Client Quit)
2021-11-14 01:06:26 <etrigan63[m]> When is the next release expected?
2021-11-14 01:25:57 <geekosaur> we haven't set a date yet. 0.17.0 just came out, after all, and since then we've not had much time to do anything
2021-11-14 01:29:26 ocelot joins (~ocelot@50-78-208-189-static.hfc.comcastbusiness.net)
2021-11-14 01:29:33 <geekosaur> and almost nobody has updated to it. even nix hasn't, because stackage hasn't released a new LTS yet and nix gets its haskell builds from stackage
2021-11-14 01:29:42 <geekosaur> I think maybe gentoo has 0.17.0
2021-11-14 01:32:20 <geekosaur> debian's haskell maintainers are mia, so they may never update. this may also affect ubuntu and derivatives (mint, etc.)
2021-11-14 01:43:26 <ocelot> I actually run Mint, technically, although I have the Debian testing repo added to my sources.list — and I know offhand that (as of ~a month and a half ago) neither Mint's own repos, nor Debian testing; nor any of the Ubuntu repos which are included under Mint's default list, for that matter, carry anything higher than (IIRC) 0.15.something. I installed via stack, literally because I had to.
2021-11-14 01:44:18 <geekosaur> xmonad core was still 0.15, only xmonad-contrib had an 0.16 release
2021-11-14 01:44:35 <ocelot> Yeah, that was it.
2021-11-14 01:45:02 <geekosaur> tbh I never looked at their distribution even when I was on mint, because as a dev I run from git
2021-11-14 01:45:59 <ocelot> Fair enough. It was still ridiculous how much I was missing from contrib, though—even on 0.16.
2021-11-14 01:46:20 <geekosaur> (I moved to ubuntu because the most recent mint release's installer crashed on me repeatedly when I tried to repartition to make space for mint on this originally Windows laptop)
2021-11-14 01:46:36 <geekosaur> yeh, it had been over 2 years and we built up a lot of new contribs
2021-11-14 01:47:44 <geekosaur> flip side, xmonad's core is stable enough that it's actually sane to run from git even though it controls interaction with your system :)
2021-11-14 01:49:05 <ocelot> Yeah, I hadn't really thought about it like that, but it makes sense. XD
2021-11-14 01:49:59 <ocelot> How many lines of code, roughly, is xmonad itself (excluding xmonad-contrib)?

All times are in UTC.