2025-02-16 02:42:45 +0100 | alp | (~alp@2001:861:8ca0:4940:d06c:c4cf:d838:81ae) (Ping timeout: 248 seconds) |
2025-02-16 09:59:00 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en |
2025-02-16 10:04:19 +0100 | ash3en | (~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Remote host closed the connection) |
2025-02-16 10:07:11 +0100 | Digit | (~user@user/digit) (Read error: Connection reset by peer) |
2025-02-16 10:07:50 +0100 | Digit | (~user@user/digit) Digit |
2025-02-16 10:42:43 +0100 | alp | (~alp@2001:861:8ca0:4940:c79:76f1:1692:8b70) |
2025-02-16 11:39:43 +0100 | alp | (~alp@2001:861:8ca0:4940:c79:76f1:1692:8b70) (Ping timeout: 268 seconds) |
2025-02-16 11:48:17 +0100 | coldpress | (~coldpress@72.136.212.35.bc.googleusercontent.com) (Ping timeout: 265 seconds) |
2025-02-16 11:51:57 +0100 | coldpress | (~coldpress@72.136.212.35.bc.googleusercontent.com) coldpress |
2025-02-16 11:59:12 +0100 | jaava | (~nick@syn-076-035-209-158.res.spectrum.com) |
2025-02-16 12:01:25 +0100 | <jaava> | Hello. I've been using xmonad for a little while and I like it. I'm trying to solve a problem that I have but I have no experience with Haskell and I'm having a really hard time despite trying to learn how to solve this problem for a week or so. I'm not asking anyone to write anything for me, but some pointers? |
2025-02-16 12:05:14 +0100 | <jaava> | So I have a keymap that takes Mod+F2 and does volume down and Mod+F3 as volume up. I want to remove the Mod so that I can just press up and down. The problem with that is that when I press the key, my volume change command gets called several times while I am holding the button. So my solution is to create a function that takes the spawn function as an instance and runs System.CPUTime.getCPUTime and checks |
2025-02-16 12:05:21 +0100 | <jaava> | if 15ms has passed since the last press. But coming from a procedural language background implementing this idea in haskell is confusing me |
2025-02-16 12:36:22 +0100 | <Leary> | jaava: This shouldn't be anything unique to xmonad; do you not have exactly the same issue with other keys in other programs? I suggest you configure autorepeat for your system, e.g. with `xset`. You can adjust the delay or turn it off for certain keys. |
2025-02-16 12:59:10 +0100 | alp | (~alp@2001:861:8ca0:4940:7b11:c632:5243:a849) |
2025-02-16 13:00:23 +0100 | <jaava> | It's not an issue with xmonad no. It's just that xmonad doesn't spawn my volume up script until I press Windows+F3, but if I press F3 alone then as long as I am holding that button the script gets called. This isn't an issue for any other applications. I just have autorepeat settings as default |
2025-02-16 13:01:34 +0100 | Miroboru | (~myrvoll@178-164-114.82.3p.ntebredband.no) (Ping timeout: 244 seconds) |
2025-02-16 13:18:42 +0100 | Miroboru | (~myrvoll@178-164-114.82.3p.ntebredband.no) Miroboru |
2025-02-16 13:37:04 +0100 | jaava | (~nick@syn-076-035-209-158.res.spectrum.com) (Quit: Lost terminal) |
2025-02-16 17:58:21 +0100 | alp | (~alp@2001:861:8ca0:4940:7b11:c632:5243:a849) (Ping timeout: 268 seconds) |
2025-02-16 20:14:55 +0100 | alp | (~alp@2001:861:8ca0:4940:272d:ade:2d7a:3548) |