Logs on 2020-12-13 (freenode/#xmonad)
| 00:33:13 | × | wonko7 quits (~wonko7@2a01:e35:2ffb:7040:14a1:46f4:68f7:2133) (Ping timeout: 272 seconds) |
| 00:52:56 | × | ybenel quits (~Mandalore@unaffiliated/ybenel) (Ping timeout: 258 seconds) |
| 00:54:32 | → | ybenel joins (~Mandalore@unaffiliated/ybenel) |
| 01:07:16 | × | daphnis quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 01:07:36 | × | daphnis_ quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 01:12:59 | × | ybenel quits (~Mandalore@unaffiliated/ybenel) (Quit: "Once Ago I Couldn't Sleep") |
| 01:22:56 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds) |
| 01:44:28 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 01:45:05 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 01:45:27 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 01:45:28 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 01:59:04 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 02:21:31 | <By_JumperX4[m]> | Hey... I'm facing an issue... I'd like to add ` , layoutHook=avoidStruts $ layoutHook def` to `, layoutHook= spacingRaw False (Border 3 0 3 0) True (Border 0 3 0 3) True $ GridRatio (4/3) ||| Full` |
| 02:21:51 | <By_JumperX4[m]> | but I don't really know how to |
| 02:29:28 | × | jchia quits (~jchia@58.32.35.91) (Ping timeout: 246 seconds) |
| 02:32:37 | × | rabliatu quits (~quassel@107.158.96.75) (Ping timeout: 264 seconds) |
| 02:33:06 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 02:33:26 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 02:34:18 | → | jchia joins (~jchia@58.32.71.163) |
| 02:37:55 | <vrs> | I'd guess it'd go like `, layoutHook = avoidStruts $ spacingRaw False (Border 3 0 3 0) True (Border 0 3 0 3) True $ GridRatio (4/3) ||| Full` |
| 02:38:18 | <vrs> | but you might run into precedence issues |
| 02:39:12 | <vrs> | I'd recommend you put the `spacingRaw False (Border 3 0 3 0) True (Border 0 3 0 3) True $ GridRatio (4/3)` part into a variable |
| 02:41:18 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/AXEIzuagtAzQdOsnIGJoAOpY/message.txt > |
| 02:46:17 | <vrs> | more like this https://hastebin.com/anacuzizup.yaml |
| 02:48:47 | <By_JumperX4[m]> | it compiles |
| 02:49:02 | <By_JumperX4[m]> | now let's see how it looks |
| 02:49:32 | <By_JumperX4[m]> | the `layoutHook=avoidStruts` doesn't seems to work |
| 02:49:46 | <By_JumperX4[m]> | my windows are still on top of xmobar :/ |
| 02:50:14 | × | gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 258 seconds) |
| 02:50:38 | <By_JumperX4[m]> | vrs: why `avoidStruts $ spaced ||| Full` ? |
| 02:50:47 | <By_JumperX4[m]> | why that spaced and full ? |
| 02:52:05 | <vrs> | avoidstruts is a layout modifier, spaced (which we just defined) and full are layouts on their own |
| 02:52:23 | <vrs> | spaced ||| Full means we can cycle through the layouts (of which we currently have two) with mod+space |
| 02:52:31 | <Irishluck83> | yeah, i don't think you need to do spaced |
| 02:52:52 | <By_JumperX4[m]> | I just have GridRation (4/3) and Full |
| 02:52:53 | <vrs> | you don't need to but it greatly helps readability |
| 02:53:05 | <By_JumperX4[m]> | I don't see why there is spaced in what you sent ? |
| 02:53:19 | <vrs> | (I was figuring you wanted spaces in your grid) |
| 02:53:27 | <By_JumperX4[m]> | yea |
| 02:53:35 | <By_JumperX4[m]> | if possible no spaces at border |
| 02:53:50 | <By_JumperX4[m]> | only spaces between windows |
| 02:54:21 | <By_JumperX4[m]> | but for any reason there's still my windows above my xmobar |
| 02:55:34 | <vrs> | and avoidStruts $ (spaced ||| Full) ? |
| 02:56:34 | <By_JumperX4[m]> | compilation succeed, gonna restart xmonad |
| 02:56:53 | <By_JumperX4[m]> | still above my bar |
| 02:57:05 | <By_JumperX4[m]> | oh no |
| 02:57:08 | <By_JumperX4[m]> | just some lag |
| 02:57:18 | <By_JumperX4[m]> | now it's good |
| 02:57:21 | <By_JumperX4[m]> | thx |
| 02:57:36 | <vrs> | avoidstruts is a layout modifier, you can think of it a bit like a function |
| 02:57:49 | <vrs> | it takes a layout and returns another layout |
| 02:57:55 | <By_JumperX4[m]> | hmmm |
| 02:58:06 | <vrs> | and the parens decide what the precedence is |
| 02:58:07 | <By_JumperX4[m]> | okay |
| 02:58:46 | <By_JumperX4[m]> | now that I can read the clock without having to close all my windows, I have to find a way to remove that horrible focus on mouse hover |
| 03:00:19 | <vrs> | tried https://wiki.haskell.org/Xmonad/Frequently_asked_questions#I_don.27t_want_the_focus_to_follow_the_mouse? |
| 03:03:10 | <By_JumperX4[m]> | uuuh |
| 03:03:18 | <By_JumperX4[m]> | I don't have that in my config file |
| 03:04:29 | <vrs> | , focusFollowsMouse = False |
| 03:06:42 | <By_JumperX4[m]> | compilation fails with this |
| 03:06:49 | <By_JumperX4[m]> | No such file or direcory |
| 03:07:03 | <vrs> | ?? |
| 03:07:09 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/NVQEXbqhyBQjLzwYkYlvCpML/message.txt > |
| 03:07:38 | <vrs> | put it where you also set the layouthook |
| 03:07:50 | → | abhixec joins (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) |
| 03:08:00 | <vrs> | also it's focusFollowsMouse not focusFollowMouse |
| 03:08:31 | → | rabliatu joins (~quassel@184.170.240.109) |
| 03:08:41 | <By_JumperX4[m]> | nice |
| 03:08:44 | <By_JumperX4[m]> | this is way better |
| 03:08:56 | <By_JumperX4[m]> | now my xmonad is almost usable |
| 03:09:09 | <By_JumperX4[m]> | I just have to make that xmobar less empty |
| 03:09:15 | <By_JumperX4[m]> | and less broken also |
| 03:09:31 | <By_JumperX4[m]> | then I'll have to do 2-3 rebinds |
| 03:10:01 | <By_JumperX4[m]> | (like moving Mod + T to Mod + Space and moving Mod + Return to Ctrl + Alt + T) |
| 03:24:05 | × | theDon quits (~td@94.134.91.51) (Ping timeout: 240 seconds) |
| 03:26:13 | → | theDon joins (~td@muedsl-82-207-238-126.citykom.de) |
| 03:45:07 | → | earldouglas joins (~james@unaffiliated/jamestastic) |
| 04:52:14 | → | doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) |
| 05:26:45 | × | terrorjack quits (~terrorjac@static.23.111.201.195.clients.your-server.de) (Remote host closed the connection) |
| 05:46:28 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 05:49:05 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 06:04:19 | → | palo1 joins (~weechat@c-base/crew/palo) |
| 06:07:43 | × | palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds) |
| 06:07:44 | palo1 | is now known as palo |
| 06:17:16 | × | abhixec quits (~abhixec@c-67-169-141-95.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 06:20:01 | × | ddellacosta quits (dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 264 seconds) |
| 06:51:27 | × | thunderrd quits (~thunderrd@183.182.111.131) (Quit: If it wasn't written down it didn't happen...) |
| 07:59:02 | × | growpotkin quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Quit: ZNC 1.8.2 - https://znc.in) |
| 08:44:35 | → | notis joins (~notis@45.134.22.48) |
| 09:08:22 | → | wonko7 joins (~wonko7@2a01:e35:2ffb:7040:14a1:46f4:68f7:2133) |
| 09:45:58 | → | mc47 joins (~yecinem@89.246.239.190) |
| 10:12:08 | × | doct0rhu quits (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) (Ping timeout: 260 seconds) |
| 10:18:15 | → | daphnis joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 10:18:15 | → | daphnis_ joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 10:27:46 | <mc47> | Hey! |
| 10:28:13 | <mc47> | What do you people think about this https://github.com/xmonad/xmonad-contrib/issues/381 ? What would be the best place to mention how to run tests for the xmonad-contrib package? |
| 10:29:11 | <mc47> | I thought about adding it to the CONTRIBUTING.md file, but maybe XMonad.Doc.Developing is a better place |
| 10:37:01 | <Solid> | psibi[m]: I saw that the `tests.yml` you added for xmonad-contrib only goes back to lts-14, while the one for xmonad goes back to lts-12; is there a reason for that? |
| 10:37:38 | <Solid> | mc47: CONTRIBUTING sounds good to me, if one contributes tests for their module it's of course important that they actually run ;) |
| 10:41:29 | <mc47> | Solid I thought the same, but XMonad.Doc.Developing seemed to have more detailed information about Code style, haddock, hlint and stuff like that |
| 10:43:08 | <mc47> | But i feel that that file is getting ignored/overlooked: there is a point stating "There should be no warnings", which is kinda ignored |
| 10:44:09 | <Solid> | mc47: Indeed; I'm currently in the procces of removing unused import warnings and let's just say "-Wall -Werror" doesn't *quite* compile ;) |
| 10:44:33 | <Solid> | Also hlinting contrib was on the cards at one point---many people don't do that with the modules they submit |
| 10:45:28 | <Solid> | also things like "use 4 spaces", "follow the coding style of the other modules" probably have never been enforced |
| 10:45:53 | <Solid> | and you are explicitly told about the existence of CONTRIBUTING when you submit a merge request |
| 10:46:03 | <Solid> | so I think that is the better place in this case |
| 10:46:21 | <mc47> | That's true |
| 10:47:14 | <Solid> | it may be worth making X.D.Developing more visible though |
| 10:47:17 | <mc47> | I think the best thing is to mention it there, and mention the existence XMonad.Doc.Developing there |
| 10:47:23 | <mc47> | Exactly what I wanted to say |
| 10:47:27 | <Solid> | :) |
| 10:47:31 | <Solid> | Yes! |
| 10:48:07 | <mc47> | Cool, I take care of the uni stuff and I'll do it |
| 10:48:25 | <Solid> | awesome, thanks! |
| 10:48:35 | <mc47> | taking care of the hlint warnings is on my todo list... but I'll probably do more fun stuff first |
| 10:48:38 | <mc47> | :) |
| 10:48:52 | <Solid> | hah, yeah I started doing this at one point |
| 10:49:05 | <Solid> | it's a very thankless (and boring) job |
| 10:49:45 | <mc47> | btw, if I remember correctly, you use emacs, right? |
| 10:49:53 | <Solid> | I do yes |
| 10:50:06 | <mc47> | are you using dante for haskell? or lsp? |
| 10:50:33 | <mc47> | or something else? |
| 10:50:55 | <Solid> | I used to use intero, but once that became unmaintained I caved and switched to the LSP solution |
| 10:51:13 | <Solid> | it's... bearable with Emacs 27+ and proper JSON parsing support |
| 10:51:42 | <Liskni_si> | I think all this hlint and warnings and coding style should just be automated these days. People aren't going to remember to run it manually. |
| 10:52:41 | <Solid> | Liskni_si: yes, we could probably integrate hlint into the github actions thing |
| 10:52:51 | <Solid> | but we'd still need to manually sort this out at least once first |
| 10:52:52 | <mc47> | I had so many trouble setting it up, so I'm sticking to dante... But yes, emacs is terribly slow, which makes me sad |
| 10:53:16 | <mc47> | Solid if you have your emacs config hosted somewhere, would you want to throw a link? maybe it'll help me |
| 10:53:36 | <mc47> | Liskni_si definitely |
| 10:54:30 | → | seschwar joins (~seschwar@unaffiliated/seschwar) |
| 10:55:47 | <Solid> | mc47: emacs 27 really improves things since it can be compiled to use jansson instead of the handrolled elisp parser they were using before |
| 10:57:14 | <mc47> | Solid I'm using that too, but some parts are still slow (I'm using it for Isabelle/HOL, but I find myself switching to jEdit if things get a bit complicated... maybe the mode is just coded sub-optimally) |
| 10:57:20 | <Solid> | mc47: sure, the relevant parts are https://gitlab.com/slotThe/dotfiles/-/blob/master/emacs/.config/emacs/configuration.org#L1182 and https://gitlab.com/slotThe/dotfiles/-/blob/master/emacs/.config/emacs/configuration.org#L1133 |
| 10:58:24 | <mc47> | Awesome! thanks |
| 10:58:33 | <Solid> | I'm glad at least Agda has a proper emacs mode I can use :> |
| 10:59:14 | <mc47> | lucky you! |
| 11:07:02 | × | daphnis_ quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 256 seconds) |
| 11:07:36 | × | daphnis quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 256 seconds) |
| 11:25:48 | <Liskni_si> | psibi[m], Solid: speaking of github tests, either xmonad or xmonad-contrib should not pass now because they don't build together, but they do pass, because we're not testing the git master / git master combo |
| 11:56:09 | <Solid> | aha good point |
| 11:56:17 | → | daphnis joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 11:56:18 | → | daphnis_ joins (~daphnis@cm-84.214.179.98.getinternet.no) |
| 11:56:34 | <Solid> | I have sadly never used github actions personally, so can't help much there :/ |
| 12:05:40 | → | xaltsc joins (~xaltsc@unaffiliated/xaltsc) |
| 12:35:35 | × | daphnis_ quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 258 seconds) |
| 12:35:35 | × | daphnis quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 258 seconds) |
| 12:54:14 | → | eb0t joins (~eblip@unaffiliated/eblip) |
| 12:54:29 | → | eblip joins (~eblip@unaffiliated/eblip) |
| 12:56:24 | × | def_jam quits (~eblip@unaffiliated/eblip) (Ping timeout: 256 seconds) |
| 12:56:25 | × | eb0t_ quits (~eblip@unaffiliated/eblip) (Ping timeout: 240 seconds) |
| 13:02:15 | <psibi[m]> | Liskni_si: Good point. Probably I can add one additional workflow where we build with the master of xmonad. What do you think ? |
| 13:08:22 | × | notis quits (~notis@45.134.22.48) (Ping timeout: 265 seconds) |
| 13:10:02 | → | notis joins (~notis@185.51.134.229) |
| 13:29:16 | <Liskni_si> | psibi[m]: depends on how complex the "build and run tests" script is going to be; if it gets more complex than the current "download stack and invoke it" then maybe one workflow with a matrix would be better |
| 13:29:33 | <Liskni_si> | but it doesn't need to be perfect right now |
| 13:29:44 | <Liskni_si> | whatever works; we can always improve it later |
| 13:33:13 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:01:06 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:01:27 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:04:22 | → | tux1 joins (~tux@116.251.216.46) |
| 14:06:07 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:06:28 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:07:08 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:07:29 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:09:08 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:09:29 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:11:08 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:11:29 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:13:08 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:13:30 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:15:09 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 14:15:33 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 14:37:45 | × | gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 240 seconds) |
| 14:54:57 | → | geekosaur joins (ae68c070@cpe-174-104-192-112.neo.res.rr.com) |
| 15:00:30 | × | notis quits (~notis@185.51.134.229) (Ping timeout: 265 seconds) |
| 15:13:23 | <Solid> | so, uh, anyone has any good names for L and R in XMonad.Layout? |
| 15:13:49 | → | kelnoky joins (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) |
| 15:14:47 | → | notis joins (~notis@45.134.22.48) |
| 15:17:30 | × | AlonzoC quits (~user@2a00:23c4:9010:3d01:ec55:22d9:89d6:100b) (Remote host closed the connection) |
| 15:17:33 | <psibi[m]> | Liskni_si: Have created new workflow: https://github.com/xmonad/xmonad-contrib/pull/429 Let's see how the CI goes. |
| 15:22:47 | <Liskni_si> | psibi[m]: looks like this can be simplified by adding stack-yaml to the matrix |
| 15:23:21 | <Liskni_si> | not entirely sure it's the right thing to do conceptually |
| 15:23:32 | <Liskni_si> | but probably yes |
| 15:23:34 | <Liskni_si> | ? |
| 15:27:48 | <psibi[m]> | Yeah, I think so. Let me give it a try. |
| 15:29:52 | <Liskni_si> | psibi[m]: oh and I see you had to add xmonad to extra deps anyway for lts-12, so maybe always using xmonad from git and branching between "latest release" and "latest master" would be simpler :-) |
| 15:31:03 | <Liskni_si> | (and if we ever merge https://github.com/xmonad/X11/pull/71, we'll need to do the same thing for X11 as well) |
| 15:31:38 | <psibi[m]> | Yeah, that was the motivation. But I have added a newer key in the matrix to try it out. If it doesn't work out, I will just go back to having two workflows. |
| 15:32:22 | <Liskni_si> | always using xmonad from git doesn't mean two workflows :-) |
| 15:32:31 | <Liskni_si> | it means less workflows _and_ less stack.yamls |
| 15:38:20 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Quit: leaving) |
| 15:39:50 | × | tux1 quits (~tux@116.251.216.46) (Quit: WeeChat 2.9) |
| 15:49:10 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 15:50:12 | → | mrbirkov joins (uid453780@gateway/web/irccloud.com/x-afihlvcablnozxtg) |
| 15:50:32 | <mrbirkov> | hi. do i need DE to run xmonad |
| 15:50:58 | <dminuoso> | DE? |
| 15:51:33 | <dminuoso> | Ah no. |
| 15:52:33 | <mrbirkov> | so only need x11 and xmonad then? |
| 15:53:28 | <dminuoso> | Yes. |
| 15:55:27 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 260 seconds) |
| 15:55:58 | <dminuoso> | Personally, out of convenience, I run xfce without desktop components to have a notify daemon, a terminal, and then xfce4-settings-manager to configure things I just cant bother figuring out commands for, like fonts and what not |
| 15:56:07 | <dminuoso> | In tandem with xmonad |
| 15:56:20 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 15:56:25 | <psibi[m]> | Liskni_si: Seems to be working with new set of keys. So I'm removing the extra workflow. When do you think the PR should be merged ? (I'm guessing you are working on to fix the export issue) |
| 15:57:04 | <dminuoso> | (that is, xfce without xfwm, xfdesktop, xfce4-panel, etc) |
| 15:57:37 | <dminuoso> | Part of the reason is that nixos has a convenience option for this. :) |
| 15:57:53 | <Liskni_si> | psibi[m]: what's the extra restore-key supposed to do? |
| 15:59:48 | <Liskni_si> | (as far as I understand github actions, adding the same thing that's in key to restore-keys should make absolutely no difference whatsoever) |
| 16:00:27 | <Liskni_si> | psibi[m]: anyway to answer your question, I'm not currently working on the export issue, but Solid asked about it at 15:13 UTC so maybe he is :-) |
| 16:01:11 | <Liskni_si> | and I don't think waiting for the issue is a prerequisite for merging #429. it's broken, the tests might as well reflect that :-) |
| 16:01:28 | <psibi[m]> | My motivation was to see if we can have two different set of caches: One for the normal stack.yaml and another for the stack-master.yaml. |
| 16:01:52 | <Liskni_si> | oh |
| 16:02:31 | <Liskni_si> | and the motivation for that is to not need to recompile xmonad every time, right? |
| 16:02:56 | <psibi[m]> | Lol! If that's the case, that would create issues! |
| 16:03:20 | <psibi[m]> | I'm not sure if stack is smart enough to re-clone if the commit is specified as `master`. |
| 16:05:09 | <Liskni_si> | hmm, I have no idea what does stack do with git packages in extra-deps |
| 16:05:34 | <Liskni_si> | if you put that into packages: instead, it will clone it outside of ~/.stack, I think, so it won't be cached at all |
| 16:05:55 | <Liskni_si> | but what happens in extra-deps, I don't know. |
| 16:06:06 | <Liskni_si> | best to test it locally I guess |
| 16:06:28 | <Solid> | Liskni_si: the best I can come up with is CLR = CL | CR ("Choose Left/Right"), but I'm not sure that that's acceptable |
| 16:06:31 | <Solid> | I'm bad at names |
| 16:10:42 | <Liskni_si> | Solid: as long as it doesn't conflict with anything, it seems okay |
| 16:11:14 | <Liskni_si> | my best attempt was ChooseLR = … and that's just too long and ugly |
| 16:11:29 | <Liskni_si> | but! |
| 16:12:03 | <Liskni_si> | there's a way to avoid the rename... add a separate module with LR = L | R and don't export this module's symbols from XMonad |
| 16:12:10 | <Liskni_si> | not sure if worth it. |
| 16:14:17 | <Solid> | Liskni_si: it does build against contrib master |
| 16:14:37 | <Solid> | the separate module is an interesting idea; though I would carefully say "not worth it" |
| 16:15:40 | <Liskni_si> | yeah, agreed |
| 16:17:43 | <Solid> | well I guess CLR it is then :D what would the usual protocol be here? revert the commit that exported them and then commit this fix or don't revert at all and just change the respective lines? |
| 16:18:27 | <Liskni_si> | just change it |
| 16:19:25 | <Liskni_si> | (I mean, I'm not the authority here as I can't merge to xmonad, but the revert doesn't make sense to me) |
| 16:27:47 | × | wonko7 quits (~wonko7@2a01:e35:2ffb:7040:14a1:46f4:68f7:2133) (Ping timeout: 260 seconds) |
| 16:34:49 | → | adder joins (~adder@unaffiliated/adder) |
| 16:35:05 | <adder> | hello, i want to use dmenuXinerama, however it expects a String and i don't know what to pass? |
| 16:35:29 | <adder> | (my actual goal is to start dmenu on current screen) |
| 16:37:01 | <adder> | it expects a list of strings actually |
| 16:37:42 | → | thoros joins (~thoros@194-96-55-156.hdsl.highway.telekom.at) |
| 16:44:12 | <Solid> | adder: these are options for dmenu |
| 16:44:22 | <Solid> | if you don't want to give any you can pass it the empty list |
| 16:44:44 | → | tux1 joins (~tux@116.251.216.46) |
| 16:44:56 | <psibi[m]> | Liskni_si: From debugging slightly, I think it re clones as long as the lock file isn't committed to the repository. Free feel to merge that MR. If not, I will merge it tomorrow unless there is any objections. |
| 16:45:35 | <tux1> | Does anyone know how to hide windows from hidden NSP workspace when cycling between two recent windows with: nextMatch History (return True) ? |
| 16:45:52 | <Liskni_si> | psibi[m]: where does it clone it? |
| 16:46:22 | <adder> | Solid, i get an error: Couldn't match type ‘[Char]’ with ‘()’ Expected type: X () Actual type: X String |
| 16:46:33 | <Liskni_si> | psibi[m]: anyway, I still object to the misuse of restore-keys :-) |
| 16:46:56 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Remote host closed the connection) |
| 16:47:10 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 16:47:22 | <Liskni_si> | psibi[m]: key should hash the relevant stack.yaml and *.cabal, restore keys should be one component smaller |
| 16:47:27 | <Solid> | adder: that's tells you you're treating the function as if it returns `X ()` instead of `X String` |
| 16:47:37 | <Liskni_si> | psibi[m]: putting key into restore-keys is noop |
| 16:47:57 | <Liskni_si> | and if it's not, it's a weird hack that deserves a comment |
| 16:48:40 | <tux1> | anyone know Haskell, got little problem, need some guidance? |
| 16:51:40 | <tux1> | Liskni_si: do you know how to ignore windows from NSP when doing nextMatch History (return True)? |
| 16:52:00 | <adder> | Solid, i'm not sure how to use this thing, documentation is very obscure |
| 16:52:19 | <adder> | do i call dmenuXinerama directly, do i spawn what it returns, do i... |
| 16:52:28 | <Solid> | adder: it seems to return your selection as a string; what do you want to use it for? |
| 16:52:52 | <adder> | i want to spawn dmenu on current screen on mod+p |
| 16:53:04 | <Liskni_si> | tux1: not from the top of my head, sorry |
| 16:53:26 | <Solid> | I think `spawn . void $ dmenuXinerama []` should work |
| 16:53:33 | <Solid> | where void is from Control.Monad |
| 16:54:21 | <tux1> | Liskni_si: that's alright, here is the library if you can take a look please? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/src/XMonad.Actions.GroupNavigation.html |
| 16:54:25 | <adder> | Solid, Couldn't match expected type ‘[a0]’ with actual type ‘X String’ |
| 16:55:03 | <Solid> | adder: can you post the full code? |
| 16:55:32 | <adder> | Solid, sure, https://dpaste.com/3KSN2ULMY |
| 16:56:44 | <Solid> | oh I'm a big derp |
| 16:56:52 | <Solid> | of course dmenu is already doing the spawning |
| 16:57:31 | <Solid> | so remove that spawn, then the types should match |
| 17:00:13 | <tux1> | Solid do you know some Haskell? |
| 17:00:41 | <Liskni_si> | tux1: https://gist.github.com/liskin/234dcb2c47668a9fe747f3380020f914 |
| 17:01:08 | <Solid> | oh that's pretty nifty |
| 17:01:09 | <adder> | Solid, it's not getting spawned for some reason, i see that this function requires a patch in dmenu, but i'm googling and i'm not sure if it's patched or not |
| 17:01:34 | <Liskni_si> | tux1: then windowWs /=? "NSP" instead of return True |
| 17:01:41 | <adder> | should be patched because that should be dmenu's -m |
| 17:02:30 | <Solid> | adder: it's using `dmenu -xs` internally; at least my dmenu doesn't have that option |
| 17:02:31 | <adder> | is there another way of determining current screen so i can spawn manually with -m? |
| 17:02:52 | <Liskni_si> | we should probably add windowWs somewhere as it can be useful for X.H.Focus and FadeHooks and stuff |
| 17:03:03 | <Solid> | you can just look at how dmenuXinerama is defined, it's determining the current screen in the function |
| 17:03:24 | × | rabliatu quits (~quassel@184.170.240.109) (Ping timeout: 260 seconds) |
| 17:03:38 | <geekosaur> | keep in mind copyToAll and friends, there can be zero or more workspaces for a window |
| 17:03:42 | <adder> | and i don't have xs :D |
| 17:04:14 | <Liskni_si> | geekosaur: oh:-( |
| 17:04:23 | <geekosaur> | (actually shouldn't be zero except just before the manageHook runs, not sure if timing issues mean that comes up but I think it can) |
| 17:05:14 | <tux1> | Liskni_si: almost there, so I see I need W variable, when I load StackSet as W it says workspace variable is ambigious since it's also loaded from XMonad.Core, how do I fix this? Or do I load XMonad itself as W? |
| 17:05:26 | <Liskni_si> | geekosaur: what happens when you use copyToAll with xinerama? does it just leave blank spots on the other screens? |
| 17:05:33 | <Liskni_si> | or does it explode? :-) |
| 17:05:59 | <Liskni_si> | tux1: import qualified XMonad.StackSet as W |
| 17:06:16 | <geekosaur> | X11 ignores all but the first instance of the window |
| 17:06:18 | <Liskni_si> | isn't that in every sample config? (dunno, hadn't seen one in years) |
| 17:08:20 | <Liskni_si> | geekosaur: oh, right, reveal gets called multiple times and the last rect wins |
| 17:08:26 | <Liskni_si> | funny |
| 17:11:47 | <geekosaur> | right, sorry, last since it gets mapped multiple times. hypothetically you can watch it move around but I think it usually happens too fast. maybe on my current machine but I have only one screen :) |
| 17:16:30 | <tux1> | Liskni_si: get this error https://ibb.co/nMwbwYZ |
| 17:28:35 | <Liskni_si> | tux1: oh, add Just before "NSP" |
| 17:34:20 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 17:34:27 | <tux1> | Liskni_si: holy shit it worked, thanks! You're a wizard, how do you know all this stuff? Years of dabbling with Xmonad or actually know Haskell well and use it on some other things? |
| 17:34:39 | <Liskni_si> | tux1: both |
| 17:34:55 | <Liskni_si> | tux1: I switched to xmonad in 2009 and been submitting patches since |
| 17:36:08 | <Solid> | 2009?! hot damn |
| 17:36:23 | <tux1> | Liskni_si: I see, thanks to you and to everyone else who are building, improving XMonad. I tried every other WM, but nothing came close to XMonad, DWM is nice though. |
| 17:36:30 | <Liskni_si> | Solid: yeah, it's been a while: https://work.lisk.in/2009/10/28/going-tiled.html |
| 17:38:25 | <Solid> | the wallpaper haha |
| 17:38:29 | <Solid> | very mid 2000's |
| 17:39:13 | × | gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 264 seconds) |
| 17:39:35 | <Solid> | well, you've got about 10 years on me then :> |
| 17:46:31 | <tux1> | Liskni_si: do you mind if I ask one more thing? If you have time. So I have clickable workspaces with <action> tag, they work well. I also have showWMName to show workspace names when switching, do you know how to strip action tags from workspace names to use with showWMName? https://hackage.haskell.org/package/xmonad-contrib-0.16/docs/XMonad-Layout-ShowWName.html https://dpaste.com/BFM9UGELL |
| 17:47:22 | <tux1> | I found stripAction function from old configs, but seems to be removed/deprecated? |
| 17:47:42 | <Liskni_si> | tux1: I think you should switch to https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Util/ClickableWorkspaces.hs which shouldn't have this problem |
| 17:48:17 | <Liskni_si> | stripActions isn't removed/deprecated, it's just not in xmonad, but in xmobar |
| 17:49:06 | <Liskni_si> | it is possible to use in xmonad with a patch to xmobar that exposes these functions, and I do that in my config, but in your case there's a cleaner solution |
| 17:49:39 | <Liskni_si> | or you can use xmobarStripTags from DynamicLog |
| 17:50:10 | <Liskni_si> | which is still a hack but … |
| 17:53:55 | <Solid> | only problem being that ClickableWorkspaces is still not in any released version ;) |
| 17:54:12 | <Liskni_si> | right |
| 18:02:11 | <tux1> | Liskni_si: thanks, makes it clear, could not find ClickableWorkspaces though as Solid said |
| 18:03:19 | <tux1> | should work if I install it from git? |
| 18:03:49 | <Solid> | yes |
| 18:19:08 | → | al3x27 joins (~plovs@85.254.75.80) |
| 18:21:43 | <tux1> | thanks everyone for the help |
| 18:23:00 | <al3x27> | New xmonad user here, trying to test things in xephyr. Is it a bug in my setup, or does xephyr always float? |
| 18:24:13 | <geekosaur> | xephyr would request a fixed-size window, which would be autofloated |
| 18:26:21 | <al3x27> | geekosaur: ah, thanks |
| 18:27:18 | <al3x27> | geekosaur: and ... found it, just added resizeable. Many thanks! |
| 18:28:14 | × | amiri quits (~amiri@cpe-76-91-154-9.socal.res.rr.com) (Remote host closed the connection) |
| 18:34:38 | → | ddellacosta joins (dd@gateway/vpn/mullvad/ddellacosta) |
| 18:41:29 | × | tux1 quits (~tux@116.251.216.46) (Quit: WeeChat 2.9) |
| 19:03:08 | × | berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 258 seconds) |
| 19:03:31 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 19:09:34 | × | mrbirkov quits (uid453780@gateway/web/irccloud.com/x-afihlvcablnozxtg) (Quit: Connection closed for inactivity) |
| 19:19:25 | → | amiri joins (~amiri@cpe-76-91-154-9.socal.res.rr.com) |
| 19:43:41 | → | drl joins (~l@2600:1700:8360:3870::725) |
| 19:56:00 | ← | adder parts (~adder@unaffiliated/adder) ("Leaving") |
| 19:56:38 | × | mc47 quits (~yecinem@89.246.239.190) (Quit: Leaving) |
| 19:56:55 | → | mc47 joins (~yecinem@89.246.239.190) |
| 20:09:56 | × | al3x27 quits (~plovs@85.254.75.80) (Quit: WeeChat 2.9) |
| 20:23:28 | × | thoros quits (~thoros@194-96-55-156.hdsl.highway.telekom.at) (Quit: WeeChat 3.0) |
| 20:41:05 | → | doct0rhu joins (~orctarorg@pool-72-88-158-154.nwrknj.fios.verizon.net) |
| 21:00:18 | → | al3x27 joins (~plovs@85.254.74.204) |
| 21:01:41 | → | growpotkin joins (~growpotki@130-45-30-154.dyn.grandenetworks.net) |
| 21:13:06 | × | notis quits (~notis@45.134.22.48) (Read error: Connection reset by peer) |
| 21:16:30 | → | notis joins (~notis@185.51.134.230) |
| 21:23:30 | → | rabliatu joins (~quassel@199.58.187.144) |
| 21:25:38 | schweby_ | is now known as schweby |
| 21:34:09 | × | geekosaur quits (ae68c070@cpe-174-104-192-112.neo.res.rr.com) (Remote host closed the connection) |
| 21:57:05 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 22:06:36 | Liskni_si | no longer has any custom xmonad patches that aren't at least submitted as a PR \o/ |
| 22:06:59 | <Liskni_si> | oh, except the wip inspection stuff, but that doesn't count, that's not cooked yet :-) |
| 22:07:25 | <Liskni_si> | I guess I'm out of excuses to not finish X.H.Focus |
| 22:11:23 | × | hexo quits (~hexo@gateway/tor-sasl/hexo) (Ping timeout: 240 seconds) |
| 22:12:07 | → | hexo joins (~hexo@gateway/tor-sasl/hexo) |
| 22:24:27 | <Liskni_si> | psibi[m]: btw how long have you been using Matrix? did you know that for a few months all messages sent from Matrix to #xmonad went to /dev/null? did we miss some messages from you as well? |
| 22:27:06 | <Liskni_si> | psibi[m]: my logs show that you first joined on 2020-10-30, so anything you sent between then and 2020-12-08 21:13:24 was lost |
| 22:32:25 | × | ddellacosta quits (dd@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 246 seconds) |
| 22:34:20 | × | kelnoky quits (~shao@ip1f1222c4.dynamic.kabel-deutschland.de) (Ping timeout: 256 seconds) |
| 22:43:20 | → | wonko7 joins (~wonko7@2a01:e35:2ffb:7040:14a1:46f4:68f7:2133) |
| 22:56:43 | × | mc47 quits (~yecinem@89.246.239.190) (Remote host closed the connection) |
| 23:19:04 | <By_JumperX4[m]> | Hey ! I'm having an issue displaying workspaces in xmobar (i'm new to xmonad and don't know haskell) It actually shows this in xmobar : |
| 23:19:13 | By_JumperX4[m] | uploaded an image: 2020-12-13-231842_2562x20_scrot.png (7KiB) < https://matrix.org/_matrix/media/r0/download/gnous.eu/QCgHRLSPhSHFnuvvGUevuHEV/2020-12-13-231842_2562x20_scrot.png > |
| 23:19:23 | <By_JumperX4[m]> | my xmobar config : |
| 23:19:28 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/CllEgZLFARnwcSuXXxEZdKcH/message.txt > |
| 23:19:48 | <By_JumperX4[m]> | my xmonad.hs : |
| 23:19:54 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/xAwhmxqSMuvXxQJXxyjVdBAm/message.txt > |
| 23:33:51 | × | seschwar quits (~seschwar@unaffiliated/seschwar) (Quit: :wq) |
| 23:36:38 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Read error: Connection reset by peer) |
| 23:49:13 | × | notis quits (~notis@185.51.134.230) (Ping timeout: 256 seconds) |
All times are in UTC on 2020-12-13.