| 2022-05-30 00:18:07 +0000 | tremon_ | (~tremon@83-84-18-241.cable.dynamic.v4.ziggo.nl) (Quit: getting boxed in) |
| 2022-05-30 00:46:47 +0000 | stackdroid18 | (14094@user/stackdroid) (Quit: Lost terminal) |
| 2022-05-30 00:58:54 +0000 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 276 seconds) |
| 2022-05-30 00:59:58 +0000 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-05-30 01:26:21 +0000 | steve__ | (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 256 seconds) |
| 2022-05-30 01:41:54 +0000 | Rotaerk | (~Rotaerk@2601:989:200:6a0:bb79:7e65:6223:b5a6) |
| 2022-05-30 01:42:52 +0000 | <Rotaerk> | is there some way with xmonad to define or save the way a desktop looks so that you don't have to manually restore it later? by that I mean ... if I have run a certain set of programs and laid them out in a particular way |
| 2022-05-30 02:03:59 +0000 | banc | (banc@gateway/vpn/airvpn/banc) (Ping timeout: 246 seconds) |
| 2022-05-30 02:26:09 +0000 | banc | (banc@gateway/vpn/airvpn/banc) |
| 2022-05-30 03:28:15 +0000 | Rotaerk | (~Rotaerk@2601:989:200:6a0:bb79:7e65:6223:b5a6) (Quit: Client closed) |
| 2022-05-30 03:42:29 +0000 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 255 seconds) |
| 2022-05-30 04:45:29 +0000 | mvk | (~mvk@2607:fea8:5ce3:8500::ba9a) (Ping timeout: 255 seconds) |
| 2022-05-30 06:19:46 +0000 | chomwitt | (~chomwitt@2a02:587:dc10:4700:ae5d:2d37:a960:78b1) |
| 2022-05-30 07:12:07 +0000 | cfricke | (~cfricke@user/cfricke) |
| 2022-05-30 07:22:13 +0000 | steve__ | (~steve@ool-182c2b80.dyn.optonline.net) |
| 2022-05-30 07:35:21 +0000 | <dminuoso> | raghavgururajan: Take a look at XMonad.Hooks.PositionStoreHooks from xmonad-contrib |
| 2022-05-30 07:40:36 +0000 | nev_yn | (~k.dockz@c-68-43-234-118.hsd1.mi.comcast.net) |
| 2022-05-30 07:42:52 +0000 | nevyn | (~k.dockz@c-68-43-234-118.hsd1.mi.comcast.net) (Ping timeout: 272 seconds) |
| 2022-05-30 08:50:19 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-05-30 08:52:54 +0000 | mc47 | (~mc47@xmonad/TheMC47) |
| 2022-05-30 09:00:21 +0000 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) (Quit: You have been kicked for being idle) |
| 2022-05-30 09:03:04 +0000 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 258 seconds) |
| 2022-05-30 10:17:26 +0000 | redgloboli_ | (~redglobol@user/redgloboli) (Ping timeout: 258 seconds) |
| 2022-05-30 10:17:36 +0000 | redgloboli | (~redglobol@user/redgloboli) |
| 2022-05-30 11:00:28 +0000 | chomwitt | (~chomwitt@2a02:587:dc10:4700:ae5d:2d37:a960:78b1) (Quit: Leaving) |
| 2022-05-30 11:06:59 +0000 | chomwitt | (~chomwitt@2a02:587:dc10:4700:ae5d:2d37:a960:78b1) |
| 2022-05-30 12:54:13 +0000 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 3.5) |
| 2022-05-30 13:14:21 +0000 | cfricke | (~cfricke@user/cfricke) |
| 2022-05-30 13:31:30 +0000 | cfricke | (~cfricke@user/cfricke) (Ping timeout: 250 seconds) |
| 2022-05-30 13:32:59 +0000 | cfricke | (~cfricke@user/cfricke) |
| 2022-05-30 13:48:27 +0000 | cfricke | (~cfricke@user/cfricke) (Ping timeout: 240 seconds) |
| 2022-05-30 15:26:11 +0000 | steve__ | (~steve@ool-182c2b80.dyn.optonline.net) (Ping timeout: 246 seconds) |
| 2022-05-30 15:56:27 +0000 | chomwitt | (~chomwitt@2a02:587:dc10:4700:ae5d:2d37:a960:78b1) (Ping timeout: 260 seconds) |
| 2022-05-30 15:59:36 +0000 | chomwitt | (~chomwitt@athedsl-32480.home.otenet.gr) |
| 2022-05-30 17:26:50 +0000 | matijja` | (~matijja@193.77.181.201) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2022-05-30 17:27:11 +0000 | matijja | (~matijja@193.77.181.201) |
| 2022-05-30 17:29:06 +0000 | redgloboli | (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 2022-05-30 17:30:14 +0000 | redgloboli | (~redglobol@user/redgloboli) |
| 2022-05-30 18:05:15 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 276 seconds) |
| 2022-05-30 18:26:59 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-05-30 18:43:53 +0000 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-05-30 18:44:14 +0000 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
| 2022-05-30 18:56:36 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) (Ping timeout: 276 seconds) |
| 2022-05-30 19:14:57 +0000 | stackdroid18 | (14094@user/stackdroid) |
| 2022-05-30 19:17:00 +0000 | redgloboli | (~redglobol@user/redgloboli) (Quit: ...enter the matrix...) |
| 2022-05-30 19:17:48 +0000 | redgloboli | (~redglobol@user/redgloboli) |
| 2022-05-30 19:18:31 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) |
| 2022-05-30 19:18:38 +0000 | dschrempf | (~dominik@070-207.dynamic.dsl.fonira.net) (Client Quit) |
| 2022-05-30 19:29:34 +0000 | cfricke | (~cfricke@user/cfricke) |
| 2022-05-30 20:18:21 +0000 | chomwitt | (~chomwitt@athedsl-32480.home.otenet.gr) (Quit: Leaving) |
| 2022-05-30 20:18:42 +0000 | chomwitt | (~chomwitt@2a02:587:dc11:7d00:f083:eec9:d0b0:a50f) |
| 2022-05-30 20:44:12 +0000 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 3.5) |
| 2022-05-30 20:51:16 +0000 | henninb | (~henninb@97-116-138-116.mpls.qwest.net) |
| 2022-05-30 20:58:07 +0000 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2022-05-30 21:00:16 +0000 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2022-05-30 21:18:41 +0000 | nomadxx3 | (~lanomadx@69.167.36.18) (Ping timeout: 258 seconds) |
| 2022-05-30 21:19:40 +0000 | nomadxx3 | (~lanomadx@69.167.42.149) |
| 2022-05-30 21:26:00 +0000 | <henninb> | Greetings, I want place a `spawn` call within the lambda function `+ zipM "M-" "Move to workspace" wsKeys [0..] (withNthWorkspace (\i -> W.greedyView i))` any thoughts on how I can do that? |
| 2022-05-30 21:26:12 +0000 | liskin[m] | (~liskinmat@2001:470:69fc:105::768) |
| 2022-05-30 21:39:33 +0000 | <vrs> | `(withNthWorkspace (\i -> W.greedyView i)) >> spawn foo`? |
| 2022-05-30 21:41:05 +0000 | <vrs> | give or take parens in the correct place, I don't know what wsKeys does |
| 2022-05-30 21:41:42 +0000 | <henninb> | vrs, let me give that a try. thank you for the tip. |
| 2022-05-30 21:43:50 +0000 | <vrs> | in general two things happening in the X monad (with type X () or something that can specialize to X (), such as the type of `spawn`) can be composed by >> to happen after one another |
| 2022-05-30 21:44:33 +0000 | <henninb> | vrs, that is really good advice. clearly I have a lot to learn :) |
| 2022-05-30 21:45:12 +0000 | <vrs> | also you may want to use safeSpawn but worry about that later https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-Run.html#v:safeSpawn |
| 2022-05-30 21:45:53 +0000 | <henninb> | I will add this to my notes to go back and fix this. |
| 2022-05-30 21:45:59 +0000 | <henninb> | thank you for that. |
| 2022-05-30 21:46:53 +0000 | <henninb> | vrs, if I have another zipM line after this one I assume I need to add parenthesis or something to prevent a compiler error? |
| 2022-05-30 21:51:07 +0000 | <vrs> | presumably, but I don't know your config and am going to bed real soon |
| 2022-05-30 21:51:21 +0000 | <henninb> | https://github.com/henninb/dotfiles/blob/main/.xmonad/lib/Local/KeyBindings.hs#L197 |
| 2022-05-30 21:51:30 +0000 | <henninb> | no problem, thanks for your help vrs. |
| 2022-05-30 21:55:51 +0000 | <vrs> | `withNthWorkspace (\i -> W.greedyView i)` takes an argument and `spawn "foo"` does not, those two won't compose |
| 2022-05-30 21:56:13 +0000 | <vrs> | try manually expanding that zipM for a specific instance you care about and test with that |
| 2022-05-30 21:59:12 +0000 | <vrs> | in my config I have bindings looking like this: , ("M-c", hookNext "centerfloat" True >> ql "calendar") |
| 2022-05-30 22:00:19 +0000 | <vrs> | (where ql is a wrapper for spawn and `hookNext "centerfloat" True` happens in X ()) |
| 2022-05-30 22:01:06 +0000 | <henninb> | ok, that help. I will try to expand the zipM. |
| 2022-05-30 22:18:22 +0000 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 2022-05-30 22:30:24 +0000 | <geekosaur> | henninb, looking at your config, I *think* you want `withNthWorkspace (\i -> ...) >> spawn "foo"`. Haven't tested it though |
| 2022-05-30 22:44:53 +0000 | chomwitt | (~chomwitt@2a02:587:dc11:7d00:f083:eec9:d0b0:a50f) (Ping timeout: 244 seconds) |
| 2022-05-30 22:49:55 +0000 | <henninb> | i will give that a try geekosaur, thank you for the tip |
| 2022-05-30 22:53:05 +0000 | <henninb> | geekosaur, doesn't seem to work. I wonder If I have a data type issue. not sure if what I am attempting is possible. |
| 2022-05-30 23:02:30 +0000 | <geekosaur> | you have quite a lot more going on than usual in your key bindings, so hopefully it's a matter of figuring out how to fit it in |
| 2022-05-30 23:04:14 +0000 | srk- | (~sorki@user/srk) |
| 2022-05-30 23:06:11 +0000 | srk | (~sorki@user/srk) (Ping timeout: 255 seconds) |
| 2022-05-30 23:06:56 +0000 | srk- | srk |
| 2022-05-30 23:09:57 +0000 | srk- | (~sorki@user/srk) |
| 2022-05-30 23:13:41 +0000 | srk | (~sorki@user/srk) (Ping timeout: 258 seconds) |
| 2022-05-30 23:13:42 +0000 | srk- | srk |
| 2022-05-30 23:24:40 +0000 | <henninb> | geekosaur, agreed, I will keep working at it. Thanks for looking at it. |
| 2022-05-30 23:28:08 +0000 | <geekosaur> | I just looked up `withNthWorkspace`. Looks like you want `\wn -> withNthWorkspace (\i -> ...) wn >> spawn "foo"` |
| 2022-05-30 23:30:39 +0000 | <henninb> | trying that now. |
| 2022-05-30 23:36:11 +0000 | stackdroid18 | (14094@user/stackdroid) (Quit: hasta la vista... tchau!) |
| 2022-05-30 23:41:36 +0000 | <henninb> | geekosaur, I just tried this and it is not working. `++ zipM "M-" "Move window to workspace" wsKeys [0..] (\wn -> withNthWorkspace W.greedyView $ wn >> spawn "foo")` It was compiling until I added `spawn "foo"`. |
| 2022-05-30 23:42:30 +0000 | <geekosaur> | `$` won't work there |
| 2022-05-30 23:42:45 +0000 | <henninb> | I will remove it. |
| 2022-05-30 23:42:45 +0000 | <geekosaur> | yes, it acts like parentheses, but they extend too far in this case |
| 2022-05-30 23:43:19 +0000 | <henninb> | it compiles!!! yeah |
| 2022-05-30 23:44:19 +0000 | <henninb> | thank you geekosaur |
| 2022-05-30 23:47:56 +0000 | <geekosaur> | np |