Home liberachat/#xmonad: Logs Calendar

Logs on 2024-12-22 (liberachat/#xmonad)

03:43:43 × td_ quits (~td@i53870903.versanet.de) (Ping timeout: 244 seconds)
03:45:39 td_ joins (~td@i5387092A.versanet.de)
04:04:08 L29Ah parts (~L29Ah@wikipedia/L29Ah) ()
06:15:53 NickA joins (~NickA@2603:6011:f7f0:9e00:e7:6e67:d057:ffe9)
06:34:12 jaava joins (~nick@syn-076-035-209-158.res.spectrum.com)
07:39:39 × jaava quits (~nick@syn-076-035-209-158.res.spectrum.com) (Quit: Lost terminal)
07:50:40 × NickA quits (~NickA@2603:6011:f7f0:9e00:e7:6e67:d057:ffe9) (Ping timeout: 240 seconds)
08:12:46 <Digit> i'm really rusty on xmonad. updting my config from 0.13, on about 4th attempt, up to over 30 versioned saves this time, and still feels less than quarter the way there. so many little woopsies, like last one, a mere missing comma, sent me chasing errors, adding more to error hiding beneath that missing comma. XD many more moments of that... but what joy when figuring it out, and it compiles. :) :) :) <3 xmonad [again]. :)
08:30:05 jaava joins (~nick@syn-076-035-209-158.res.spectrum.com)
08:33:56 <jaava> hey folks is there a module that I can use to report only one key press? my audio controls are weird and I'm pretty sure it's because the xmonad keypress to call "amixer" is getting called for as long as the button is pressed
08:35:10 <jaava> so i could map it with the super key, but I don't want to do that. or I could program a manage hook so that the message is sent on key release, but that sounds like a lot of work so it would take a good amount of research
08:46:16 × jaava quits (~nick@syn-076-035-209-158.res.spectrum.com) (Quit: Lost terminal)
08:47:54 <geekosaur> https://github.com/xmonad/xmonad/blob/master/src/XMonad/Main.hs#L286-L292 we run on the KeyPress event, which is sent when the key is first pressed. there is no event for a key being held down, nor is KeyPress continuously sent while it is held.
08:47:58 jaava joins (~nick@syn-076-035-209-158.res.spectrum.com)
08:48:21 <geekosaur> key repeat is a thing, but it's at a higher level protocol than xmonad uses
08:49:50 × jaava quits (~nick@syn-076-035-209-158.res.spectrum.com) (Client Quit)
08:50:17 <geekosaur> uh, are you here or not?
08:55:34 jaava joins (~nick@syn-076-035-209-158.res.spectrum.com)
09:03:45 × jaava quits (~nick@syn-076-035-209-158.res.spectrum.com) (Quit: Lost terminal)
09:22:55 L29Ah joins (~L29Ah@wikipedia/L29Ah)
10:23:59 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
10:38:25 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
12:13:20 <liskin> geekosaur: you sure about the repeat? I think I can open a couple dozen terminals simply by holding the keys
12:13:29 <liskin> Afk atm though
12:24:02 <Digit> interesting behaviour noticed, after i changed my tmux scratchpad from xterm to st, recompiled and restarted, the keybind still brought my still running xterm with its tmux, until killed. ... nice feature. someone make it like that intentionally?
12:56:49 × redgloboli quits (~redglobol@user/redgloboli) (Quit: ...enter the matrix...)
13:38:45 × ft quits (~ft@p508db070.dip0.t-ipconnect.de) (Quit: leaving)
13:38:57 ft joins (~ft@p508db070.dip0.t-ipconnect.de)
13:40:34 × ft quits (~ft@p508db070.dip0.t-ipconnect.de) (Client Quit)
13:40:45 ft joins (~ft@p508db070.dip0.t-ipconnect.de)
13:52:57 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
14:11:55 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
14:26:57 × Digit quits (~user@user/digit) (Ping timeout: 265 seconds)
14:51:08 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
15:45:57 <geekosaur> huh. I thought you had to be doing translation for that to work, but we trigger on keycodes
15:46:51 <geekosaur> but that means we need keybounce support in core (require a KeyRelease for every KeyPress before registering a new KeyPress)
15:47:35 Digit joins (~user@user/digit)
16:11:07 L29Ah still uses https://github.com/l29ah/xmonad-config/blob/master/patches/xmonad-check-repeat.patch
16:13:25 <geekosaur> Digit, yes, that's intentional, if the window still matches the ManageHook it will continue to be used
16:13:53 <geekosaur> although it may also mean you forgot to update the ManageHook part of the scratchpad definition
16:18:55 × yaslam quits (~yaslam@user/yaslam) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
16:19:09 yaslam joins (~yaslam@user/yaslam)
16:36:48 yaslam_ joins (~yaslam@user/yaslam)
16:37:47 × yaslam_ quits (~yaslam@user/yaslam) (Client Quit)
16:38:07 yaslam_ joins (~yaslam@user/yaslam)
16:46:47 × yaslam_ quits (~yaslam@user/yaslam) (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
16:47:51 yaslam_ joins (~yaslam@user/yaslam)
17:08:00 <liskin> Fwiw I consider the repeating a feature
17:08:11 <liskin> :-D
17:08:34 × yaslam quits (~yaslam@user/yaslam) (Ping timeout: 252 seconds)
17:09:53 <geekosaur> Digit, note that if you want to do that deliberately, that's what className and appName are for and well-behaved X applications allow you to set them on the command line specifically for this kind of matching
17:10:08 <geekosaur> (one point that I think is a lost cause under Wayland, sadly)
17:13:33 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Ping timeout: 244 seconds)
18:11:21 <Solid> liskin: maybe an additional xconfig flag is in order; it does happen sometimes that I open 20 terminals by accident because of fast key repeat :)
18:22:16 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
18:27:03 ChubaDuba joins (~ChubaDuba@176.213.35.185)
19:08:37 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
19:09:05 ash3en joins (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207)
19:12:04 × ash3en quits (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Client Quit)
19:14:46 × mkoskar quits (~mkoskar@user/mkoskar) (Ping timeout: 252 seconds)
19:21:03 mkoskar joins (~mkoskar@user/mkoskar)
19:21:21 <Digit> geekosaur: maybe after 30 years of development wayland will get to the feature set where X was when it was decreed unmaintainable. :3
19:26:29 <L29Ah> Solid: iirc liskin rejected the repeat-optionalizing patch because muh xmonad core complexity
19:26:57 × ChubaDuba quits (~ChubaDuba@176.213.35.185) (Quit: WeeChat 4.4.2)
19:32:36 <geekosaur> Digit: I think this aspect is doomed. Neither Gnume nor KDE makes use of it, so their toolkits have no reason to provide it
19:32:57 <geekosaur> They do under X11 because it's specified by X11's ICCCM… which has no Wayland counterpart
19:33:53 <geekosaur> And none of the compositors that would make use of it have enough "market share" to affect things
19:57:52 ChubaDuba joins (~ChubaDuba@176.213.35.185)
20:01:42 × Solitary quits (~Solitary@user/solitary) (Quit: All work and no play makes Jack a dull boy.)
20:06:16 Solitary joins (~Solitary@user/solitary)
20:44:58 × ChubaDuba quits (~ChubaDuba@176.213.35.185) (Quit: WeeChat 4.4.2)
22:28:22 <liskin> L29Ah: hm, did I? :-(
22:29:23 <liskin> If github is accurate and it's 8 years old, I wasn't an xmonad maintainer back then
22:29:52 <liskin> (not that I'm much of one now)
22:32:02 <L29Ah> alright, you can get it in now then :>
22:32:40 <liskin> :-)

All times are in UTC on 2024-12-22.