Logs: freenode/#xmonad
| 2020-12-12 22:58:20 | <By_JumperX4[m]> | like spawning errors on the screen ? |
| 2020-12-12 22:58:23 | <vrs> | yes |
| 2020-12-12 22:59:10 | <vrs> | also W.sink is the thing that takes your focused window and unfloats it, so I'm guessing here that that keybinding got broken somehow |
| 2020-12-12 23:12:04 | <By_JumperX4[m]> | vrs: `, layoutHook = spacingRaw True (Border 0 2 0 2) True (Border 2 0 2 0) True $ smartBorders ||| Grid` is this correct ? |
| 2020-12-12 23:12:55 | <By_JumperX4[m]> | (to set Grid mode by default) |
| 2020-12-12 23:13:10 | <By_JumperX4[m]> | because I still get full mode by default and that's horrible |
| 2020-12-12 23:13:21 | <vrs> | mod+shift+space? |
| 2020-12-12 23:13:59 | <By_JumperX4[m]> | yes but no |
| 2020-12-12 23:14:11 | <By_JumperX4[m]> | I'd like it to start like that by default |
| 2020-12-12 23:14:16 | <vrs> | also ||| separates layouts you can cycle through with mod+space so maybe try only spacingRaw True (Border 0 2 0 2) True (Border 2 0 2 0) True $ smartBorders $ Grid |
| 2020-12-12 23:14:32 | <vrs> | (haven't compiled, can't vouch for it) |
| 2020-12-12 23:14:55 | <vrs> | but in general, the thing before the ||| is the default |
| 2020-12-12 23:15:23 | <By_JumperX4[m]> | I just found something |
| 2020-12-12 23:15:28 | <By_JumperX4[m]> | if I do xmonad --recompile |
| 2020-12-12 23:15:30 | <By_JumperX4[m]> | I get errors |
| 2020-12-12 23:15:54 | <By_JumperX4[m]> | Ima remove problematic parts |
| 2020-12-12 23:17:30 | <vrs> | for reference, this is what my layout looks like https://hastebin.com/ebirorixun.rb |
| 2020-12-12 23:19:07 | <vrs> | (but it needs a bunch of keybindings to be useful, do not use verbatim) |
| 2020-12-12 23:19:30 | <vrs> | (it's just an example for how to organize the layout part of a config) |
| 2020-12-12 23:20:03 | <By_JumperX4[m]> | hmmm |
| 2020-12-12 23:20:07 | <By_JumperX4[m]> | I got some big error |
| 2020-12-12 23:20:15 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/NuQDBBmHRSzpzzfqUaKUkmqG/message.txt > |
| 2020-12-12 23:20:37 | <By_JumperX4[m]> | so basically it says that the first line under `main - do` is wrong because there is an equals |
| 2020-12-12 23:22:04 | <vrs> | comment that out and see what happens |
| 2020-12-12 23:22:12 | <By_JumperX4[m]> | and now I understand why I don't get erros when doing `mod+q` |
| 2020-12-12 23:22:15 | <By_JumperX4[m]> | xmessage isn't installed |
| 2020-12-12 23:23:43 | <By_JumperX4[m]> | uuuh then it tells me that the line after that one is wrong because it starts by a `,` |
| 2020-12-12 23:23:56 | <By_JumperX4[m]> | but if I replace the `,` by a `{` I still get errors |
| 2020-12-12 23:24:39 | <By_JumperX4[m]> | ima try commenting everything in this |
| 2020-12-12 23:25:00 | <vrs> | I think you'll have to learn at least the syntax to be productive here |
| 2020-12-12 23:26:54 | <vrs> | in this case, you're dealing with https://en.wikibooks.org/wiki/Haskell/More_on_datatypes#Named_Fields_(Record_Syntax) |
| 2020-12-12 23:28:53 | <By_JumperX4[m]> | oof |
| 2020-12-12 23:31:57 | <By_JumperX4[m]> | I understand nothing of this lmao |
| 2020-12-12 23:34:32 | <vrs> | { a = b, c = d, ... } is what you need |
| 2020-12-12 23:39:14 | × | notis quits (~notis@45.134.22.48) (Ping timeout: 260 seconds) |
| 2020-12-12 23:41:33 | × | growpotk- quits (~growpotki@130-45-30-154.dyn.grandenetworks.net) (Ping timeout: 260 seconds) |
| 2020-12-12 23:43:13 | <dminuoso> | By_JumperX4[m]: The error message is misleading because we have a complex grammar and a parser not well tuned for good errors. |
| 2020-12-12 23:44:00 | <dminuoso> | Sometimes GHC, the haskell compiler used here, will emit incorrect suggestions like "Perhaps ..." - they're just heuristics that can be wrong |
| 2020-12-12 23:44:26 | <By_JumperX4[m]> | oh ok |
| 2020-12-12 23:45:09 | <By_JumperX4[m]> | and how can I know where the problem is then ? |
| 2020-12-12 23:45:19 | <dminuoso> | Show us your source code |
| 2020-12-12 23:45:39 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/QdRVZrUFKMKaNyUhoYUFoUEV/message.txt > |
| 2020-12-12 23:46:04 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/zuXmLlhCIDkrEBQFHpVkwmEJ/message.txt > |
| 2020-12-12 23:46:27 | <dminuoso> | By_JumperX4[m]: Id say you accidentally deleted a line there. |
| 2020-12-12 23:46:46 | <By_JumperX4[m]> | oh |
| 2020-12-12 23:47:02 | <By_JumperX4[m]> | can you repair that ? |
| 2020-12-12 23:47:05 | <dminuoso> | Right before the line of `{ manageHook ...` |
| 2020-12-12 23:48:06 | <dminuoso> | By_JumperX4[m]: You probably want the main definition to be: `main = xmonad $ def ...` |
| 2020-12-12 23:48:40 | <By_JumperX4[m]> | that seems to repair things |
| 2020-12-12 23:48:41 | <By_JumperX4[m]> | noice |
| 2020-12-12 23:49:02 | <By_JumperX4[m]> | now I'll try to repair other errors |
| 2020-12-12 23:51:17 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/uceiSswHVAOEhhyUSKfrVQaZ/message.txt > |
| 2020-12-12 23:51:18 | <By_JumperX4[m]> | yes |
| 2020-12-13 00:33:13 | × | wonko7 quits (~wonko7@2a01:e35:2ffb:7040:14a1:46f4:68f7:2133) (Ping timeout: 272 seconds) |
| 2020-12-13 00:52:56 | × | ybenel quits (~Mandalore@unaffiliated/ybenel) (Ping timeout: 258 seconds) |
| 2020-12-13 00:54:32 | → | ybenel joins (~Mandalore@unaffiliated/ybenel) |
| 2020-12-13 01:07:16 | × | daphnis quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 2020-12-13 01:07:36 | × | daphnis_ quits (~daphnis@cm-84.214.179.98.getinternet.no) (Ping timeout: 240 seconds) |
| 2020-12-13 01:12:59 | × | ybenel quits (~Mandalore@unaffiliated/ybenel) (Quit: "Once Ago I Couldn't Sleep") |
| 2020-12-13 01:22:56 | × | xaltsc quits (~xaltsc@unaffiliated/xaltsc) (Ping timeout: 240 seconds) |
| 2020-12-13 01:44:28 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 2020-12-13 01:45:05 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 2020-12-13 01:45:27 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 2020-12-13 01:45:28 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 256 seconds) |
| 2020-12-13 01:59:04 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2020-12-13 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` |
| 2020-12-13 02:21:51 | <By_JumperX4[m]> | but I don't really know how to |
| 2020-12-13 02:29:28 | × | jchia quits (~jchia@58.32.35.91) (Ping timeout: 246 seconds) |
| 2020-12-13 02:32:37 | × | rabliatu quits (~quassel@107.158.96.75) (Ping timeout: 264 seconds) |
| 2020-12-13 02:33:06 | × | gzj quits (~gzj@unaffiliated/gzj) (Remote host closed the connection) |
| 2020-12-13 02:33:26 | → | gzj joins (~gzj@unaffiliated/gzj) |
| 2020-12-13 02:34:18 | → | jchia joins (~jchia@58.32.71.163) |
| 2020-12-13 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` |
| 2020-12-13 02:38:18 | <vrs> | but you might run into precedence issues |
| 2020-12-13 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 |
| 2020-12-13 02:41:18 | By_JumperX4[m] | sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/AXEIzuagtAzQdOsnIGJoAOpY/message.txt > |
| 2020-12-13 02:46:17 | <vrs> | more like this https://hastebin.com/anacuzizup.yaml |
| 2020-12-13 02:48:47 | <By_JumperX4[m]> | it compiles |
| 2020-12-13 02:49:02 | <By_JumperX4[m]> | now let's see how it looks |
| 2020-12-13 02:49:32 | <By_JumperX4[m]> | the `layoutHook=avoidStruts` doesn't seems to work |
| 2020-12-13 02:49:46 | <By_JumperX4[m]> | my windows are still on top of xmobar :/ |
| 2020-12-13 02:50:14 | × | gzj quits (~gzj@unaffiliated/gzj) (Ping timeout: 258 seconds) |
| 2020-12-13 02:50:38 | <By_JumperX4[m]> | vrs: why `avoidStruts $ spaced ||| Full` ? |
| 2020-12-13 02:50:47 | <By_JumperX4[m]> | why that spaced and full ? |
| 2020-12-13 02:52:05 | <vrs> | avoidstruts is a layout modifier, spaced (which we just defined) and full are layouts on their own |
| 2020-12-13 02:52:23 | <vrs> | spaced ||| Full means we can cycle through the layouts (of which we currently have two) with mod+space |
| 2020-12-13 02:52:31 | <Irishluck83> | yeah, i don't think you need to do spaced |
| 2020-12-13 02:52:52 | <By_JumperX4[m]> | I just have GridRation (4/3) and Full |
| 2020-12-13 02:52:53 | <vrs> | you don't need to but it greatly helps readability |
| 2020-12-13 02:53:05 | <By_JumperX4[m]> | I don't see why there is spaced in what you sent ? |
| 2020-12-13 02:53:19 | <vrs> | (I was figuring you wanted spaces in your grid) |
| 2020-12-13 02:53:27 | <By_JumperX4[m]> | yea |
| 2020-12-13 02:53:35 | <By_JumperX4[m]> | if possible no spaces at border |
| 2020-12-13 02:53:50 | <By_JumperX4[m]> | only spaces between windows |
| 2020-12-13 02:54:21 | <By_JumperX4[m]> | but for any reason there's still my windows above my xmobar |
| 2020-12-13 02:55:34 | <vrs> | and avoidStruts $ (spaced ||| Full) ? |
| 2020-12-13 02:56:34 | <By_JumperX4[m]> | compilation succeed, gonna restart xmonad |
| 2020-12-13 02:56:53 | <By_JumperX4[m]> | still above my bar |
| 2020-12-13 02:57:05 | <By_JumperX4[m]> | oh no |
| 2020-12-13 02:57:08 | <By_JumperX4[m]> | just some lag |
All times are in UTC.