Logs: liberachat/#xmonad
| 2023-11-01 08:12:15 | → | xmonadtrack joins (~xmonadtra@user/geekosaur/bot/xmonadtrack) |
| 2023-11-01 08:16:47 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2023-11-01 08:18:21 | → | derfflinger_ joins (~derffling@user/derfflinger) |
| 2023-11-01 08:21:38 | × | derfflinger_ quits (~derffling@user/derfflinger) (Remote host closed the connection) |
| 2023-11-01 08:21:57 | → | derfflinger_ joins (~derffling@user/derfflinger) |
| 2023-11-01 08:22:16 | × | derfflinger quits (~derffling@user/derfflinger) (Ping timeout: 260 seconds) |
| 2023-11-01 08:23:54 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 08:29:25 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 252 seconds) |
| 2023-11-01 08:41:41 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 08:47:27 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
| 2023-11-01 08:58:52 | × | derfflinger_ quits (~derffling@user/derfflinger) (Ping timeout: 248 seconds) |
| 2023-11-01 08:59:07 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 08:59:35 | × | jusa quits (~jusa@kraa.fi) (Quit: WeeChat 4.1.0) |
| 2023-11-01 08:59:52 | → | jusa joins (~jusa@kraa.fi) |
| 2023-11-01 09:04:23 | → | derfflinger_ joins (~derffling@user/derfflinger) |
| 2023-11-01 09:04:39 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 240 seconds) |
| 2023-11-01 09:16:16 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 09:22:20 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 248 seconds) |
| 2023-11-01 09:26:31 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 09:32:52 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 272 seconds) |
| 2023-11-01 09:44:59 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 09:50:42 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 258 seconds) |
| 2023-11-01 10:02:26 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 10:09:55 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Ping timeout: 264 seconds) |
| 2023-11-01 10:10:13 | × | derfflinger_ quits (~derffling@user/derfflinger) (Ping timeout: 255 seconds) |
| 2023-11-01 10:11:19 | × | chomwitt quits (~chomwitt@2a02:587:7a1a:f800:1ac0:4dff:fedb:a3f1) (Ping timeout: 245 seconds) |
| 2023-11-01 10:13:01 | → | derfflinger_ joins (~derffling@user/derfflinger) |
| 2023-11-01 10:19:01 | → | derfflinger__ joins (~derffling@user/derfflinger) |
| 2023-11-01 10:22:12 | × | derfflinger_ quits (~derffling@user/derfflinger) (Ping timeout: 240 seconds) |
| 2023-11-01 10:23:11 | → | defjam joins (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) |
| 2023-11-01 11:29:36 | × | derfflinger__ quits (~derffling@user/derfflinger) (Ping timeout: 258 seconds) |
| 2023-11-01 11:38:06 | → | chomwitt joins (~chomwitt@ppp-94-67-130-102.home.otenet.gr) |
| 2023-11-01 12:27:14 | → | derfflinger__ joins (~derffling@user/derfflinger) |
| 2023-11-01 12:28:53 | × | defjam quits (~defjam@2a02:c7e:2807:b900:21bc:7d07:b80d:c4c6) (Quit: WeeChat 4.0.5) |
| 2023-11-01 13:04:01 | × | derfflinger__ quits (~derffling@user/derfflinger) (Ping timeout: 260 seconds) |
| 2023-11-01 13:07:08 | × | hightower2 quits (~hightower@213.186.15.36) (Ping timeout: 255 seconds) |
| 2023-11-01 13:09:03 | → | Manu38 joins (~Manu38@2a01:e0a:96:a450:d5a8:66a1:2e60:1cd3) |
| 2023-11-01 13:09:05 | <Manu38> | I Xmonad people. |
| 2023-11-01 13:09:49 | <Manu38> | I saw somewhere, but can't find it again, a function to check for conflicting keyboard shortcuts at `xmonad` start time. |
| 2023-11-01 13:10:07 | <Manu38> | Any one to point me in the right direction to find that again ? |
| 2023-11-01 13:10:30 | <Manu38> | (I need this, because my configuration is getting better and better, but with conflicts :)) |
| 2023-11-01 13:21:48 | <vrs> | presumably EZConfig's checkKeymap? |
| 2023-11-01 13:21:57 | <vrs> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html#v:checkKeymap |
| 2023-11-01 13:24:52 | <Manu38> | vrs That's it, thank you very much. |
| 2023-11-01 13:25:05 | → | derfflinger__ joins (~derffling@user/derfflinger) |
| 2023-11-01 13:25:57 | → | horzion joins (~horzion@ProtonDB/horzion) |
| 2023-11-01 13:41:18 | × | Manu38 quits (~Manu38@2a01:e0a:96:a450:d5a8:66a1:2e60:1cd3) (Quit: Client closed) |
| 2023-11-01 14:02:00 | × | horzion quits (~horzion@ProtonDB/horzion) (Quit: Off praying to the Omnissiah) |
| 2023-11-01 14:05:29 | justHaunted | is now known as justache |
| 2023-11-01 14:27:22 | → | Manu38 joins (~Manu38@2a01:e0a:96:a450:4fd7:1f9a:947e:835d) |
| 2023-11-01 14:27:41 | <Manu38> | vrs I already have the following startup hook : |
| 2023-11-01 14:27:42 | <Manu38> | ```haskell |
| 2023-11-01 14:27:42 | <Manu38> | myStartupHook = do |
| 2023-11-01 14:27:43 | <Manu38> | spawnOnce "trayer --edge top --align right --SetDockType true \ |
| 2023-11-01 14:27:43 | <Manu38> | \--SetPartialStrut true --expand true --width 10 \ |
| 2023-11-01 14:27:44 | <Manu38> | \--transparent true --alpha 0 --tint 0x5f5f5f --height 32" |
| 2023-11-01 14:27:44 | <Manu38> | spawnOnce "feh --bg-max ~/git-inria-perso/config-files/belledonne.jpg" |
| 2023-11-01 14:27:45 | <Manu38> | spawnOnce "nm-applet --sm-disable" |
| 2023-11-01 14:27:45 | <Manu38> | spawnOnce "indicator-sound-switcher" |
| 2023-11-01 14:27:46 | <Manu38> | spawnOnce "gxkb" |
| 2023-11-01 14:27:46 | <Manu38> | spawnOnce "blueman-applet" |
| 2023-11-01 14:27:47 | <Manu38> | spawn "setxkbmap -layout fr,fr -variant bepo_afnor," |
| 2023-11-01 14:27:47 | <Manu38> | ``` |
| 2023-11-01 14:28:39 | <Manu38> | And because my Haskell level is 0, I don't know how can I add a call to `checkKeymap` in it. Would you mind to help me ? |
| 2023-11-01 14:38:17 | <geekosaur> | what's yourr full config look like? |
| 2023-11-01 14:38:19 | <geekosaur> | @where paste |
| 2023-11-01 14:38:20 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2023-11-01 14:38:29 | <geekosaur> | please don't paste into the channel |
| 2023-11-01 14:41:57 | <Manu38> | lambdabot and geekosaur sorry I'm used to mattermost, where ``` allows to have "inline" code in the chat's client. |
| 2023-11-01 14:42:03 | <Manu38> | Here is my code |
| 2023-11-01 14:42:04 | <Manu38> | https://paste.tomsmeding.com/X7qOopMr |
| 2023-11-01 14:42:32 | <geekosaur> | yes, we got unformatted code very slowly because IRC throttles after 3 lines |
| 2023-11-01 14:42:34 | × | derfflinger__ quits (~derffling@user/derfflinger) (Ping timeout: 272 seconds) |
| 2023-11-01 14:48:54 | <geekosaur> | hm, this isn't actually going to work very well because checkKeymap is not designed to work with addDescrKeys |
| 2023-11-01 14:49:32 | <geekosaur> | and if we run addDescrKeys first then the keymap is not in (String,X ()) form any more, so checkKeymap won't work |
| 2023-11-01 14:50:40 | <geekosaur> | guess we need a version of checkKeymap that operates on `keys` directly |
| 2023-11-01 14:53:51 | → | derfflinger__ joins (~derffling@user/derfflinger) |
| 2023-11-01 14:54:39 | <Manu38> | You are saying that for now, I can't use both `addDescrKeys` and `checkKeymap` together, that is right ? |
| 2023-11-01 14:54:46 | <geekosaur> | yes |
| 2023-11-01 14:56:08 | → | Groumf joins (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) |
| 2023-11-01 14:57:27 | <geekosaur> | checkKeymap was designed for use with additionalKeysP |
| 2023-11-01 14:57:30 | × | derfflinger__ quits (~derffling@user/derfflinger) (Read error: Connection reset by peer) |
| 2023-11-01 14:58:24 | <[Leary]> | It only cares about the string components, so you can refactor to expose that. |
| 2023-11-01 14:59:18 | <[Leary]> | (Bind the list argument to `subKeys` at the top level, then give that to `checkKeymap`.) |
| 2023-11-01 15:02:30 | <Manu38> | @Leary, not sure to understand your point, again sorry for my level 0 haskell, would you mind to show me a piece of code ? |
| 2023-11-01 15:02:30 | <lambdabot> | Unknown command, try @list |
| 2023-11-01 15:03:23 | <Manu38> | (just realized that I previously answered to a bot, namely lambdabot, ^^) |
| 2023-11-01 15:04:32 | <[Leary]> | Something like this: https://paste.tomsmeding.com/S51KaZON |
| 2023-11-01 15:06:01 | <Manu38> | Got it, thank you. |
| 2023-11-01 15:06:18 | <[Leary]> | Though maybe you'd want to get a more complete config by applying `withEasySB ...` and `addDescrKeys' ...` in the definition of `myConfig` instead of in main. |
| 2023-11-01 15:06:37 | <[Leary]> | I'm not sure what `checkKeymap` actually uses the arg for. |
| 2023-11-01 15:09:55 | <Manu38> | I really need to learn Haskell's bases since I'll be using xmonad, I can't understand most of the technical sentences here :) |
| 2023-11-01 15:10:18 | <Manu38> | That being said, I am already super super happy with my new window manager !!! |
| 2023-11-01 15:13:20 | <Manu38> | But to me `checkKeymap` just checks for duplicates string in the list we give to it ? |
| 2023-11-01 16:03:50 | × | Groumf quits (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) (Quit: Client closed) |
| 2023-11-01 16:28:42 | → | Groumf joins (~Groumf@2a01:e0a:582:bb40:e5c6:f484:7015:1722) |
| 2023-11-01 16:33:53 | × | Manu38 quits (~Manu38@2a01:e0a:96:a450:4fd7:1f9a:947e:835d) (Quit: Client closed) |
| 2023-11-01 16:55:45 | × | mc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2023-11-01 17:29:15 | <geekosaur> | [Leary], it uses to to get the definition of modMask so it can make sure you haven't collided an M-sequence with e.g. an M4-sequence |
| 2023-11-01 17:30:51 | <geekosaur> | so it's more than just checking strings, it's also checking that two different strings don't resolve to the same (KeyMask,KeySym) |
All times are in UTC.