Logs on 2021-12-11 (liberachat/#xmonad)
| 00:03:31 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 00:25:15 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 00:28:29 | → | curiousgay_ joins (~AdminUser@77-120-141-90.kha.volia.net) |
| 00:37:02 | × | curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving) |
| 00:37:46 | × | curiousgay_ quits (~AdminUser@77-120-141-90.kha.volia.net) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 00:38:07 | → | curiousgay joins (~AdminUser@77-120-141-90.kha.volia.net) |
| 00:59:52 | → | cyr4x3 joins (~cyr4x3@139.47.114.87) |
| 01:00:41 | × | cyr4x3 quits (~cyr4x3@139.47.114.87) (Client Quit) |
| 01:18:19 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Ping timeout: 252 seconds) |
| 01:35:38 | × | curiousgay quits (~AdminUser@77-120-141-90.kha.volia.net) (Ping timeout: 256 seconds) |
| 02:35:50 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-dev) |
| 02:36:45 | → | catman joins (~catman@user/catman) |
| 03:04:02 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 260 seconds) |
| 03:20:51 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 03:29:01 | × | td_ quits (~td@94.134.91.156) (Ping timeout: 250 seconds) |
| 03:30:45 | → | td_ joins (~td@94.134.91.156) |
| 05:26:39 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-rc1) |
| 05:50:42 | → | catman joins (~catman@user/catman) |
| 05:51:29 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 09:00:16 | × | Damia0o[m] quits (~damian0om@2001:470:69fc:105::1:2fdc) (Quit: You have been kicked for being idle) |
| 09:00:16 | × | stsaintwyy[m] quits (~stsaintwy@2001:470:69fc:105::1:3181) (Quit: You have been kicked for being idle) |
| 09:22:28 | → | curiousgay joins (~quassel@77-120-141-90.kha.volia.net) |
| 10:16:57 | × | curiousgay quits (~quassel@77-120-141-90.kha.volia.net) (Ping timeout: 252 seconds) |
| 10:21:18 | × | electr0n quits (~electr0n@about/security/founder/electr0n) (Ping timeout: 260 seconds) |
| 10:23:37 | → | seschwar joins (~seschwar@user/seschwar) |
| 11:54:37 | <Solid> | liskin: I guess for the release procedure of x11-xft I can just follow the relevant parts from MAINTAINERS.md? |
| 12:01:18 | <geekosaur> | aplainzetakind, pretty sure yu cannot build xmonad without XRandR support these days. can you do: ghc -e "Graphics.X11.openDisplay [] >>= Graphics.X11.Xinerama.getScreenInfo" |
| 12:01:58 | <geekosaur> | if you're using stack or cabal you may need to use stack exec or cabal exec to do this |
| 12:02:31 | <Solid> | what's a "merged display situation"? |
| 12:03:57 | <geekosaur> | they're getting the bounding box of both their monitors as a single "monitor" in xmonad, as if xmonad were somehow not getting xinerama/XRandR display information |
| 12:06:26 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 12:08:05 | <Solid> | Oo |
| 12:08:13 | <Solid> | that's certainly very weird |
| 12:10:21 | <geekosaur> | aplainzetakind, also helpful: stack ghci or cabal repl, then: XOpenDisplay [] >>= getCleanedScreenInfo |
| 12:11:20 | <geekosaur> | sorry, that's: openDisplay [] >>= getCleanedScreenInfo |
| 12:11:49 | <geekosaur> | for reference, mine produces: [Rectangle {rect_x = 1920, rect_y = 0, rect_width = 1366, rect_height = 768},Rectangle {rect_x = 0, rect_y = 0, rect_width = 1920, rect_height = 1080}] |
| 12:17:52 | <geekosaur> | also might be interesting to do that with getScreenInfo instead of getCleanedScreenInfo and compare the results |
| 12:18:16 | <geekosaur> | (I would expect that any bugs in nubScreens would have been found by now, but who knows?) |
| 12:27:21 | <aplainzetakind> | geekosaur: I don't have Graphics.X11 |
| 12:27:43 | <aplainzetakind> | But, I should probably take into account the xmonad environment. |
| 12:27:55 | <geekosaur> | you wouldn't have xmonad if that were the case. stack user? |
| 12:28:11 | <geekosaur> | or cabal user? |
| 12:28:32 | <aplainzetakind> | Should I also pass -package-env=xmonad? That's where I installed the --lib's. |
| 12:28:34 | <aplainzetakind> | cabal |
| 12:28:41 | <geekosaur> | right, you were asking about cabal and environment files yeterday |
| 12:29:00 | <geekosaur> | so, this will be in cabal's store and you will need to use cabal repl |
| 12:29:16 | <geekosaur> | and yes you'll need --package-env |
| 12:29:54 | <aplainzetakind> | cabal: unrecognized 'repl' option `--package-env=xmonad' |
| 12:30:01 | <Solid> | liskin: it just worked \o/ thank you for making this so easy with the CI workflows |
| 12:30:05 | <aplainzetakind> | repl comes after? |
| 12:30:08 | <geekosaur> | you didn't export the X11 libs soo --package-env won't be enough to access them |
| 12:30:20 | <geekosaur> | comes after, yes |
| 12:30:23 | <aplainzetakind> | No. |
| 12:30:34 | <aplainzetakind> | I mean no to coming after. |
| 12:30:43 | <aplainzetakind> | Both ways it says unrecognized option. |
| 12:31:12 | <geekosaur> | hm |
| 12:31:33 | <geekosaur> | although actually you should not need it here since it's still in the store and cabal repl gives you access to the store |
| 12:31:39 | <geekosaur> | so just go without it |
| 12:32:13 | <aplainzetakind> | Can't import Graphics.X11 |
| 12:32:23 | <aplainzetakind> | in a generic repl |
| 12:32:41 | <geekosaur> | mm |
| 12:33:03 | <aplainzetakind> | Should I go to ~/.xmonad and do it there perhaps? |
| 12:33:17 | <geekosaur> | you don't really want a generic one, you want the one in the xmonad directory. but at worst `cabal repl --package=X11` should work |
| 12:33:48 | <geekosaur> | that said, for the other tests you need to be in ~/.xmonad so you get the xmonad and xmonad-contrib libs, so yes go there |
| 12:34:24 | <aplainzetakind> | `cabal repl --package=X11` also can't import Graphics.X11 |
| 12:34:29 | <aplainzetakind> | Is my store borked? |
| 12:37:47 | <geekosaur> | blah. this is supposed ti work but it's not working here either |
| 12:37:53 | <geekosaur> | are you in ~/.xmonad? |
| 12:38:18 | <geekosaur> | I guess you have to use cabal repl in a directory that has access to your store |
| 12:38:25 | <geekosaur> | that works for me here |
| 12:38:32 | <aplainzetakind> | I am in ~/.xmonad |
| 12:39:09 | <geekosaur> | uh. no, it doesn't work for me after all :( |
| 12:39:23 | <geekosaur> | I had expected dependencies would be at least visible, but I guess not |
| 12:40:00 | <aplainzetakind> | One question, should I have two X displays or one? |
| 12:40:14 | <aplainzetakind> | When a second monitor is connected that is. |
| 12:40:43 | <obimod> | one display, two screens |
| 12:40:52 | <obimod> | i think |
| 12:40:55 | <geekosaur> | yes |
| 12:41:00 | <geekosaur> | also one X11 Screen |
| 12:41:36 | <geekosaur> | because you can't move windows or workspaces between X11 Screens, because the Screen abstraction dates from a day when each Screen had its own independent video card / framebuffer |
| 12:41:54 | <geekosaur> | which is why X11 uses the hack of carving multiple mnonitors out of a single root window |
| 12:42:17 | <geekosaur> | okay, I guess you ignore that first part and do the other two, which I know work |
| 12:42:41 | <obimod> | geekosaur: good to know :) |
| 12:43:02 | <geekosaur> | [11 12:10:21] <geekosaur> aplainzetakind, also helpful: stack ghci or cabal repl, then: XOpenDisplay [] >>= getCleanedScreenInfo |
| 12:43:12 | <geekosaur> | oh crap that has the other bug |
| 12:43:18 | <geekosaur> | [11 12:10:21] <geekosaur> aplainzetakind, also helpful: stack ghci or cabal repl, then: openDisplay [] >>= getCleanedScreenInfo |
| 12:43:37 | <geekosaur> | used the C name instread of the Haskell one |
| 12:44:42 | <aplainzetakind> | Well, I don't have these names in the repl either. |
| 12:45:23 | <geekosaur> | o.O |
| 12:45:27 | <aplainzetakind> | Running cabal in the environment is not working somehow. |
| 12:45:37 | <geekosaur> | now I wonder how you built this in the first place |
| 12:45:40 | <aplainzetakind> | Can I just run ghci with a flag for the env? |
| 12:46:02 | <aplainzetakind> | As in hvr's comment. |
| 12:46:04 | <geekosaur> | ghci --package-env=xmonad |
| 12:46:10 | <geekosaur> | hopefully |
| 12:47:07 | <aplainzetakind> | single - but it works and I can import XMonad. |
| 12:47:14 | <aplainzetakind> | But not Graphics X11. |
| 12:47:20 | <aplainzetakind> | Because it's not in the env file. |
| 12:47:31 | <aplainzetakind> | Can I still access openDisplay? |
| 12:47:48 | <aplainzetakind> | Which module does it come from? |
| 12:48:26 | <Solid> | Graphics.X11.Xlib.Display |
| 12:48:35 | <geekosaur> | XMonad reexports it and getScreenInfo |
| 12:48:38 | <Solid> | oh but XMonad laso re-exports it |
| 12:49:08 | <Solid> | shouldn't you just be able to execute this in main? this might be the most painless way |
| 12:50:40 | <geekosaur> | well, point is I want to be able to find this out without the config in the way, just dumping server information as xmonad would receive it |
| 12:50:48 | <aplainzetakind> | [Rectangle {rect_x = 0, rect_y = 0, rect_width = 2560, rect_height = 1440}] |
| 12:51:06 | <geekosaur> | guh |
| 12:51:10 | <aplainzetakind> | Currently in arandr the monitors are laid out nested. |
| 12:51:36 | <geekosaur> | so you're getting one screen from xrandr |
| 12:51:51 | <geekosaur> | run xrandr on the command line to see what it says and pastebin the result |
| 12:51:56 | <geekosaur> | @where paste |
| 12:51:56 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 12:53:27 | <aplainzetakind> | http://dpaste.com//HQS8SQY97 |
| 12:54:21 | <aplainzetakind> | The monitors are part of the same screen. |
| 12:54:35 | <aplainzetakind> | Pretty sure this is not an xmonad problem actually. |
| 12:55:20 | <Solid> | `Screen 0: minimum 320 x 200, current 2560 x 1440` tells me that it only recognises one monitor (the HDMI-2 one) |
| 12:56:13 | <aplainzetakind> | No, the "screen" is a composite thing. |
| 12:56:22 | <aplainzetakind> | Let me arrange the monitors side by side. |
| 12:56:59 | <aplainzetakind> | https://dpaste.com//2V57VH55F |
| 12:57:15 | <aplainzetakind> | See, it sets that screen to be the smallest rectangle containing both monitors. |
| 12:57:38 | <Solid> | yes, but 2560x1440 was only the second monitor before, no? |
| 12:57:59 | <aplainzetakind> | The first output was because I arranged the monitors to be nested in arandr. |
| 12:58:13 | <Solid> | oh |
| 12:58:14 | <aplainzetakind> | So The smallest rectangle was the bigger monitor. |
| 12:58:24 | <aplainzetakind> | Otherwise things are unusable. |
| 13:01:46 | <geekosaur> | hm. are they set to be mirrored? |
| 13:03:48 | <aplainzetakind> | Does that mean cloned? |
| 13:04:05 | <geekosaur> | yes |
| 13:04:14 | <aplainzetakind> | No. |
| 13:04:50 | <aplainzetakind> | They show portions of that abstract screen, however they are arranged. |
| 13:05:02 | <geekosaur> | so with the monitors no longer overlapping, try the getCleanedScreenInfo thing again |
| 13:06:12 | <aplainzetakind> | [Rectangle {rect_x = 0, rect_y = 0, rect_width = 6985, rect_height = 4881}] |
| 13:06:20 | <aplainzetakind> | Moved quite a bit apart. |
| 13:07:06 | <aplainzetakind> | I saw an SO question having this issue, edited to say that it got fixed after a system update with newer drivers. |
| 13:07:15 | <aplainzetakind> | Can't find it now unfortunately. |
| 13:07:52 | <geekosaur> | yeh, I'm thinking at this point it's a driver issue |
| 13:08:16 | <aplainzetakind> | Found this: https://stackoverflow.com/questions/63887202/xrandr-two-screens-different-resolution-without-invisible-area |
| 13:08:21 | <geekosaur> | xmjonad is not being told by the X server that there are two monitors |
| 13:08:47 | <aplainzetakind> | I have nouveau and i915. |
| 13:09:02 | <aplainzetakind> | I could switch which is in use in xorg.conf maybe? |
| 13:09:15 | <aplainzetakind> | Is that a viable approach? |
| 13:09:38 | <geekosaur> | it's worth trying |
| 13:12:02 | <aplainzetakind> | Is there a handholdy guide to get me through without having to grok the entire xorg configuration. I have next to no knowledge on how to do that. |
| 13:20:51 | <geekosaur> | not really |
| 13:21:04 | <geekosaur> | https://bbs.archlinux.org/viewtopic.php?id=243402 may help some |
| 13:21:18 | <geekosaur> | although it's arch-specific |
| 14:30:39 | × | defjam quits (~eb0t@90.202.255.10) (Ping timeout: 265 seconds) |
| 14:32:27 | → | defjam joins (~eb0t@90.210.94.161) |
| 15:04:45 | <liskin> | Solid: good! |
| 16:07:39 | <Solid> | huh, I didn't know we had X.C.Example |
| 16:08:01 | <Solid> | I wonder if this might be a good place to keep the tutorial config in |
| 16:22:06 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 16:36:01 | <noex> | what would be the best way to arrange terminals in a certain configuration on different workspaces on startup? |
| 16:36:48 | <noex> | intuitively, i would think the startup hook, but that runs on restart |
| 16:37:46 | <Solid> | You can use spawnOnce (or spawnOnOnce) if you really only want to spawn these once per session |
| 16:38:03 | <Solid> | ( https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-SpawnOnce.html#v:spawnOnce ) |
| 16:40:13 | <noex> | nice, thanks. i'll give that a shot. |
| 16:42:03 | <Solid> | liskin: any more comments on https://github.com/xmonad/xmonad-contrib/pull/646/files ? |
| 17:07:15 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Quit: Lost terminal) |
| 17:29:22 | <MrElendig> | or one of the workspace modules maybe |
| 17:30:32 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Remote host closed the connection) |
| 17:32:14 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 17:35:35 | → | electr0n joins (~electr0n@about/security/founder/electr0n) |
| 17:53:44 | <liskin> | Solid: looks all right last time I looked |
| 17:54:33 | <Solid> | coolio |
| 18:05:29 | <liskin> | Solid: thanks for taking care of all this and sorry for not being around much |
| 18:05:38 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Ping timeout: 260 seconds) |
| 18:06:26 | <Solid> | ah that's totally fine; mental health is definitely more important than xmonad :) |
| 18:06:44 | <liskin> | Oh it's not just mental this time :-) |
| 18:06:52 | <liskin> | Although who knows |
| 18:07:29 | <Solid> | Oh right, you also hand some hand troubles (hopefully not more! :o) |
| 18:07:30 | <liskin> | Maybe it's just my body telling me it's time for a proper break, and since the brain wouldn't listen otherwise... ;-) |
| 18:07:43 | <liskin> | Yeah just hands |
| 18:08:05 | <liskin> | Should be fine but I need to make sure it's well enough to not come back |
| 18:10:13 | <Solid> | yeah I developed RSI in my right hand while I was in high school and to this day I can't use mice of a certain shape because in the span of like five minutes my hand will cramp like crazy |
| 18:10:23 | <Solid> | shit is scary |
| 18:12:36 | <liskin> | Oh |
| 18:13:17 | <liskin> | I really really hope it just goes back to its original state :-/ |
| 18:14:10 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.4-rc1) |
| 18:14:22 | <noex> | i struggled with that really bad recently as well. it was frustrating, and i even saw a doctor who gave me no useful direction at all. |
| 18:14:26 | <liskin> | I tried moving Ctrl to CapsLock to relieve the pinky a bit but there's not much else I can do without seriously disrupting the way I use the laptop |
| 18:15:24 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 18:15:30 | <liskin> | I'm seeing a physiotherapist next week. And by seeing I mean they booked a phone call. So... probably a waste of time? :-D |
| 18:16:05 | <noex> | so i made a video on what steps i took to cure mine. i have no clue if it could help someone else and i'm sorry if it sucks, but I documented some things I did: https://www.youtube.com/watch?v=Ub6bGTb9wpc |
| 18:16:36 | <noex> | definitely recommend looking at the linked video in the description |
| 18:17:02 | → | catman joins (~catman@user/catman) |
| 18:17:20 | <Solid> | Ah, a phone call, the best way to diagnose a physical symptom for sure! :D |
| 18:24:57 | <liskin> | noex: I'm hoping to not need a different keyboard (maybe naive but I haven't had trouble for several decades so maybe?) but those stretches look quite useful, I'll try those for a while, thanks! |
| 18:26:17 | <ectospasm> | I started using a Microsoft Natural Keyboard 4000 about 15 years ago. My RSI is barely noticeable since I switched. |
| 18:26:55 | <ectospasm> | I have numbness/tingling in my ulnar nerve, and since I started using that model keyboard I only notice the problem when I think about it. |
| 18:27:17 | <noex> | liskin: np at least for me those stretches were helpful - although at first quite painful...just take it gradually at first |
| 18:28:21 | <liskin> | noex: I tried those as I watched the video now and it was almost fine |
| 18:28:33 | <liskin> | But then I'm very flexible in the first place |
| 18:30:29 | <liskin> | There's some possibility my pain is related to the broken bone in my wrist that never grew back together. That would be a bit silly as it's not the easiest surgery to fix. :-/ |
| 18:36:24 | <noex> | hard to say :/ hopefully the doc can give you some insight |
| 19:03:02 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 19:05:31 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Remote host closed the connection) |
| 19:06:29 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 19:09:42 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Client Quit) |
| 19:11:26 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 19:12:06 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Client Quit) |
| 19:12:32 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 19:14:11 | × | mvk quits (~mvk@2607:fea8:5cdd:f000::9788) (Client Quit) |
| 19:14:34 | → | mvk joins (~mvk@2607:fea8:5cdd:f000::9788) |
| 19:43:51 | × | catman quits (~catman@user/catman) (Ping timeout: 268 seconds) |
| 19:55:34 | → | catman joins (~catman@user/catman) |
| 20:05:50 | → | Guest81 joins (~Guest81@2a01cb0589202e00edc070a9acc1d4bb.ipv6.abo.wanadoo.fr) |
| 20:49:42 | × | curiousgay quits (~curiousga@77-120-141-90.kha.volia.net) (Quit: Leaving) |
| 21:01:38 | → | curiousgay joins (~curiousga@77-120-141-90.kha.volia.net) |
| 22:48:26 | → | themc47 joins (~mc47@xmonad/TheMC47) |
| 22:48:54 | × | mc47 quits (~mc47@xmonad/TheMC47) (Ping timeout: 260 seconds) |
| 22:49:42 | <aplainzetakind> | geekosaur: So I did this https://dpaste.com//68P3DQECT to hopefully end up with two screens but this doesn't do anything either. |
| 22:51:35 | <geekosaur> | why am I not surprised it's intel driver? (probably because mine has bugs too) |
| 22:53:41 | × | themc47 quits (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
| 22:54:12 | <aplainzetakind> | Maybe I should just put nouveau there? |
| 22:54:39 | <geekosaur> | you could try it. nouveau has its own share of bugs but messing up multiscreen isn't generally one of them |
| 22:55:49 | <geekosaur> | (I can't hotplug monitors on any of my Intel-based systems, everything gets severely messed up to the point that I can't even run something like arandr to fix it, and xrandr only if I get really lucky with where a terminal ends up) |
| 22:56:26 | <aplainzetakind> | Hmm I think my nouveau may be altogether borked. |
| 22:57:14 | <aplainzetakind> | http://dpaste.com//8YZJS6Z59 This is grepping dmesg for nouveau |
| 22:59:20 | → | twiclo joins (~twiclo@166.70.36.40) |
| 22:59:58 | × | twiclo quits (~twiclo@166.70.36.40) (Client Quit) |
| 23:00:15 | <geekosaur> | is that broken, or firmware not installed? kernel level -2 often means "no such file or directory" and "unavailable" reported later supports that |
| 23:00:32 | <geekosaur> | so you may just be missing a package |
| 23:02:14 | <aplainzetakind> | Probably. |
| 23:08:32 | <geekosaur> | doing some googling, -2 is indeed no such file or directory. apparently this may not be a problem though |
| 23:09:53 | <geekosaur> | the real wquestion is whether the X server sees the card and can initialize it |
| 23:10:16 | <geekosaur> | in which case you may need an xorg.conf that specifies nouveau instead of intel |
| 23:12:37 | <geekosaur> | https://bbs.archlinux.org/viewtopic.php?id=191566 might be helpful |
| 23:14:12 | × | Guest81 quits (~Guest81@2a01cb0589202e00edc070a9acc1d4bb.ipv6.abo.wanadoo.fr) (Quit: Client closed) |
| 23:17:10 | → | twiclo joins (~twiclo@166.70.36.40) |
| 23:17:59 | <twiclo> | I have a few spawnOns in my startup hook that need to wait on a spawnOnce to finish before they fire off. I found spawnPipe which might work for this but I'm not exactly sure how to add it to my config |
| 23:18:14 | <twiclo> | p.twil.cx/xib |
| 23:18:19 | <twiclo> | The startup hook |
| 23:22:08 | <geekosaur> | spawnPipe won't work for that. https://hackage.haskell.org/package/xmonad-contrib-0.17.0/docs/XMonad-Util-Run.html#v:runProcessWithInputAndWait might |
| 23:22:52 | <geekosaur> | (if it doesn't actually need input, specify the empty string) |
| 23:27:51 | <geekosaur> | you also want to replace the spawnOnce with XMonad.Util.SessionStart |
| 23:28:10 | <geekosaur> | which is much the same thing but more general, so you can use it with runProcessWithInputAndWait |
| 23:32:19 | <twiclo> | So replace both the spawnonces> |
| 23:32:21 | <twiclo> | *? |
| 23:35:16 | <geekosaur> | no, just the one you need to wait for (presumably the "feh") |
| 23:40:38 | <twiclo> | https://xmonad.github.io/xmonad-docs/xmonad-contrib/XMonad-Util-SessionStart.html |
| 23:40:40 | <twiclo> | Is this it? |
| 23:41:25 | <twiclo> | There's no just "sessionStart" function |
| 23:47:13 | <geekosaur> | it's called "doOnce" |
| 23:48:35 | <geekosaur> | https://paste.tomsmeding.com/evvkR7S0 is an example of mine |
| 23:48:58 | <geekosaur> | the key parts are the "doOnce" and the "setSessionStarted" at the end of the block |
| 23:52:06 | <twiclo> | So I can put all of it in one doOnce block? And they all run synchronously after that? What does setting setSessionStarted do? |
| 23:54:57 | <geekosaur> | you could replace all the spawnOnce's with ordinary spawns (or spawnOns or whatever) in the doOnce block |
| 23:55:31 | <geekosaur> | setSessionStarted just tells xmonad not to run the doOnce block again on mod-q. I don't recall why it's not just built into doOnce |
| 23:55:47 | × | seschwar quits (~seschwar@user/seschwar) (Quit: :wq) |
| 23:56:26 | <twiclo> | On mod-q? You have mod-q set to start the session? |
| 23:56:39 | <geekosaur> | mm, documentation doesn't say. seems to me it ought to be added automatically instead of requiring manual addition, but there it is |
| 23:57:30 | <geekosaur> | no, the whole point of spawnOnce is that the startupHook also runs when you restart xmonad, usually because of a configuration change; the default behavior of mod-q is to recompile your config and restart with the new one |
| 23:58:02 | <geekosaur> | if you don't want everything to restart after a configuration change you use either doOnce or spawnOnce |
| 23:58:24 | <twiclo> | Gotcha. Okay let me try putting this all together |
All times are in UTC on 2021-12-11.