Logs: freenode/#xmonad
| 2020-12-28 03:50:59 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 2020-12-28 04:19:21 | nithal | is now known as marciano |
| 2020-12-28 04:20:57 | ← | marciano parts (~nithal@190.142.137.158) () |
| 2020-12-28 04:22:20 | → | marciano67 joins (be8e899e@190.142.137.158) |
| 2020-12-28 04:22:39 | × | marciano67 quits (be8e899e@190.142.137.158) (Remote host closed the connection) |
| 2020-12-28 04:24:35 | → | nithal joins (be8e899e@190.142.137.158) |
| 2020-12-28 04:26:37 | <nithal> | /msg NickServ VERIFY REGISTER nithal ohbwnpybrcou |
| 2020-12-28 04:31:31 | nithal | is now known as eln |
| 2020-12-28 04:32:43 | eln | is now known as nithal |
| 2020-12-28 04:50:21 | nithal | is now known as eln |
| 2020-12-28 05:07:34 | × | rekahsoft quits (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) (Ping timeout: 256 seconds) |
| 2020-12-28 05:13:26 | → | ADG1089__ joins (~aditya@223.235.213.117) |
| 2020-12-28 05:27:13 | × | ADG1089__ quits (~aditya@223.235.213.117) (Ping timeout: 264 seconds) |
| 2020-12-28 05:28:00 | ← | fuzzypixelz parts (~fuzzypixe@eth-west-pareq2-46-193-4-100.wb.wifirst.net) () |
| 2020-12-28 05:57:09 | × | jchia quits (~jchia@58.32.71.163) (Quit: Leaving.) |
| 2020-12-28 05:58:57 | → | jchia joins (~jchia@45.32.62.73) |
| 2020-12-28 06:00:48 | × | jchia quits (~jchia@45.32.62.73) (Remote host closed the connection) |
| 2020-12-28 06:01:00 | → | jchia joins (~jchia@45.32.62.73) |
| 2020-12-28 06:04:27 | → | ADG1089__ joins (~aditya@223.235.213.117) |
| 2020-12-28 06:07:20 | × | jchia quits (~jchia@45.32.62.73) (Remote host closed the connection) |
| 2020-12-28 06:08:26 | → | jchia joins (~jchia@58.32.71.163) |
| 2020-12-28 06:28:15 | → | tavixvi joins (3fd08b2f@63.208.139.47) |
| 2020-12-28 06:30:35 | → | palo1 joins (~weechat@c-base/crew/palo) |
| 2020-12-28 06:33:57 | × | palo quits (~weechat@c-base/crew/palo) (Ping timeout: 260 seconds) |
| 2020-12-28 06:33:57 | palo1 | is now known as palo |
| 2020-12-28 06:51:01 | × | eln quits (be8e899e@190.142.137.158) (Remote host closed the connection) |
| 2020-12-28 07:09:32 | × | ADG1089__ quits (~aditya@223.235.213.117) (Ping timeout: 260 seconds) |
| 2020-12-28 07:10:58 | → | ADG1089__ joins (~aditya@223.235.213.117) |
| 2020-12-28 07:38:03 | <tavixvi> | When I run 'mountpoint -q /home/tavi/mnt' from xmonad via createProcess, and wait for the exit status with waitForProcess, it always returns ExitSuccess, and I can't tell why. |
| 2020-12-28 07:38:22 | <tavixvi> | As far as I can tell, xmonad doesn't run in a separate namespace. |
| 2020-12-28 07:54:34 | × | thunderrd quits (~thunderrd@183.182.111.131) (Remote host closed the connection) |
| 2020-12-28 07:58:03 | → | thunderrd joins (~thunderrd@183.182.111.131) |
| 2020-12-28 08:10:09 | <tavixvi> | I'm beginning to think there's an error being thrown in my code somewhere that's causing it to just do nothing. |
| 2020-12-28 08:10:21 | <tavixvi> | but the error isn't reported anywhere that I can see |
| 2020-12-28 08:10:48 | × | tavixvi quits (3fd08b2f@63.208.139.47) (Remote host closed the connection) |
| 2020-12-28 08:56:38 | → | notis joins (~notis@85.203.44.37) |
| 2020-12-28 09:24:50 | × | ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection) |
| 2020-12-28 10:00:00 | → | tavixvi joins (3fd08b2f@63.208.139.47) |
| 2020-12-28 10:00:35 | <tavixvi> | So I figured out xmonad cleans up child processes so I can't get their exit codes. Is there a way around that? |
| 2020-12-28 10:05:09 | <dminuoso> | What do you mean by "clean" |
| 2020-12-28 10:06:39 | <tavixvi> | it catches sigchld signals and removes the zombie process before my code can retrieve the exit code. |
| 2020-12-28 10:08:06 | <dminuoso> | What exact xmonad facility are you using to spawn your process? |
| 2020-12-28 10:08:15 | <dminuoso> | oh |
| 2020-12-28 10:08:53 | <tavixvi> | I'm just using haskell's spawnProcess and co. |
| 2020-12-28 10:09:15 | <tavixvi> | or, createProcess, my bad |
| 2020-12-28 10:13:17 | <dminuoso> | tavixvi: Mm, what if you createProcess through a shell? |
| 2020-12-28 10:16:56 | <tavixvi> | I'm not sure I follow. |
| 2020-12-28 10:22:20 | <tavixvi> | Well, there are issues for this, and some solutions. https://github.com/xmonad/xmonad/issues/113 |
| 2020-12-28 10:26:43 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2020-12-28 10:37:32 | × | thc202 quits (~thc202@unaffiliated/thc202) (Quit: thc202) |
| 2020-12-28 10:45:54 | <dminuoso> | tavixvi: createProcess takes a CreateProcess, which could be built with proc or shell |
| 2020-12-28 10:47:44 | <dminuoso> | Im not very knowledgeable in POSIX, so my thought is perhaps if you roundtrip through a shell you might get an exit code that way |
| 2020-12-28 11:34:55 | → | ADG1089__ joins (~aditya@223.235.213.117) |
| 2020-12-28 11:57:50 | → | mc47 joins (~yecinem@89.246.239.190) |
| 2020-12-28 12:00:51 | <mc47> | liskin[m] I'll definitely be lookingin your config for per-screen bars, because I couldn't wrap my hand around the DynamicBars module |
| 2020-12-28 12:04:23 | × | ADG1089__ quits (~aditya@223.235.213.117) (Remote host closed the connection) |
| 2020-12-28 12:05:09 | <Solid> | ah look, it's another module with minimal-to-no documentation |
| 2020-12-28 12:06:52 | <Solid> | I suppose we should at least also provide property-based logging for that module as well |
| 2020-12-28 12:10:07 | <mc47> | Exactly my thoughts |
| 2020-12-28 12:10:36 | <mc47> | It's so coupled with Handles though, we'd probably need to write something new |
| 2020-12-28 12:19:10 | <Solid> | yeah you're gright |
| 2020-12-28 12:36:06 | → | geekosaur joins (ac3a5347@172.58.83.71) |
| 2020-12-28 12:38:18 | <geekosaur> | tavixvi, there are alternative spawn mechanisms that deal with this in XMonad.Util.Run |
| 2020-12-28 12:38:47 | <geekosaur> | you can't use createProcess with xmonad's child handling |
| 2020-12-28 12:38:54 | <geekosaur> | at least, not directly |
| 2020-12-28 12:51:46 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: brb) |
| 2020-12-28 12:56:37 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2020-12-28 12:56:38 | ChanServ | sets mode +v lambdabot |
| 2020-12-28 13:09:28 | → | rekahsoft joins (~rekahsoft@cpe0008a20f982f-cm64777d666260.cpe.net.cable.rogers.com) |
| 2020-12-28 13:15:32 | → | int-e joins (~noone@int-e.eu) |
| 2020-12-28 13:16:17 | ← | int-e parts (~noone@int-e.eu) () |
| 2020-12-28 13:31:41 | <mc47> | Solid btw, what do you think of an even more of makeStatusBar? Only doing `sendMessage ToggleStruts` is kinda too limiting, because it doesn't work with all layout modifiers |
| 2020-12-28 13:33:54 | <mc47> | Personally, I need more things to happen, since I'm using spacing and gaps, which means I also need to toggle those to have a nice result |
| 2020-12-28 13:39:10 | → | berberman_ joins (~berberman@unaffiliated/berberman) |
| 2020-12-28 13:40:14 | × | berberman quits (~berberman@unaffiliated/berberman) (Ping timeout: 264 seconds) |
| 2020-12-28 13:40:22 | × | berberman_ quits (~berberman@unaffiliated/berberman) (Max SendQ exceeded) |
| 2020-12-28 13:41:16 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 2020-12-28 13:51:22 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: and again...) |
| 2020-12-28 13:53:24 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2020-12-28 13:53:24 | ChanServ | sets mode +v lambdabot |
| 2020-12-28 13:57:04 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Quit: oops) |
| 2020-12-28 13:57:35 | × | berberman quits (~berberman@unaffiliated/berberman) (Quit: ZNC 1.7.5 - https://znc.in) |
| 2020-12-28 13:57:59 | → | berberman joins (~berberman@unaffiliated/berberman) |
| 2020-12-28 14:00:16 | → | jchia__1 joins (~jchia@58.32.64.17) |
| 2020-12-28 14:00:59 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2020-12-28 14:00:59 | ChanServ | sets mode +v lambdabot |
| 2020-12-28 14:01:25 | × | jchia__ quits (~jchia@58.32.37.146) (Ping timeout: 264 seconds) |
| 2020-12-28 14:09:58 | × | mc47 quits (~yecinem@89.246.239.190) (Read error: Connection reset by peer) |
| 2020-12-28 14:14:34 | <Solid> | ?tell mc47 at that point one may want to write their own custom solution |
| 2020-12-28 14:14:34 | <lambdabot> | Consider it noted. |
| 2020-12-28 14:15:24 | <Solid> | ?tell mc47 it would require us to add at least four more statusBar functions (statusBar, statusBar', statusBarProp, statusBarPropTo) if we don't want to break compatability with old configs |
| 2020-12-28 14:15:24 | <lambdabot> | Consider it noted. |
| 2020-12-28 14:15:51 | <Solid> | s/ata/ati/ |
| 2020-12-28 14:25:47 | → | mc47 joins (~yecinem@x59cc879c.dyn.telefonica.de) |
| 2020-12-28 14:27:46 | <mc47> | True, I'm already using my own solution for that |
| 2020-12-28 14:30:05 | × | tavixvi quits (3fd08b2f@63.208.139.47) (Ping timeout: 245 seconds) |
| 2020-12-28 14:30:36 | <Solid> | sadly there's probably not "one size fits all" approach here |
| 2020-12-28 14:31:09 | <Solid> | actually, re-reading your suggestion I think I misunderstood |
| 2020-12-28 14:31:38 | <Solid> | and that sounds like a good idea |
| 2020-12-28 14:32:15 | <mc47> | Solid concretely, instead of makeStatusBar, we'd have makeStatusBarWithStrutsAction and add another parameter to allow for any X () actions |
All times are in UTC.