Logs on 2021-12-28 (liberachat/#xmonad)
| 00:08:57 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Ping timeout: 240 seconds) |
| 00:32:04 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 02:05:51 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 02:08:16 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 03:02:37 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 240 seconds) |
| 03:07:07 | × | steve__ quits (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 268 seconds) |
| 03:22:47 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 03:52:35 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 03:55:02 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 03:57:21 | × | td_ quits (~td@muedsl-82-207-238-094.citykom.de) (Ping timeout: 256 seconds) |
| 03:59:08 | → | td_ joins (~td@muedsl-82-207-238-177.citykom.de) |
| 05:02:06 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Remote host closed the connection) |
| 05:06:22 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 05:22:37 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 240 seconds) |
| 06:04:02 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::917a) |
| 06:28:01 | × | x88x88x quits (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) (Remote host closed the connection) |
| 06:28:50 | → | x88x88x joins (~x88x88x@2001:19f0:5:39a8:5400:3ff:feb6:73cb) |
| 07:09:43 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Remote host closed the connection) |
| 08:50:58 | → | edun joins (~e@user/edun) |
| 09:16:58 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer) |
| 09:17:41 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 09:19:37 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::917a) (Ping timeout: 240 seconds) |
| 10:09:47 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 14:26:56 | → | aplainze1akind joins (~johndoe@captainludd.powered.by.lunarbnc.net) |
| 14:27:03 | × | aplainzetakind quits (~johndoe@captainludd.powered.by.lunarbnc.net) (Read error: Connection reset by peer) |
| 14:35:40 | → | ebray187 joins (~ebray187@2800:150:129:17c4:224:1dff:fed5:599e) |
| 15:50:57 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Ping timeout: 240 seconds) |
| 16:21:49 | → | dirtcastle joins (~dirtcastl@103.43.203.229) |
| 16:29:41 | <dirtcastle> | can u help me find the bug in my code. New to xmonad & Haskell. Can't find answers in Google/reddit https://dpaste.org/RNbS# |
| 16:30:32 | <dirtcastle> | Full config : https://dpaste.org/JYJ7 |
| 16:30:36 | <geekosaur> | what were you expecting, and what happens instead? |
| 16:31:12 | <geekosaur> | also, were you trying to use this with spawnOnce or similar? |
| 16:31:49 | <dirtcastle> | I expected dorectfloat. Trying to use doShift along with it |
| 16:32:05 | <dirtcastle> | geekosaur: yes |
| 16:32:32 | <dirtcastle> | Oh. Should I make a new hook. ? |
| 16:33:35 | <dirtcastle> | Also I don't think the syntax is crct. Can't figure out by myself with docs,google and reddit |
| 16:33:37 | <geekosaur> | no. manageSpawn is a predefined function that recognizes when a managed window appears in the manageHook and applies the spawnOn or etc. manager to it |
| 16:34:36 | <geekosaur> | yes, the syntax is wrong. but the thought process seems to be wrong as well. I think you intended to use spawnAndDo, and you'd just use the predefined manageSpawn in the manageHook |
| 16:37:21 | <geekosaur> | spawnAndDo (doRectFloat W.RationalRect 0.25 0.25 0.5 0.5 <+> doShift 1) "emacs" |
| 16:39:00 | <dirtcastle> | Oh. I didn't think of using spawnAndDo. The doc said this " managespawn: provides a managhook to react on process spawned with spawnOn, spawnhere. So I thought I can configure in managespawn and it would be sufficient. |
| 16:40:02 | <geekosaur> | no, manageSpawn is self-contained |
| 16:40:29 | <geekosaur> | it gets its instructions as to what to do from the spawn function you use (spawnOn, spawnHere, spawnAndDo, etc.) |
| 16:41:29 | <geekosaur> | it also knows how to verify that the window that it applies to is the one you actually spawned, instead of some other window that happens to have the same className or etc, |
| 16:43:59 | <dirtcastle> | Ohh that's neat. |
| 16:44:14 | <dirtcastle> | I added spawnAndDo to startuphook |
| 16:54:54 | <geekosaur> | what you were doing originally (with the syntax error corrected) would be what you do if you wanted it to apply to all emacs windows (well, fixing the className error also), whereas spawnAndDo will apply it specifically to that spawned window |
| 16:56:42 | <geekosaur> | your syntax and other issues were: the `&` (I'm not sure where you got that from, doRectFloat takes an ordinary argument. oh, hm, I screwed up above, left off parentheses, as did you) and by convention a className starts with an uppercase letter and emacs obeys that convention so it would never have matched |
| 16:56:54 | <geekosaur> | spawnAndDo (doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift 1) "emacs" |
| 16:57:06 | <geekosaur> | sorry for that |
| 16:59:33 | <dirtcastle> | I assumed since I wrote it inside managespawn it will only affect windows spawmed using spawnOn. My bad |
| 17:00:11 | → | gdd joins (~gdd@129.199.146.230) |
| 17:00:41 | <geekosaur> | no, as you wrote it manageSpawwn was just an ordinary list that wouldn't be distinguished from any other |
| 17:03:09 | <dirtcastle> | Ohhhh. It just adds to the total list of instructions in myManageHooks. |
| 17:12:01 | <geekosaur> | right |
| 17:27:37 | → | allbery_b joins (~geekosaur@xmonad/geekosaur) |
| 17:27:37 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Killed (NickServ (GHOST command used by allbery_b))) |
| 17:27:40 | allbery_b | is now known as geekosaur |
| 17:41:32 | × | gdd quits (~gdd@129.199.146.230) (Ping timeout: 240 seconds) |
| 17:44:59 | <dirtcastle> | No instance for (Num WorkspaceId) arising from the literal '1' |
| 17:44:59 | <dirtcastle> | In the first argument of 'doShift', Namely '1' |
| 17:44:59 | <dirtcastle> | In the second argument of 'spawnAndDo' , namely |
| 17:44:59 | <dirtcastle> | '(doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift 1) "Emacs" |
| 17:45:26 | <dirtcastle> | This is the error I got |
| 17:46:03 | <dirtcastle> | Tried with emacs and Emacs |
| 17:46:10 | <geekosaur> | oh, I missed the quotes |
| 17:46:17 | <geekosaur> | spawnAndDo (doRectFloat (W.RationalRect 0.25 0.25 0.5 0.5) <+> doShift "1") "emacs" |
| 17:46:24 | <geekosaur> | WorkspaceId is String |
| 17:46:44 | <geekosaur> | what I get for doing stuff before my first coffee :/ |
| 17:50:23 | <dirtcastle> | Thank you so much for your time. I was able to implement all the features I wanted with xmonad. |
| 18:15:22 | × | dirtcastle quits (~dirtcastl@103.43.203.229) (Read error: Connection reset by peer) |
| 18:21:48 | → | dirtcastle joins (~dirtcastl@103.43.203.225) |
| 18:37:18 | × | dirtcastle quits (~dirtcastl@103.43.203.225) (Ping timeout: 260 seconds) |
| 19:48:51 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 19:50:37 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 19:53:51 | → | steve__ joins (~steve@ool-182c2b80.dyn.optonline.net) |
| 20:31:14 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 20:45:13 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::917a) |
| 20:54:53 | × | ebray187 quits (~ebray187@2800:150:129:17c4:224:1dff:fed5:599e) (Quit: Konversation terminated!) |
| 21:52:17 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::917a) (Ping timeout: 240 seconds) |
| 22:17:49 | × | edun quits (~e@user/edun) (Ping timeout: 268 seconds) |
| 23:52:08 | → | altker128 joins (~vr@192-063-181-006.res.spectrum.com) |
| 23:52:15 | <altker128> | Hey guys |
| 23:52:27 | <geekosaur> | hi |
| 23:57:42 | <altker128> | I'm curious if anyone is using xmonad with something like MATE or potentially KDE . I'm thinking about xmonad because if I understand, it supports different workspaces per monitor |
| 23:58:22 | <altker128> | I'm fine with the way MATE handles notifications, device insertion and the icons on the desktop but if I understood correctly, some of that wouldn't work if one used a different window manager ? |
| 23:58:29 | <altker128> | i.e. icons on the desktop? |
| 23:58:56 | <geekosaur> | I use it with MATE https://github.com/geekosaur/xmonad.hs/tree/skkukuk |
| 23:59:26 | <geekosaur> | the desktop icons and device insertion etc. are handled by the file manager (caja), not the window manager (marco) which is replaced by xmonad |
All times are in UTC on 2021-12-28.