2024-05-04 00:58:36 +0200 | <haskellbridge> | <Nexilva> Hi guys |
2024-05-04 00:59:00 +0200 | <geekosaur> | hello |
2024-05-04 00:59:03 +0200 | <haskellbridge> | <Nexilva> How can I send this to monitor #2 |
2024-05-04 00:59:04 +0200 | <haskellbridge> | <Nexilva> ```name `oneOf` [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo" |
2024-05-04 00:59:05 +0200 | <haskellbridge> | <Nexilva> ``` |
2024-05-04 00:59:11 +0200 | <haskellbridge> | <Nexilva> How can I send this to monitor #2 |
2024-05-04 00:59:12 +0200 | <haskellbridge> | <Nexilva> `name `oneOf` \[ "Diablo II: Resurrected" \] --> (doF . W.view \<> doShift) "18:Diablo"` |
2024-05-04 00:59:21 +0200 | <haskellbridge> | <Nexilva> Hope you're doing well today |
2024-05-04 00:59:35 +0200 | <haskellbridge> | <Nexilva> How can I send this to monitor #2 |
2024-05-04 00:59:35 +0200 | <haskellbridge> | <Nexilva> `name `oneOf` [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo"` |
2024-05-04 00:59:51 +0200 | <geekosaur> | edits don't work IRC-side |
2024-05-04 00:59:57 +0200 | <haskellbridge> | <Nexilva> Ohhh |
2024-05-04 00:59:58 +0200 | <haskellbridge> | <Nexilva> Sorry |
2024-05-04 01:00:38 +0200 | <haskellbridge> | <Nexilva> `name oneOf [ "Diablo II: Resurrected" ] --> (doF . W.view <> doShift) "18:Diablo" THEN SEND TO MONITOR #2 or SWITCH TO MON 2 AND MAKE 18 Active` |
2024-05-04 01:00:43 +0200 | <haskellbridge> | <Nexilva> How can I do that? |
2024-05-04 01:03:55 +0200 | <haskellbridge> | <Nexilva> --> (doF $ W.greedyView "18:Diablo" <+> W.shift "18:Diablo" <+> W.view "2") |
2024-05-04 01:04:24 +0200 | <haskellbridge> | <Nexilva> No first shift, then greedyview, then view 2 |
2024-05-04 01:04:49 +0200 | kaskal- | (~kaskal@2001:4bb8:2d2:1257:60b1:1057:17df:5755) |
2024-05-04 01:05:28 +0200 | <haskellbridge> | <Nexilva> I have no idea how to do this, my haskell sucks |
2024-05-04 01:05:44 +0200 | <geekosaur> | poking at it |
2024-05-04 01:07:44 +0200 | kaskal | (~kaskal@089144220117.atnat0029.highway.webapn.at) (Quit: ZNC - https://znc.in) |
2024-05-04 01:09:17 +0200 | <geekosaur> | https://paste.tomsmeding.com/fphslrKL there's probably a more optimal way to do it |
2024-05-04 01:09:30 +0200 | <geekosaur> | the Nothing case is for when you only have one monitor for some reason |
2024-05-04 01:10:44 +0200 | <geekosaur> | mm, actually that's a bad idea |
2024-05-04 01:19:03 +0200 | <geekosaur> | https://paste.tomsmeding.com/sObZZjk2 |
2024-05-04 01:21:25 +0200 | <haskellbridge> | <Nexilva> 196 | ask >>= \w -> liftX (screenWorkspace 2 >>= \case |
2024-05-04 01:21:31 +0200 | <haskellbridge> | <Nexilva> Suggested fix: Perhaps you intended to use LambdaCase |
2024-05-04 01:21:39 +0200 | <haskellbridge> | <Nexilva> Please check the file for errors. |
2024-05-04 01:21:53 +0200 | <geekosaur> | yes, sorry, I did use LambdaCase (the "\case") |
2024-05-04 01:22:23 +0200 | <haskellbridge> | <Nexilva> I was pasting compile logs it didn't compile |
2024-05-04 01:22:25 +0200 | <geekosaur> | if you prefer not tu enable it, replace with: \x -> case x of |
2024-05-04 01:22:44 +0200 | <liskin> | and there's also https://xmonad.github.io/xmonad-docs/xmonad-contrib-0.18.0.9/XMonad-Actions-PhysicalScreens.html if the xinerama screen ordering isn't good enough |
2024-05-04 01:22:48 +0200 | <haskellbridge> | <Nexilva> I have noidea what you even did ha |
2024-05-04 01:23:49 +0200 | <geekosaur> | the sequence "\case" is not standard Haskell. you can either put "{-# LANGUAGE LambdaCase #-}" at the top of the file, or you can replace "\case" with "\x -> case x of" |
2024-05-04 01:25:54 +0200 | <haskellbridge> | <Nexilva> https://bpa.st/I3YA |
2024-05-04 01:26:12 +0200 | <haskellbridge> | <Nexilva> https://bpa.st/W5LQ |
2024-05-04 01:32:31 +0200 | <geekosaur> | sorry, you need to import Data.Semigroup |
2024-05-04 01:33:01 +0200 | <geekosaur> | or Data.Monoid |
2024-05-04 01:33:18 +0200 | <geekosaur> | (I tested it in my xmonad.hs, where I already have Data.Monoid imported for other reasons) |
2024-05-04 01:49:39 +0200 | catman | (~catman@user/catman) (Remote host closed the connection) |
2024-05-04 01:57:25 +0200 | catman | (~catman@user/catman) |
2024-05-04 01:59:54 +0200 | <haskellbridge> | <Nexilva> https://bpa.st/XLRQ after import. sorry was eating dinner |
2024-05-04 02:00:12 +0200 | catman | (~catman@user/catman) (Client Quit) |
2024-05-04 02:01:06 +0200 | <geekosaur> | hrm |
2024-05-04 02:01:23 +0200 | catman | (~catman@user/catman) |
2024-05-04 02:01:26 +0200 | <geekosaur> | I missed that, it's supposed to be using the function instance since those are functions] |
2024-05-04 02:01:42 +0200 | <geekosaur> | wait |