Home liberachat/#xmonad: Logs Calendar

Logs on 2024-06-19 (liberachat/#xmonad)

00:14:57 dysthesis joins (~dysthesis@user/dysthesis)
01:35:56 × dysthesis quits (~dysthesis@user/dysthesis) (Quit: dysthesis)
02:11:26 Leary joins (~Leary@user/Leary/x-0910699)
02:57:15 × td_ quits (~td@i53870936.versanet.de) (Ping timeout: 264 seconds)
02:59:00 td_ joins (~td@i53870921.versanet.de)
05:32:23 cfricke joins (~cfricke@user/cfricke)
05:49:57 <deebo> can i wrap my layout in something that would detect if the screen is portrait instead of landscape and rotates the layout 90 degrees clockwise?
05:55:05 <Leary> deebo: It unfortunately has some needless limitations, but X.L.PerScreen may suffice.
05:58:43 <haskellbridge> <iqubic (she/her)> Yeah... ifWider might work.
05:59:21 <deebo> yeah should be usable for me, thanks
05:59:54 <haskellbridge> <iqubic (she/her)> it would be something like "ifWider value layout (Mirror layout)"
06:01:10 <haskellbridge> <iqubic (she/her)> It's a little weird that "Mirror" is the way that you rotate 90 degrees, but that's how it is.
06:01:24 <haskellbridge> <iqubic (she/her)> Leary: Do you know why Mirror was chosen as the name for that?
06:02:19 <deebo> can't have the only barrier to entry being haskell
06:03:07 <haskellbridge> <iqubic (she/her)> Haskell is a good language.
06:05:31 <haskellbridge> <iqubic (she/her)> If my compositor (picom) allows for transparent windows, will XMonad be able to support that?
06:10:54 <Leary> Mirror transforms the layout by (conjugating) a (diagonal) reflection.
06:11:57 <Leary> I.e. it swaps the x and y axes for then input screen it gives the layout, then swaps them again for the window rects that come out.
06:12:02 <Leary> the*
06:13:42 <Leary> Re compositing, xmonad will neither know nor care.
06:15:32 <haskellbridge> <iqubic (she/her)> Right. I see.
06:17:01 <haskellbridge> <iqubic (she/her)> Rotating by 90 degrees would actually be a bit harder, because of reasons.
06:17:39 <haskellbridge> <iqubic (she/her)> I'm sure the math is possible, but I'm too tired to actually work out the equations and do the geometry.
06:44:09 <geekosaur> are you thinking of XMonad.Layout.Reflect maybe?
06:44:35 <haskellbridge> <iqubic (she/her)> Me?
06:44:45 <haskellbridge> <iqubic (she/her)> I was responding to deebo
06:45:02 <geekosaur> also there's a proper PerScreen waiting for a final review https://github.com/xmonad/xmonad-contrib/pull/813
09:09:56 rascasse joins (~rascasse@user/diep)
09:19:03 × ft quits (~ft@p3e9bcb39.dip0.t-ipconnect.de) (Quit: leaving)
10:28:28 × jeeeun8 quits (~jeeeun@78.40.148.178) (Quit: Ping timeout (120 seconds))
10:28:47 jeeeun8 joins (~jeeeun@78.40.148.178)
11:28:52 Viking667 joins (~user@user/Viking667)
11:30:23 <Viking667> I've got a strange problem, in that I can't (currently) get my mouse cursor to be consistent between windows and the root window. I've "include'd" XMonad.Util.Cursor, and I've set the default cursor to be xC_left_ptr, but over most windows I get a conventional pointer instead.
11:31:01 <Viking667> (at least, those that aren't entirely text windows, like tabbed/st/xterm)
11:31:11 <vrs> don't those set their own pointer styles?
11:31:19 <Viking667> <shrug>
11:32:02 <Viking667> All I know is that for Google Chrome and Emacs, I get a conventional pointer, as does twin.
11:32:51 <Viking667> I'm trying not to have to hack every single app via .Xdefaults individually.
11:35:05 <Viking667> tabbed "looks" like it uses what I specified, though over st I get a text cursor anyhow, due to it being a text window.
11:35:38 <Viking667> surf seems to use what I specify too. But Emacs ... yeah.
12:13:40 Viking667 disapparates
12:13:51 × Viking667 quits (~user@user/Viking667) (Quit: *+++ATH0)
12:23:23 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
12:36:58 × rascasse quits (~rascasse@user/diep) (Ping timeout: 256 seconds)
12:55:21 × Digit quits (~user@user/digit) (Ping timeout: 255 seconds)
13:07:35 Digit joins (~user@user/digit)
13:36:44 cfricke joins (~cfricke@user/cfricke)
14:13:48 Digitteknohippie joins (~user@user/digit)
14:15:07 × Digit quits (~user@user/digit) (Ping timeout: 260 seconds)
14:18:55 Digitteknohippie is now known as Digit
15:54:57 <geekosaur> @tell Viking667 apps normally inherit the pointer from the root, but many modern app toolkits override it using some variety of mouse cursor theme
15:54:57 <lambdabot> Consider it noted.
15:56:22 × cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
17:58:25 ft joins (~ft@p3e9bcb39.dip0.t-ipconnect.de)
18:29:59 Digitteknohippie joins (~user@user/digit)
18:31:16 × Digit quits (~user@user/digit) (Ping timeout: 246 seconds)
18:35:02 Digitteknohippie is now known as Digit
18:42:41 Digitteknohippie joins (~user@user/digit)
18:44:31 × Digit quits (~user@user/digit) (Ping timeout: 268 seconds)
19:09:29 × ml| quits (~ml|@user/ml/x-5298235) (Ping timeout: 268 seconds)
19:21:28 Digitteknohippie is now known as Digit
19:23:16 ml| joins (~ml|@user/ml/x-5298235)
20:05:06 <haskellbridge> <iqubic (she/her)> Geekosaur, do you know what mouse pointer is chosen when moving or resizing floating windows? Like, when I use Mod + left/right mouse button.
20:10:23 <geekosaur> XC_bottom_right_corner for resize (https://github.com/xmonad/xmonad/blob/master/src/XMonad/Operations.hs#L835) XC_fleur for move (https://github.com/xmonad/xmonad/blob/master/src/XMonad/Operations.hs#L820)
20:11:01 <haskellbridge> <iqubic (she/her)> Hmm... those don't seem to be available in the cursor font I'm using.
20:13:24 <haskellbridge> <iqubic (she/her)> Except, that it should be...
20:14:12 <geekosaur> many modern cursor fonts don't include many of the things in the basic X11 cursor font
20:14:51 <haskellbridge> <iqubic (she/her)> geekosaur: The font that I'm using should have those cursors. Is there some way I can test this?
20:16:23 <geekosaur> I think they not only have to be present but also present at the same index in the font
20:16:54 <haskellbridge> <iqubic (she/her)> What do you mean by "same index"?
20:17:02 <geekosaur> same position
20:17:21 <geekosaur> they're "characters" (X11 uses the same format for mouse and text fonts)
20:18:16 <haskellbridge> <iqubic (she/her)> Is there a way I can test my current cursor to see if it is compatible with what XMonad's doing?
20:18:23 <geekosaur> if your cursor font puts something on a different character than the predefined XC_* value, you may get nothing or something different or fallback to the built-in cuursor font
20:18:34 <geekosaur> not really
20:19:08 <geekosaur> aside from just trying it
20:19:53 <geekosaur> I know it works because the cursor font I'm using in MATE works with xmonad (that is, I get "red glass" cursors instead of the built-in cursors)
20:20:06 <haskellbridge> <iqubic (she/her)> Annoying... It's not working for me.
20:20:46 <haskellbridge> <iqubic (she/her)> But it's fine. I rarely use floating windows.
20:26:46 <haskellbridge> <iqubic (she/her)> "xsetroot -cursor_name fleur" and "xsetroot -cursor_name bottom_right_corner" both work for me. So IDK.
20:57:17 <haskellbridge> <iqubic (she/her)> xsetroot can set the cursors just fine, but XMonad can't. IDK what's up with that.
20:57:41 <haskellbridge> <iqubic (she/her)> I'm using Catppuccin Mocha Cursors with the Sapphire variant.
21:23:40 <haskellbridge> <iqubic (she/her)> From what I can see, this cursor font is being generated via xcursorgen and a bunch of PNGs for each cursor.
22:00:06 mekeor joins (~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3)
22:00:50 mekeor` joins (~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3)
22:03:25 × mekeor` quits (~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3) (Client Quit)
22:12:38 <geekosaur> I don't really know what to say at this point. I don't kknow a whole lot about modern cursor themes/fonts
22:14:44 <geekosaur> all I can say is https://imgur.com/m5WqknR.png (move cursor is at bottom right of IRC window on the left, and obviously "red glass" instead of X11's monochrome/black)
22:23:26 <haskellbridge> <iqubic (she/her)> I only move/resize floating windows once in a blue moon.
23:09:55 × mekeor quits (~user@2001:a61:24d2:9401:96ac:ce90:6d78:efe3) (Quit: you can always send me a memo via MemoServ :))
23:56:58 <haskellbridge> <iqubic (she/her)> How hard is it to set up an XPrompt? And can I use this as a drop-in replacement for dmenu's drun functionality?
23:57:35 <geekosaur> not quite drop-in, I think
23:57:55 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L240
23:58:10 <geekosaur> I guess that iss drop-in, actually
23:59:27 <geekosaur> you could use `def` if you don't want a custom `XPConfig`
23:59:33 <geekosaur> https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L342-L345 is mine
23:59:36 <haskellbridge> <iqubic (she/her)> what are mateRun, mateLogout, and mateShutdown?
23:59:56 <geekosaur> (don't copy the font setting, that's a hack for X11's weird behavior with hidpi screens)

All times are in UTC on 2024-06-19.