2024-04-05 00:36:46 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 00:38:48 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 00:54:23 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 01:06:30 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 01:08:13 +0200 | hightower2 | (~hightower@213.186.15.36) (Remote host closed the connection) |
2024-04-05 01:08:31 +0200 | hightower2 | (~hightower@213.186.15.36) |
2024-04-05 01:13:14 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 01:17:41 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 01:59:50 +0200 | [Leary] | (~Leary]@user/Leary/x-0910699) (Remote host closed the connection) |
2024-04-05 02:00:04 +0200 | [Leary] | (~Leary]@user/Leary/x-0910699) |
2024-04-05 04:42:45 +0200 | terrorjack | (~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat) |
2024-04-05 04:47:17 +0200 | terrorjack | (~terrorjac@2a01:4f8:c17:87f8::) |
2024-04-05 04:57:21 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 04:58:15 +0200 | td_ | (~td@i53870905.versanet.de) (Ping timeout: 260 seconds) |
2024-04-05 04:59:45 +0200 | td_ | (~td@i53870915.versanet.de) |
2024-04-05 05:09:07 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 05:15:37 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 05:28:17 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 05:34:13 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 05:46:46 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 05:52:39 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 06:05:36 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 06:11:44 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds) |
2024-04-05 06:23:06 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 06:29:07 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 06:41:24 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 06:47:25 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 06:59:46 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 07:06:02 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 07:17:21 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 07:23:07 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 07:36:39 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 07:42:29 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 240 seconds) |
2024-04-05 07:55:09 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 08:00:55 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 08:08:45 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 08:15:02 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 08:27:24 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 08:33:18 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 08:47:35 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 08:53:12 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds) |
2024-04-05 09:05:29 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 09:11:16 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 09:22:41 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 09:29:02 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 09:40:57 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 09:47:14 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 10:00:04 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 10:06:45 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 10:18:28 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 10:24:32 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 10:30:33 +0200 | ft | (~ft@p4fc2a20e.dip0.t-ipconnect.de) (Quit: leaving) |
2024-04-05 10:36:12 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 10:42:25 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 10:48:49 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 11:03:14 +0200 | cfricke | (~cfricke@user/cfricke) |
2024-04-05 11:22:38 +0200 | mekeor | (~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) |
2024-04-05 11:30:45 +0200 | Solitary | (~Solitary@user/solitary) (Ping timeout: 256 seconds) |
2024-04-05 11:39:25 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 246 seconds) |
2024-04-05 11:40:09 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 11:47:39 +0200 | humky | (~humky@user/humky) (Quit: Leaving) |
2024-04-05 11:49:33 +0200 | humky | (~humky@user/humky) |
2024-04-05 12:00:02 +0200 | Solitary | (~Solitary@user/solitary) |
2024-04-05 13:04:44 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 13:17:13 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 13:45:05 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 272 seconds) |
2024-04-05 13:51:25 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 14:17:01 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 14:28:57 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 14:33:39 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 14:45:19 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 14:52:47 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 15:05:43 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 15:11:17 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 240 seconds) |
2024-04-05 15:24:10 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 15:30:22 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 15:43:21 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 15:48:27 +0200 | mekeor | (~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) (Ping timeout: 256 seconds) |
2024-04-05 15:49:21 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 16:00:30 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 16:02:27 +0200 | alex` | (~user@149.22.101.75) |
2024-04-05 16:06:28 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 16:09:09 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 16:15:28 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 16:20:32 +0200 | cfricke | (~cfricke@user/cfricke) (Quit: WeeChat 4.1.2) |
2024-04-05 16:27:59 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 16:51:28 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 17:02:33 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 17:16:43 +0200 | mekeor | (~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) |
2024-04-05 17:18:41 +0200 | alex` | (~user@149.22.101.75) (Ping timeout: 256 seconds) |
2024-04-05 18:25:31 +0200 | scardinal | (~supreme@0x573d64a9.static.cust.fastspeed.dk) (Ping timeout: 255 seconds) |
2024-04-05 18:27:13 +0200 | scardinal | (~supreme@0x573d64a9.static.cust.fastspeed.dk) |
2024-04-05 18:38:52 +0200 | ft | (~ft@p4fc2a20e.dip0.t-ipconnect.de) |
2024-04-05 20:04:57 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
2024-04-05 20:17:24 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 20:22:00 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds) |
2024-04-05 20:33:46 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 20:39:51 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
2024-04-05 20:45:46 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 21:28:04 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 21:38:29 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 21:42:25 +0200 | <haskellbridge> | <Nexilva> Hello there, I don't know how to Haskell. |
2024-04-05 21:42:40 +0200 | <haskellbridge> | <Nexilva> ```hs |
2024-04-05 21:42:42 +0200 | <haskellbridge> | <Nexilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 1"] --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 21:42:43 +0200 | <haskellbridge> | <Nexilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 2"] --> (doF . W.view <> doShift) "8:win-B" |
2024-04-05 21:42:44 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 21:42:57 +0200 | <haskellbridge> | <Nexilva> I match Windows VM like this, then I send i to workspace as needed. |
2024-04-05 21:43:22 +0200 | <haskellbridge> | <Nexilva> Sometimes I makes copies/images/clones of the VM and then it's called `Windows 10 P2V Original Clone 1 (Before Update) [Running] - Oracle VM VirtualBox : 1` |
2024-04-05 21:44:15 +0200 | <haskellbridge> | <Nexilva> I don't want to have to edit the Xmonad config each time. So how can I match this properly: `Windows 10 P2V Original Clone <whatever text here> - Oracle VM VirtualBox : 1` |
2024-04-05 21:44:33 +0200 | <haskellbridge> | <Nexilva> That way It will always work on all `Windows 10 P2V Original Clone` machines. |
2024-04-05 22:06:45 +0200 | <geekosaur> | what is `name`? (and why use `oneOf` with a single element list?) |
2024-04-05 22:08:52 +0200 | <geekosaur> | (our matchers are: title, appName, className) |
2024-04-05 22:11:59 +0200 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//b8f79778/Screenshot_20240405_141150.png |
2024-04-05 22:12:08 +0200 | <haskellbridge> | <Nexilva> Rest of my code was like that so I just copied the oneOf over. |
2024-04-05 22:13:01 +0200 | <haskellbridge> | <Nexilva> https://xmonad.org/INSTALL.html <- following directions here to install xmonad 18 and I get error: |
2024-04-05 22:13:23 +0200 | <haskellbridge> | <Nexilva> https://bpa.st/DHFA |
2024-04-05 22:13:45 +0200 | <haskellbridge> | <Nexilva> I have all the development libs installed like libxft-dev etc. |
2024-04-05 22:23:07 +0200 | <geekosaur> | xproto should be part of the X11 core development stuff. I don't know how brew has that set up |
2024-04-05 22:24:07 +0200 | <haskellbridge> | <Nexilva> I'm on Ubuntu 22.04. I have built xmonad 17 in the past using those instructions. |
2024-04-05 22:24:19 +0200 | <haskellbridge> | <Nexilva> I have all the dev libs install and all the required pakckages |
2024-04-05 22:24:41 +0200 | <geekosaur> | you have a pkg-config from linuxbrew |
2024-04-05 22:25:01 +0200 | <geekosaur> | instead of the one from ubuntu |
2024-04-05 22:26:26 +0200 | <geekosaur> | x11proto-dev: /usr/share/pkgconfig/xproto.pc |
2024-04-05 22:27:15 +0200 | <haskellbridge> | <Nexilva> Yes I was using both |
2024-04-05 22:27:22 +0200 | <haskellbridge> | <Nexilva> I tried both as I did locate on the file |
2024-04-05 22:27:27 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:27:27 +0200 | <haskellbridge> | <Nexilva> $ export PKG_CONFIG_PATH=/usr/share/pkgconfig/xproto.pc |
2024-04-05 22:27:28 +0200 | <haskellbridge> | <Nexilva> stoned@stoned-desktop - ~/.config/xmonad - - |
2024-04-05 22:27:30 +0200 | <haskellbridge> | <Nexilva> $ stack install |
2024-04-05 22:27:31 +0200 | <haskellbridge> | <Nexilva> X11-xft > configure |
2024-04-05 22:27:32 +0200 | <haskellbridge> | <Nexilva> X11-xft > Configuring X11-xft-0.3.4... |
2024-04-05 22:27:34 +0200 | <haskellbridge> | <Nexilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft' |
2024-04-05 22:27:35 +0200 | <haskellbridge> | <Nexilva> X11-xft > is required but it could not be found. |
2024-04-05 22:27:36 +0200 | <haskellbridge> | <Nexilva> X11-xft > |
2024-04-05 22:27:38 +0200 | <haskellbridge> | <Nexilva> Progress 1/2 |
2024-04-05 22:27:39 +0200 | <haskellbridge> | <Nexilva> Error: [S-7282] |
2024-04-05 22:27:40 +0200 | <haskellbridge> | <Nexilva> Stack failed to execute the build plan. |
2024-04-05 22:27:41 +0200 | <haskellbridge> | <Nexilva> |
2024-04-05 22:27:43 +0200 | <haskellbridge> | <Nexilva> While executing the build plan, Stack encountered the error: |
2024-04-05 22:27:44 +0200 | <haskellbridge> | <Nexilva> |
2024-04-05 22:27:45 +0200 | <haskellbridge> | <Nexilva> [S-7011] |
2024-04-05 22:27:47 +0200 | <haskellbridge> | <Nexilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using: |
2024-04-05 22:27:48 +0200 | <haskellbridge> | <Nexilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear |
2024-04-05 22:27:48 +0200 | <haskellbridge> | --package-d… |
2024-04-05 22:27:49 +0200 | <haskellbridge> | <Nexilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib |
2024-04-05 22:27:49 +0200 | <haskellbridge> | --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798… |
2024-04-05 22:27:51 +0200 | <haskellbridge> | <Nexilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec |
2024-04-05 22:27:51 +0200 | <haskellbridge> | --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11… |
2024-04-05 22:27:52 +0200 | <haskellbridge> | <Nexilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 |
2024-04-05 22:27:52 +0200 | <haskellbridge> | --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf… |
2024-04-05 22:27:53 +0200 | <haskellbridge> | <Nexilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths |
2024-04-05 22:27:53 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
2024-04-05 22:27:54 +0200 | <haskellbridge> | <Nexilva> Process exited with code: ExitFailure 1 |
2024-04-05 22:27:56 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:28:39 +0200 | <geekosaur> | that's not how PKG_CONFIG_PATH works; it's a colon-separated list of directories, not files |
2024-04-05 22:28:56 +0200 | <haskellbridge> | <Nexilva> Ok |
2024-04-05 22:29:20 +0200 | <haskellbridge> | <Nexilva> There was no PKG_CONFIG_PATH set on my pc I ahd to export it |
2024-04-05 22:29:27 +0200 | <geekosaur> | and if you have used linuxbrew for anything then you probably need both its path and ubuntu's (and I give you no guarantees about cross-compatibility) |
2024-04-05 22:29:28 +0200 | <haskellbridge> | <Nexilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig |
2024-04-05 22:29:35 +0200 | <haskellbridge> | <Nexilva> I have no idea what linuxbrew is |
2024-04-05 22:29:39 +0200 | <geekosaur> | right, that one's the default |
2024-04-05 22:30:12 +0200 | <geekosaur> | X11-xft > '/home/linuxbrew/.linuxbrew/bin/pkg-config' exited with an error: |
2024-04-05 22:31:04 +0200 | <geekosaur> | from your earlier bpaste |
2024-04-05 22:31:17 +0200 | <geekosaur> | that is not present on a normal Ubuntu install |
2024-04-05 22:31:19 +0200 | <haskellbridge> | <Nexilva> Ok |
2024-04-05 22:31:25 +0200 | <haskellbridge> | <Nexilva> But I have no idea what the hell is goin gon |
2024-04-05 22:31:33 +0200 | <haskellbridge> | <Nexilva> What is this linux brew and why do I ahve it? |
2024-04-05 22:31:44 +0200 | <haskellbridge> | <Nexilva> And how do I just build xmoand again |
2024-04-05 22:31:59 +0200 | <geekosaur> | I have no idea why you have it |
2024-04-05 22:32:26 +0200 | <haskellbridge> | <Nexilva> I exported the correct path to the pc file |
2024-04-05 22:32:28 +0200 | <geekosaur> | (I presume it's a Linux take on Homebrew for Macs, but have no idea why anyone would bother) |
2024-04-05 22:32:37 +0200 | <haskellbridge> | <Nexilva> Now it says the other mesage about xft not found |
2024-04-05 22:32:41 +0200 | <geekosaur> | you need the directory not the file |
2024-04-05 22:32:52 +0200 | <geekosaur> | if it works at all it would only see that one file and not the others |
2024-04-05 22:32:56 +0200 | <haskellbridge> | <Nexilva> Bro. |
2024-04-05 22:33:07 +0200 | <haskellbridge> | <Nexilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig |
2024-04-05 22:33:15 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:33:16 +0200 | <haskellbridge> | <Nexilva> $ stack install |
2024-04-05 22:33:17 +0200 | <haskellbridge> | <Nexilva> X11-xft > configure |
2024-04-05 22:33:18 +0200 | <haskellbridge> | <Nexilva> X11-xft > Configuring X11-xft-0.3.4... |
2024-04-05 22:33:19 +0200 | <haskellbridge> | <Nexilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft' |
2024-04-05 22:33:21 +0200 | <haskellbridge> | <Nexilva> X11-xft > is required but it could not be found. |
2024-04-05 22:33:22 +0200 | <haskellbridge> | <Nexilva> X11-xft > |
2024-04-05 22:33:23 +0200 | <haskellbridge> | <Nexilva> Progress 1/2 |
2024-04-05 22:33:25 +0200 | <haskellbridge> | <Nexilva> Error: [S-7282] |
2024-04-05 22:33:26 +0200 | <haskellbridge> | <Nexilva> Stack failed to execute the build plan. |
2024-04-05 22:33:27 +0200 | <haskellbridge> | <Nexilva> |
2024-04-05 22:33:29 +0200 | <haskellbridge> | <Nexilva> While executing the build plan, Stack encountered the error: |
2024-04-05 22:33:30 +0200 | <haskellbridge> | <Nexilva> |
2024-04-05 22:33:31 +0200 | <haskellbridge> | <Nexilva> [S-7011] |
2024-04-05 22:33:32 +0200 | <haskellbridge> | <Nexilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using: |
2024-04-05 22:33:34 +0200 | <haskellbridge> | <Nexilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear |
2024-04-05 22:33:34 +0200 | <haskellbridge> | --package-d… |
2024-04-05 22:33:35 +0200 | <haskellbridge> | <Nexilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib |
2024-04-05 22:33:35 +0200 | <haskellbridge> | --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798… |
2024-04-05 22:33:36 +0200 | <haskellbridge> | <Nexilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec |
2024-04-05 22:33:36 +0200 | <haskellbridge> | --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11… |
2024-04-05 22:33:38 +0200 | <haskellbridge> | <Nexilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 |
2024-04-05 22:33:38 +0200 | <haskellbridge> | --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf… |
2024-04-05 22:33:39 +0200 | <haskellbridge> | <Nexilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths |
2024-04-05 22:33:40 +0200 | <haskellbridge> | <Nexilva> Process exited with code: ExitFailure 1 |
2024-04-05 22:33:42 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:35:10 +0200 | <geekosaur> | hilfy «xmonad:hilfy-2023» ⁅xmonad-bsa⁆ Z$ dpkg -S $(find /usr -name xft.pc) |
2024-04-05 22:35:10 +0200 | <geekosaur> | libxft-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/xft.pc |
2024-04-05 22:35:47 +0200 | <geekosaur> | so apparently you also need /usr/lib/x86_64-linux-gnu/pkgconfig in PKG_CONFIG_PATH |
2024-04-05 22:35:58 +0200 | <haskellbridge> | <Nexilva> Fucking ridiculous horse shit manure goddamn garbage I want to curse and swear I am so mad.... |
2024-04-05 22:36:07 +0200 | <haskellbridge> | <Nexilva> I have no idea when/how I installed this brew bullshit |
2024-04-05 22:36:19 +0200 | <haskellbridge> | <Nexilva> But I unfuckinginstalled it and now stack install is continuing to find the libs |
2024-04-05 22:36:26 +0200 | <haskellbridge> | <Nexilva> No need to specify paths or export shit |
2024-04-05 22:36:28 +0200 | <geekosaur> | I suspect if you get rid of that linuxbrew thing and remove PKG)CONFIG_PATH from your environment it'll just work |
2024-04-05 22:36:35 +0200 | <haskellbridge> | <Nexilva> Goddamn what an asshole of a day. ☹️ |
2024-04-05 22:36:35 +0200 | <geekosaur> | I have no idea how linuxbrew got there |
2024-04-05 22:36:44 +0200 | <geekosaur> | right |
2024-04-05 22:37:06 +0200 | <haskellbridge> | <Nexilva> Completed 2 action(s). |
2024-04-05 22:37:07 +0200 | <haskellbridge> | <Nexilva> Copying from /home/stoned/.config/xmonad/.stack-work/install/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/bin/xmonad to /home/stoned/.local/bin/xmonad. |
2024-04-05 22:37:08 +0200 | <haskellbridge> | <Nexilva> Copied executables to /home/stoned/.local/bin/: |
2024-04-05 22:37:10 +0200 | <haskellbridge> | <Nexilva> * xmonad |
2024-04-05 22:37:36 +0200 | defjam | (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
2024-04-05 22:37:48 +0200 | <haskellbridge> | <Nexilva> Now when I try to compile xmonad.hs it complains about not finding any of the improts |
2024-04-05 22:38:25 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:38:26 +0200 | <haskellbridge> | <Nexilva> Deprecations detected while compiling xmonad config: /home/stoned/.config/xmonad/xmonad.hs |
2024-04-05 22:38:28 +0200 | <haskellbridge> | <Nexilva> $ stack build --silent --stack-yaml /home/stoned/.config/xmonad/stack.yaml |
2024-04-05 22:38:29 +0200 | <haskellbridge> | <Nexilva> $ stack ghc --stack-yaml /home/stoned/.config/xmonad/stack.yaml -- --make xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -outputdir /home/stoned/.cache/xmonad/build-x86_64-linux -o /home/stoned/.cache/xmonad/xmonad-x86_64-linux |
2024-04-05 22:38:30 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:37:1: warning: [-Wdeprecations] |
2024-04-05 22:38:31 +0200 | <haskellbridge> | <Nexilva> Module ‘XMonad.Layout.Circle’ is deprecated: |
2024-04-05 22:38:33 +0200 | <haskellbridge> | <Nexilva> "Use XMonad.Layout.CircleEx instead" |
2024-04-05 22:38:34 +0200 | <haskellbridge> | <Nexilva> | |
2024-04-05 22:38:35 +0200 | <haskellbridge> | <Nexilva> 37 | import XMonad.Layout.Circle |
2024-04-05 22:38:37 +0200 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
2024-04-05 22:38:38 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:39:1: warning: [-Wdeprecations] |
2024-04-05 22:38:39 +0200 | <haskellbridge> | <Nexilva> Module ‘XMonad.Layout.Cross’ is deprecated: |
2024-04-05 22:38:41 +0200 | <haskellbridge> | <Nexilva> "Use XMonad.Layout.Circle or XMonad.Layout.ThreeColumn.ThreeColMid instead" |
2024-04-05 22:38:42 +0200 | <haskellbridge> | <Nexilva> | |
2024-04-05 22:38:43 +0200 | <haskellbridge> | <Nexilva> 39 | import XMonad.Layout.Cross |
2024-04-05 22:38:44 +0200 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
2024-04-05 22:38:46 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:78:1: warning: [-Wdeprecations] |
2024-04-05 22:38:47 +0200 | <haskellbridge> | <Nexilva> Module ‘XMonad.Util.Ungrab’ is deprecated: |
2024-04-05 22:38:48 +0200 | <haskellbridge> | <Nexilva> "Use XMonad.Operations.unGrab instead" |
2024-04-05 22:38:50 +0200 | <haskellbridge> | <Nexilva> | |
2024-04-05 22:38:51 +0200 | <haskellbridge> | <Nexilva> 78 | import XMonad.Util.Ungrab |
2024-04-05 22:38:52 +0200 | <haskellbridge> | <Nexilva> | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
2024-04-05 22:38:54 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:242:13: warning: [GHC-68441] [-Wdeprecations] |
2024-04-05 22:38:55 +0200 | <haskellbridge> | <Nexilva> In the use of data constructor ‘Circle’ |
2024-04-05 22:38:56 +0200 | <haskellbridge> | <Nexilva> (imported from XMonad.Layout.Circle): |
2024-04-05 22:38:57 +0200 | <haskellbridge> | <Nexilva> Deprecated: "Use XMonad.Layout.CircleEx instead" |
2024-04-05 22:38:59 +0200 | <haskellbridge> | <Nexilva> | |
2024-04-05 22:39:00 +0200 | <haskellbridge> | <Nexilva> 242 | ||| Circle |
2024-04-05 22:39:01 +0200 | <haskellbridge> | <Nexilva> | ^^^^^^ |
2024-04-05 22:39:03 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:243:13: warning: [GHC-68441] [-Wdeprecations] |
2024-04-05 22:39:04 +0200 | <haskellbridge> | <Nexilva> In the use of ‘simpleCross’ (imported from XMonad.Layout.Cross): |
2024-04-05 22:39:05 +0200 | <geekosaur> | right, those were deprecated in 0.18 |
2024-04-05 22:39:05 +0200 | <haskellbridge> | <Nexilva> Sigh now this happy horseshit. ARGH! |
2024-04-05 22:39:21 +0200 | <haskellbridge> | <Nexilva> Sorry I didn't read the notes/release notes stuff |
2024-04-05 22:39:24 +0200 | <geekosaur> | they're still there for now, those are warnings that they'll be removed in a future release |
2024-04-05 22:39:39 +0200 | <haskellbridge> | <Nexilva> I don['t use circle or simplecross |
2024-04-05 22:39:43 +0200 | <haskellbridge> | <Nexilva> I wonder what ungrab was... |
2024-04-05 22:39:50 +0200 | <haskellbridge> | <Nexilva> I don't use circle or simplecross |
2024-04-05 22:39:54 +0200 | <geekosaur> | (Circle was extended, Cross is actually broken and it's suggesting an alternative, Ungrab was moved into the core) |
2024-04-05 22:40:04 +0200 | <geekosaur> | you use ungrab for screenshots |
2024-04-05 22:40:59 +0200 | <geekosaur> | xmonad keeps the keyboard grabbed when it runs something, because it can't know if what you ran is a function that wants to read more keys. if you launch a screen shooter, it doesn't like that |
2024-04-05 22:41:28 +0200 | <geekosaur> | so you do something like unGrab >> spawn "scrot …" |
2024-04-05 22:42:30 +0200 | <haskellbridge> | <Nexilva> Oh right ok |
2024-04-05 22:42:34 +0200 | <haskellbridge> | <Nexilva> Thank you |
2024-04-05 22:42:50 +0200 | <haskellbridge> | <Nexilva> I took out the imports and now it compiles. |
2024-04-05 22:43:14 +0200 | <haskellbridge> | <Nexilva> Don't use circle layout or simple cross, from years ago when I was checking them out. |
2024-04-05 22:43:22 +0200 | <haskellbridge> | <Nexilva> Right now I just need stuff to work |
2024-04-05 22:43:40 +0200 | <haskellbridge> | <Nexilva> So now, how do you suggest I do the matchig of the VMs |
2024-04-05 22:44:18 +0200 | <haskellbridge> | <Nexilva> I asked GPT and it says: |
2024-04-05 22:44:19 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:44:20 +0200 | <haskellbridge> | <Nexilva> import Text.Regex.Posix |
2024-04-05 22:44:21 +0200 | <haskellbridge> | <Nexilva> -- Function to extract the text between "Windows 10 P2V Original Clone" and "- Oracle VM VirtualBox : 1" |
2024-04-05 22:44:22 +0200 | <haskellbridge> | <Nexilva> extractCloneName :: String -> Maybe String |
2024-04-05 22:44:24 +0200 | <haskellbridge> | <Nexilva> extractCloneName s = case s =~ "Windows 10 P2V Original Clone (.*) - Oracle VM VirtualBox : 1" :: (String, String, String, [String]) of |
2024-04-05 22:44:25 +0200 | <haskellbridge> | <Nexilva> (_, _, _, [name]) -> Just name |
2024-04-05 22:44:26 +0200 | <haskellbridge> | <Nexilva> _ -> Nothing |
2024-04-05 22:44:28 +0200 | <haskellbridge> | <Nexilva> -- Define your Xmonad configuration |
2024-04-05 22:44:29 +0200 | <haskellbridge> | <Nexilva> myXmonadConfig = [ |
2024-04-05 22:44:30 +0200 | <haskellbridge> | <Nexilva> , fmap (\n -> name `oneOf` [n]) (extractCloneName "Windows 10 P2V Original Clone") --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 22:44:32 +0200 | <haskellbridge> | <Nexilva> , fmap (\n -> name `oneOf` [n]) (extractCloneName "Windows 10 P2V Original Clone") --> (doF . W.view <> doShift) "8:win-B" |
2024-04-05 22:44:33 +0200 | <haskellbridge> | <Nexilva> -- Add more rules as needed |
2024-04-05 22:44:34 +0200 | <haskellbridge> | <Nexilva> ] |
2024-04-05 22:44:35 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:44:37 +0200 | <haskellbridge> | <Nexilva> Is GPT correct? I have no idea because I don't know haskell |
2024-04-05 22:44:52 +0200 | <haskellbridge> | <Nexilva> I can always tell in C++ or PHP or Js or other langs if GPT is right or not. But Haskell I don't even know. |
2024-04-05 22:48:00 +0200 | <haskellbridge> | <Nexilva> `, className =? "Oracle VM VirtualBox" <&&> fmap ("Windows 10 P2V Original Clone" `isPrefixOf`) title --> (doF . W.view <> doShift) "8:win-A"` Here's another thing it suggestd, but this one doesn't match the Window, as I run VM in dual screen mode (two virtual screens) |
2024-04-05 22:48:31 +0200 | <haskellbridge> | <Nexilva> Here is yet another proposed solution: |
2024-04-05 22:48:32 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:48:33 +0200 | <haskellbridge> | <Nexilva> import Text.Regex.Posix |
2024-04-05 22:48:35 +0200 | <haskellbridge> | <Nexilva> -- Define a function to match the window name using regular expressions |
2024-04-05 22:48:36 +0200 | <haskellbridge> | <Nexilva> matchesPattern :: String -> Bool |
2024-04-05 22:48:37 +0200 | <haskellbridge> | <Nexilva> matchesPattern s = s =~ "Windows 10 P2V Original Clone [^ ]+ - Oracle VM VirtualBox : [0-9]+" |
2024-04-05 22:48:39 +0200 | <haskellbridge> | <Nexilva> -- Use the matchesPattern function in your Xmonad configuration |
2024-04-05 22:48:40 +0200 | <haskellbridge> | <Nexilva> , name `matches` matchesPattern --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 22:48:41 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:49:00 +0200 | <haskellbridge> | <Nexilva> I could try it. |
2024-04-05 22:49:28 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:49:29 +0200 | <haskellbridge> | <Nexilva> -- Sort Virtual Machines into separate workspaces |
2024-04-05 22:49:31 +0200 | <haskellbridge> | <Nexilva> , className =? "VirtualBox Manager" <&&> stringProperty "WM_NAME" =? "Windows 10 P2V Original Clone .* - Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 22:49:32 +0200 | <haskellbridge> | <Nexilva> , className =? "VirtualBox Manager" <&&> stringProperty "WM_NAME" =? "Windows 10 P2V Original Clone .* - Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B" |
2024-04-05 22:49:33 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 22:49:34 +0200 | <haskellbridge> | <Nexilva> It also suggested this |
2024-04-05 22:50:20 +0200 | <haskellbridge> | <Nexilva> If it was another language I could easily tell whether the code is good or not. Haskell I can't tell and somehow I make do |
2024-04-05 22:55:09 +0200 | <geekosaur> | `matches` won't work because it needs to be fmapped in |
2024-04-05 22:55:47 +0200 | <geekosaur> | also `stringProperty "WM_NAME"` is `title` |
2024-04-05 22:57:53 +0200 | <geekosaur> | className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title ~? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 22:58:39 +0200 | <geekosaur> | import XMonad.Hooks.ManageHelpers for ^? and $? (sorry I meant $? instead of ~?, IRC doesn't do edits) |
2024-04-05 23:01:09 +0200 | <haskellbridge> | <Nexilva> So className and then matching title. |
2024-04-05 23:02:29 +0200 | <haskellbridge> | <Nexilva> `, className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A"` |
2024-04-05 23:02:29 +0200 | <haskellbridge> | <Nexilva> `, className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B` |
2024-04-05 23:02:58 +0200 | <geekosaur> | right |
2024-04-05 23:03:18 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:03:19 +0200 | <haskellbridge> | <Nexilva> xmonad.hs:87:22: error: [GHC-88464] |
2024-04-05 23:03:20 +0200 | <haskellbridge> | <Nexilva> Variable not in scope: (=~) :: String -> String -> Bool |
2024-04-05 23:03:21 +0200 | <haskellbridge> | <Nexilva> Suggested fix: |
2024-04-05 23:03:23 +0200 | <haskellbridge> | <Nexilva> Perhaps use one of these: |
2024-04-05 23:03:24 +0200 | <haskellbridge> | <Nexilva> ‘==’ (imported from Prelude), ‘=?’ (imported from XMonad) |
2024-04-05 23:03:25 +0200 | <haskellbridge> | <Nexilva> | |
2024-04-05 23:03:26 +0200 | <haskellbridge> | <Nexilva> 87 | matchesPattern s = s =~ "Windows 10 P2V Original Clone [^ ]+ - Oracle VM VirtualBox : [0-9]+" |
2024-04-05 23:03:28 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:04:27 +0200 | <geekosaur> | you're not using that and you would have to import Text.Regex.Posix to get that operator |
2024-04-05 23:05:19 +0200 | <haskellbridge> | <Nexilva> Ok it compiles now |
2024-04-05 23:05:42 +0200 | <haskellbridge> | <Nexilva> $ xmonad --recompile |
2024-04-05 23:05:43 +0200 | <haskellbridge> | <Nexilva> XMonad will use stack ghc --stack-yaml "/home/stoned/.config/xmonad/stack.yaml" to recompile. |
2024-04-05 23:05:44 +0200 | <haskellbridge> | <Nexilva> XMonad recompiling (forced). |
2024-04-05 23:05:46 +0200 | <haskellbridge> | <Nexilva> XMonad recompilation process exited with success! |
2024-04-05 23:06:14 +0200 | <geekosaur> | hm, and it wouldn't do what you wanted anyway because you want to move it to a different ws based on the number, but that pattern just matches any number |
2024-04-05 23:06:40 +0200 | <haskellbridge> | <Nexilva> I have no idea what is happening 🙂 |
2024-04-05 23:06:52 +0200 | <haskellbridge> | <Nexilva> So I launched the VM and like you said it didn't work. |
2024-04-05 23:07:23 +0200 | <geekosaur> | no, I was talking about matchesPattern which you I think aren't using (and if you are, it's doing the wrong thing) |
2024-04-05 23:07:36 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:07:37 +0200 | <haskellbridge> | <Nexilva> -- Sort Virtual Machines into separate workspaces |
2024-04-05 23:07:39 +0200 | <haskellbridge> | <Nexilva> , className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 1" --> (doF . W.view <> doShift) "8:win-A" |
2024-04-05 23:07:40 +0200 | <haskellbridge> | <Nexilva> , className =? "VirtualBox Manager" <&&> title ^? "Windows 10 P2V Original Clone " <&&> title $? " Oracle VM VirtualBox : 2" --> (doF . W.view <> doShift) "8:win-B" |
2024-04-05 23:07:41 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:07:43 +0200 | <haskellbridge> | <Nexilva> I'm using this, what you said |
2024-04-05 23:07:58 +0200 | <haskellbridge> | <Nexilva> It compiles, but doesn't shift the VM windows |
2024-04-05 23:08:11 +0200 | <geekosaur> | I wonder if the className is right |
2024-04-05 23:08:42 +0200 | <geekosaur> | vbox doesn't want to work on my system for some reason so I can't check |
2024-04-05 23:08:56 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:08:57 +0200 | <haskellbridge> | <Nexilva> WM_NAME(STRING) = "Windows 10 P2V Original Clone 1 (Working, before update.) [Running] - Oracle VM VirtualBox : 1" |
2024-04-05 23:08:58 +0200 | <haskellbridge> | <Nexilva> _NET_WM_NAME(UTF8_STRING) = "Windows 10 P2V Original Clone 1 (Working, before update.) [Running] - Oracle VM VirtualBox : 1" |
2024-04-05 23:08:59 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-04-05 23:09:11 +0200 | <geekosaur> | so get rid of the `className =? "VirtualBox Manager" <&&> ` part |
2024-04-05 23:09:24 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A` |
2024-04-05 23:09:24 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-B` |
2024-04-05 23:09:25 +0200 | <haskellbridge> | <Nexilva> How do to this? |
2024-04-05 23:09:27 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A` |
2024-04-05 23:09:28 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-B` |
2024-04-05 23:09:29 +0200 | <haskellbridge> | <Nexilva> How do to this? |
2024-04-05 23:09:30 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A\` |
2024-04-05 23:09:32 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 2` to 8:win-B\` |
2024-04-05 23:09:33 +0200 | <haskellbridge> | <Nexilva> How do to this? |
2024-04-05 23:09:35 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 1` to 8:win-A\` |
2024-04-05 23:09:36 +0200 | <haskellbridge> | <Nexilva> `Windows 10 P2V Original Clone ... - Oracle VM VirtualBox : 2` to 8:win-B\` |
2024-04-05 23:09:37 +0200 | <haskellbridge> | <Nexilva> How do to this? |
2024-04-05 23:11:53 +0200 | <geekosaur> | the difference between the code you originally had and my suggestion is the className part, so remove that as I said above |
2024-04-05 23:12:06 +0200 | <geekosaur> | presumably it's the wrong className |
2024-04-05 23:13:13 +0200 | <haskellbridge> | <Nexilva> WM_CLASS(STRING) = "VirtualBox Machine", "VirtualBox Machine" |
2024-04-05 23:13:51 +0200 | <geekosaur> | so change "VirtualBox Manager" to "VirtualBox Machine" |
2024-04-05 23:14:07 +0200 | <geekosaur> | (I think you said you got that from ChatGPT? it was wrong) |
2024-04-05 23:15:22 +0200 | <haskellbridge> | <Nexilva> Thank you |
2024-04-05 23:15:28 +0200 | <haskellbridge> | <Nexilva> I didn't use any GPT stuff |
2024-04-05 23:15:38 +0200 | <haskellbridge> | <Nexilva> I used it to learn how to install the text regex package |
2024-04-05 23:16:00 +0200 | <haskellbridge> | <Nexilva> But I used your suggestions. I trust you far more over the years than GPT |
2024-04-05 23:16:11 +0200 | <haskellbridge> | <Nexilva> It's working now. |