Logs: liberachat/#xmonad
| 2024-11-16 07:13:22 | → | alp_ joins (~alp@2001:861:e3d6:8f80:1e43:c809:e4b7:d0ab) |
| 2024-11-16 07:14:45 | × | alp_ quits (~alp@2001:861:e3d6:8f80:1e43:c809:e4b7:d0ab) (Remote host closed the connection) |
| 2024-11-16 07:15:17 | → | alp_ joins (~alp@2001:861:e3d6:8f80:40e:175d:d439:a53) |
| 2024-11-16 07:16:55 | × | alp__ quits (~alp@2001:861:e3d6:8f80:4edb:6ea0:3cb0:4d91) (Ping timeout: 264 seconds) |
| 2024-11-16 07:20:17 | × | alp_ quits (~alp@2001:861:e3d6:8f80:40e:175d:d439:a53) (Ping timeout: 248 seconds) |
| 2024-11-16 09:53:05 | → | alp joins (~alp@2001:861:e3d6:8f80:44a2:a4b3:2ffd:645a) |
| 2024-11-16 10:08:50 | × | MrElendig quits (~Urist@archlinux/op/MrElendig) (Quit: nuking mars) |
| 2024-11-16 10:16:27 | → | MrElendig joins (~Urist@archlinux/op/MrElendig) |
| 2024-11-16 11:04:40 | × | alp quits (~alp@2001:861:e3d6:8f80:44a2:a4b3:2ffd:645a) (Remote host closed the connection) |
| 2024-11-16 11:20:30 | × | lambdabot quits (~lambdabot@haskell/bot/lambdabot) (Remote host closed the connection) |
| 2024-11-16 11:21:49 | → | lambdabot joins (~lambdabot@haskell/bot/lambdabot) |
| 2024-11-16 12:10:17 | → | catman joins (~catman@user/catman) |
| 2024-11-16 12:20:44 | × | catman quits (~catman@user/catman) (Ping timeout: 260 seconds) |
| 2024-11-16 13:28:52 | → | Guest18 joins (~Guest18@2a02:2f0f:6206:6100:f639:9ff:fe32:cdb2) |
| 2024-11-16 13:33:41 | <Guest18> | Hello! I have a problem with XMonad where i would like to run the command `lspci | grep 'VGA'` and get the first line/lines in the output. My problem is that I'm trying to use `readProcess` but I get an `Error: waitForProcess does not exist, no child proceses` . Can anyone point me in the right direction? Code: https://pastebin.com/B9q2d07V |
| 2024-11-16 13:35:20 | <MrElendig> | just call lspci and do the string work in haskell, your life will be better |
| 2024-11-16 13:35:56 | <MrElendig> | also sounds like a xyproblem |
| 2024-11-16 13:36:47 | <Guest18> | I think this is what I'm doing : `output <- readProcess "lspci" [] ""` , then processing. The problem is that `readProcess` fails... |
| 2024-11-16 13:40:11 | <MrElendig> | what is the IOError it returns? |
| 2024-11-16 13:41:21 | <MrElendig> | and is this System.Process or a different implementation? |
| 2024-11-16 13:42:21 | <MrElendig> | readProcessWithExitCode might even be a good idea |
| 2024-11-16 13:42:41 | <Guest18> | Yes, it is System.Process. The error `waitForProcess: does not exist (No child processes)`. I got it from a try (...) case result of Left |
| 2024-11-16 13:43:01 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Read error: Connection reset by peer) |
| 2024-11-16 13:44:38 | <MrElendig> | uhm possibly something capturing SIGCHILD |
| 2024-11-16 13:46:04 | <MrElendig> | yea xmonad probably has a handler for it |
| 2024-11-16 13:46:25 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-11-16 13:47:19 | <MrElendig> | what are you actually trying to do though? |
| 2024-11-16 13:49:30 | <MrElendig> | https://hackage.haskell.org/package/xmonad-0.18.0/docs/src/XMonad.Core.html#installSignalHandlers |
| 2024-11-16 13:49:58 | <Guest18> | So I want to use the same configuration on multiple PCs, each PC has a different graphics card. I want to use xmobar to get a different status bar for each. If I hard code the graphics card everything works. Now I want to get dynamically. |
| 2024-11-16 13:50:51 | × | L29Ah quits (~L29Ah@wikipedia/L29Ah) (Ping timeout: 252 seconds) |
| 2024-11-16 13:51:25 | <MrElendig> | you can read that info from X itself |
| 2024-11-16 13:52:22 | <MrElendig> | other than that, you might be able to abuse xfork or do something similar |
| 2024-11-16 13:52:37 | <MrElendig> | XM.Core.xfork that is |
| 2024-11-16 13:53:35 | <Leary> | Or run `readProcess` in `main` /before/ starting xmonad/xmobar. |
| 2024-11-16 14:09:14 | <Guest18> | I couldn't find a program from X that gives the graphics card (like xrandr or sth like that). I think I'm going to try to output the lspci into a file prior to starting xmonad and then try to read that file instead of the readProcess function |
| 2024-11-16 14:12:04 | <MrElendig> | considered doing hostname based config instead? |
| 2024-11-16 14:24:16 | → | tremon joins (~tremon@83.80.159.219) |
| 2024-11-16 14:40:41 | → | alp joins (~alp@2001:861:e3d6:8f80:2261:439d:9740:2954) |
| 2024-11-16 14:49:52 | <Guest18> | okay, thanks for the tip! I think i will use the hostname |
| 2024-11-16 14:58:57 | → | L29Ah joins (~L29Ah@wikipedia/L29Ah) |
| 2024-11-16 16:06:28 | × | deepy quits (deepy@user/deepy) (Read error: Connection reset by peer) |
| 2024-11-16 16:09:37 | × | alp quits (~alp@2001:861:e3d6:8f80:2261:439d:9740:2954) (*.net *.split) |
| 2024-11-16 16:09:37 | × | td_ quits (~td@i53870904.versanet.de) (*.net *.split) |
| 2024-11-16 16:09:39 | × | scardinal quits (~supreme@0x573d64a9.static.cust.fastspeed.dk) (*.net *.split) |
| 2024-11-16 16:09:39 | × | guygastineau quits (~guygastin@137.184.131.156) (*.net *.split) |
| 2024-11-16 16:09:40 | × | catern quits (sid604849@id-604849.lymington.irccloud.com) (*.net *.split) |
| 2024-11-16 16:09:41 | × | jusa quits (~jusa@kraa.fi) (*.net *.split) |
| 2024-11-16 16:09:41 | × | deebo quits (~globe@stonebay32.com) (*.net *.split) |
| 2024-11-16 16:09:41 | × | ChanServ quits (ChanServ@services.libera.chat) (*.net *.split) |
| 2024-11-16 16:14:50 | × | T_X_ quits (~T_X@diktynna.open-mesh.org) (Ping timeout: 260 seconds) |
| 2024-11-16 16:15:58 | → | alp joins (~alp@2001:861:e3d6:8f80:2261:439d:9740:2954) |
| 2024-11-16 16:15:58 | → | td_ joins (~td@i53870904.versanet.de) |
| 2024-11-16 16:15:58 | → | scardinal joins (~supreme@0x573d64a9.static.cust.fastspeed.dk) |
| 2024-11-16 16:15:58 | → | deebo joins (~globe@stonebay32.com) |
| 2024-11-16 16:15:58 | → | jusa joins (~jusa@kraa.fi) |
| 2024-11-16 16:15:58 | → | catern joins (sid604849@id-604849.lymington.irccloud.com) |
| 2024-11-16 16:15:58 | → | guygastineau joins (~guygastin@137.184.131.156) |
| 2024-11-16 16:15:58 | → | ChanServ joins (ChanServ@services.libera.chat) |
| 2024-11-16 16:15:58 | tantalum.libera.chat | sets mode +o ChanServ |
| 2024-11-16 16:16:14 | → | deepy joins (deepy@user/deepy) |
| 2024-11-16 16:20:05 | × | vrs quits (~vrs@user/vrs) (Ping timeout: 260 seconds) |
| 2024-11-16 16:20:38 | × | ectospasm quits (~ectospasm@user/ectospasm) (*.net *.split) |
| 2024-11-16 16:20:38 | × | Natch quits (~natch@c-92-34-7-158.bbcust.telenor.se) (*.net *.split) |
| 2024-11-16 16:20:39 | × | _qw quits (~eqw@user/eqw) (*.net *.split) |
| 2024-11-16 16:20:43 | × | piele quits (~piele@tbonesteak.creativeserver.net) (*.net *.split) |
| 2024-11-16 16:20:43 | × | amenonsen quits (~amenonsen@pitta.toroid.org) (*.net *.split) |
| 2024-11-16 16:20:45 | × | jmct quits (sid160793@id-160793.tinside.irccloud.com) (*.net *.split) |
| 2024-11-16 16:20:45 | × | geekosaur quits (sid609282@xmonad/geekosaur) (*.net *.split) |
| 2024-11-16 16:20:46 | × | amir quits (sid22336@user/amir) (*.net *.split) |
| 2024-11-16 16:20:46 | × | dsal quits (sid13060@id-13060.lymington.irccloud.com) (*.net *.split) |
| 2024-11-16 16:20:47 | × | ft quits (~ft@p4fc2a26f.dip0.t-ipconnect.de) (*.net *.split) |
| 2024-11-16 16:20:47 | × | berberman quits (~berberman@user/berberman) (*.net *.split) |
| 2024-11-16 16:20:48 | × | todi quits (~todi@p57803331.dip0.t-ipconnect.de) (*.net *.split) |
| 2024-11-16 16:20:49 | × | rieper quits (~riepernet@2a03:4000:6:f1d6:6885:6fff:fe5a:8933) (*.net *.split) |
| 2024-11-16 16:20:49 | × | xacktm quits (xacktm@user/xacktm) (*.net *.split) |
| 2024-11-16 16:21:11 | × | pl quits (sid98063@id-98063.helmsley.irccloud.com) (*.net *.split) |
| 2024-11-16 16:21:14 | × | de-vri-es quits (~de-vri-es@voyager.de-vri.es) (*.net *.split) |
| 2024-11-16 16:21:15 | × | tv quits (~tv@user/tv) (*.net *.split) |
| 2024-11-16 16:21:16 | × | kaskal quits (~kaskal@213-147-165-220.nat.highway.webapn.at) (*.net *.split) |
| 2024-11-16 16:21:17 | × | Solitary quits (~Solitary@user/solitary) (*.net *.split) |
| 2024-11-16 16:21:17 | × | wz1000 quits (~zubin@static.11.113.47.78.clients.your-server.de) (*.net *.split) |
| 2024-11-16 16:21:18 | × | Aminautf_ quits (~Aminautf@167.172.225.175) (*.net *.split) |
| 2024-11-16 16:21:19 | × | smashgrab quits (~smashgrab@188.166.8.80) (*.net *.split) |
| 2024-11-16 16:24:23 | × | terrorjack4 quits (~terrorjac@2a01:4f8:c17:dc9f::) (*.net *.split) |
| 2024-11-16 16:24:23 | × | yaslam_ quits (~yaslam@user/yaslam) (*.net *.split) |
| 2024-11-16 16:24:24 | × | FatBoyXPC quits (~FatBoyXPC@user/fatboyxpc) (*.net *.split) |
| 2024-11-16 16:24:24 | × | fcser quits (~fcser@booty.farted.net) (*.net *.split) |
| 2024-11-16 16:24:24 | × | thaumavorio quits (~thaumavor@thaumavor.io) (*.net *.split) |
| 2024-11-16 16:24:25 | × | cayley5 quits (~cayley5@user/phileasfogg) (*.net *.split) |
| 2024-11-16 16:24:25 | × | 082AAS5CR quits (7569f027cf@2a03:6000:1812:100::e4) (*.net *.split) |
| 2024-11-16 16:24:26 | × | eso quits (a0662dfd5e@2a03:6000:1812:100::1266) (*.net *.split) |
| 2024-11-16 16:24:26 | × | bwolf quits (c3bc363dd1@2a03:6000:1812:100::180) (*.net *.split) |
| 2024-11-16 16:24:26 | × | wsx quits (055e6b628d@2a03:6000:1812:100::dd6) (*.net *.split) |
| 2024-11-16 16:24:44 | → | ft joins (~ft@p4fc2a26f.dip0.t-ipconnect.de) |
| 2024-11-16 16:24:44 | → | berberman joins (~berberman@user/berberman) |
| 2024-11-16 16:24:44 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 2024-11-16 16:24:44 | → | Natch joins (~natch@c-92-34-7-158.bbcust.telenor.se) |
| 2024-11-16 16:24:44 | → | piele joins (~piele@tbonesteak.creativeserver.net) |
| 2024-11-16 16:24:44 | → | todi joins (~todi@p57803331.dip0.t-ipconnect.de) |
| 2024-11-16 16:24:44 | → | _qw joins (~eqw@user/eqw) |
All times are in UTC.