2022/06/08

2022-06-08 00:09:31 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 00:10:42 +0200moonsheep(~user@user/moonsheep)
2022-06-08 00:14:35 +0200 <moonsheep> How can I catch raw press/unpress events of my mod key? I tried the following event hook: https://paste.tomsmeding.com/1iwUP5Xo
2022-06-08 00:14:52 +0200 <moonsheep> But for some reason it doesn't seem to catch any keycode other than 23 (tab)
2022-06-08 00:19:11 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-06-08 00:20:52 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 00:23:11 +0200 <geekosaur> xmonad doesn't listen for keypresses as such. (really, you do not want it waking up on every single keypress/keyrelease event)
2022-06-08 00:23:57 +0200 <geekosaur> it sets "passive key grabs", where the server watches for specific key sequences (corresponding to the command keys you define) and wakes up xmonad when one of them matches
2022-06-08 00:24:30 +0200 <geekosaur> so pretty much the only time you should see a key event is when using something like Prompt or a SubMap or etc.
2022-06-08 00:24:33 +0200 <moonsheep> How can I set my modified key as one of these passive key grabs?
2022-06-08 00:24:43 +0200 <moonsheep> *modifier
2022-06-08 00:24:46 +0200 <geekosaur> define it in the keys list
2022-06-08 00:25:05 +0200 <geekosaur> note that this can lead to unexpected behavior
2022-06-08 00:25:14 +0200 <moonsheep> So if I'm using additionalKeys do I add it there with an action that does nothing?
2022-06-08 00:25:20 +0200 <geekosaur> with old style keys it'd be something like (0,xK_Super)
2022-06-08 00:25:36 +0200 <geekosaur> with additionalKeysP it'd be "<Super>"
2022-06-08 00:25:40 +0200chomwitt(~chomwitt@2a02:587:dc1f:5600:c2b2:8e31:c818:61b1) (Ping timeout: 248 seconds)
2022-06-08 00:26:04 +0200 <geekosaur> and yes, if you don't actually want an action then you use `return ()` as the action
2022-06-08 00:26:37 +0200 <moonsheep> So then is there no idiomatic way to handle key up/down? (as opposed to running an action every time the key is "pressed" like with the xconfig keys)
2022-06-08 00:26:57 +0200 <moonsheep> Adding an empty action to the keys and then handling it in an event hooks feels pretty hacky
2022-06-08 00:29:17 +0200 <geekosaur> no, there isn't
2022-06-08 00:29:57 +0200 <geekosaur> and I don't guarantee you'll get a keyup event with an empty action because the server grab might be released by then
2022-06-08 00:30:25 +0200 <moonsheep> Well, hacky as it may be it seems to work!
2022-06-08 00:30:29 +0200 <moonsheep> Thank you so much
2022-06-08 00:30:45 +0200 <moonsheep> (btw I'm trying to show the status bar only while the super key is pressed)
2022-06-08 00:31:08 +0200 <geekosaur> typically if you want to do this, you (a) don't share a key with xmonad (which implies doing it outside of xmonad; a minimalist window manager is not one you build everything else into) (b) set your own key grab
2022-06-08 00:31:31 +0200 <geekosaur> and (c) really that belongs in the status bar. I think xmobar supports it natively, for example
2022-06-08 00:32:11 +0200 <moonsheep> How do you mean "don't share a key with xmonad". How can I not share my super key with xmonad?
2022-06-08 00:33:12 +0200 <geekosaur> you may get tired of the status bar popping every time you run an xmonad command…
2022-06-08 00:34:32 +0200 <moonsheep> Oh rigght
2022-06-08 00:34:45 +0200 <moonsheep> Well, I'll try this for a while I guess
2022-06-08 00:35:16 +0200 <moonsheep> I used to have it shown 100% of the time, so I don't think having it pop up every time I'm going to run a command is that big of an issue
2022-06-08 00:37:31 +0200moonsheep(~user@user/moonsheep) (Quit: ERC 5.4 (IRC client for GNU Emacs 28.1))
2022-06-08 01:00:45 +0200stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-06-08 01:20:18 +0200mestre(~mestre@191.177.181.194) (Quit: Lost terminal)
2022-06-08 02:03:29 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-06-08 02:04:46 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 02:05:18 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-06-08 02:12:58 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 02:30:25 +0200mj5sim[m](~mj5simmat@2001:470:69fc:105::2:c40) ()
2022-06-08 04:02:35 +0200banc-(banc@gateway/vpn/airvpn/banc) (Ping timeout: 255 seconds)
2022-06-08 04:19:17 +0200td_(~td@muedsl-82-207-238-064.citykom.de) (Ping timeout: 256 seconds)
2022-06-08 04:20:49 +0200td_(~td@muedsl-82-207-238-024.citykom.de)
2022-06-08 04:21:39 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-06-08 04:48:49 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Remote host closed the connection)
2022-06-08 04:51:29 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 05:13:16 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 250 seconds)
2022-06-08 05:19:04 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 246 seconds)
2022-06-08 07:05:49 +0200coldpress_coldpress
2022-06-08 07:29:46 +0200noex(~null@user/noex) (Ping timeout: 272 seconds)
2022-06-08 07:32:10 +0200noex_(~null@2600:8804:14e0:104::1e13)
2022-06-08 07:40:08 +0200chomwitt(~chomwitt@2a02:587:dc1f:5600:d683:3d28:fc15:22d4)
2022-06-08 07:46:28 +0200incertia(~incertia@d47-69-133-171.try.wideopenwest.com) (Quit: ZNC 1.7.5 - https://znc.in)
2022-06-08 07:46:53 +0200incertia(~incertia@d47-69-133-171.try.wideopenwest.com)
2022-06-08 08:17:39 +0200tomjaguarpaw(~tom@li367-225.members.linode.com) (Remote host closed the connection)
2022-06-08 08:17:47 +0200tomjaguarpaw(~tom@li367-225.members.linode.com)
2022-06-08 08:23:26 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net)
2022-06-08 08:42:15 +0200mc47(~mc47@xmonad/TheMC47)
2022-06-08 08:59:00 +0200cfricke(~cfricke@user/cfricke)
2022-06-08 09:26:21 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-08 10:49:04 +0200alternateved(~alternate@217.138.209.78)
2022-06-08 11:10:24 +0200noex_(~null@2600:8804:14e0:104::1e13) (Remote host closed the connection)
2022-06-08 11:11:42 +0200noex_(~null@2600:8804:14e0:104:8939:cf0c:32e2:8889)
2022-06-08 13:40:29 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 252 seconds)
2022-06-08 14:30:42 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net)
2022-06-08 14:31:52 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-08 15:13:05 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 255 seconds)
2022-06-08 15:16:11 +0200[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz) (Ping timeout: 258 seconds)
2022-06-08 15:26:35 +0200cfricke(~cfricke@user/cfricke) (Ping timeout: 255 seconds)
2022-06-08 15:35:13 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 244 seconds)
2022-06-08 15:37:57 +0200banc(banc@gateway/vpn/airvpn/banc)
2022-06-08 15:44:08 +0200[Leary](~Leary]@122-58-228-205-vdsl.sparkbb.co.nz)
2022-06-08 15:55:15 +0200twiclo(~twiclo@2604:7b80:2000:1069:52fc:cedd:fbeb:10c) (Ping timeout: 260 seconds)
2022-06-08 16:03:20 +0200banc-(banc@gateway/vpn/airvpn/banc)
2022-06-08 16:05:21 +0200banc(banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds)
2022-06-08 16:18:20 +0200twiclo(~twiclo@66.29.177.50.static.utbb.net)
2022-06-08 16:21:52 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-08 16:33:54 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-08 16:43:19 +0200cfricke(~cfricke@user/cfricke)
2022-06-08 17:19:34 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-08 17:23:17 +0200Guest21(~Guest21@80.251.191.198)
2022-06-08 17:23:28 +0200Guest21(~Guest21@80.251.191.198) (Client Quit)
2022-06-08 17:42:36 +0200werneta(~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 276 seconds)
2022-06-08 18:09:11 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-08 19:14:17 +0200werneta(~werneta@137.79.206.133)
2022-06-08 19:39:04 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 3.5)
2022-06-08 19:48:50 +0200werneta(~werneta@137.79.206.133) (Ping timeout: 240 seconds)
2022-06-08 19:59:50 +0200mc47(~mc47@xmonad/TheMC47) (Remote host closed the connection)
2022-06-08 20:15:53 +0200werneta(~werneta@137.78.30.207)
2022-06-08 21:17:14 +0200chomwitt(~chomwitt@2a02:587:dc1f:5600:d683:3d28:fc15:22d4) (Quit: Leaving)
2022-06-08 21:17:37 +0200chomwitt(~chomwitt@2a02:587:dc1f:5600:d683:3d28:fc15:22d4)
2022-06-08 21:55:38 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net)
2022-06-08 22:13:06 +0200alternateved(~alternate@217.138.209.78) (Remote host closed the connection)
2022-06-08 22:24:24 +0200dschrempf(~dominik@070-207.dynamic.dsl.fonira.net) (Quit: WeeChat 3.5)
2022-06-08 22:25:14 +0200stackdroid18(14094@user/stackdroid)
2022-06-08 22:35:10 +0200haskl(~haskl@user/haskl) (Ping timeout: 240 seconds)
2022-06-08 22:35:10 +0200haskl[error](~haskl@user/haskl)
2022-06-08 22:57:49 +0200steve_(~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 246 seconds)
2022-06-08 23:14:34 +0200matijja(~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in)
2022-06-08 23:14:50 +0200matijja(~matijja@193.77.181.201)
2022-06-08 23:16:32 +0200matijja(~matijja@193.77.181.201) (Client Quit)
2022-06-08 23:17:19 +0200matijja(~matijja@193.77.181.201)
2022-06-08 23:51:25 +0200stackdroid18(14094@user/stackdroid) (Quit: hasta la vista... tchau!)
2022-06-08 23:55:31 +0200stackdroid18(~stackdroi@user/stackdroid)
2022-06-08 23:56:14 +0200jao(~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Read error: Connection reset by peer)