2024/05/19

Newest at the top

2024-05-19 19:30:55 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)
2024-05-19 19:19:16 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16) (Ping timeout: 260 seconds)
2024-05-19 19:08:46 +0200geekosaurdislikes that, either it should just be an Int or the um instance should go away
2024-05-19 19:08:45 +0200 <tom_> looks to work, thanks alot!
2024-05-19 19:08:23 +0200 <geekosaur> yes, ScreenId has a Num instance so numeric literals (only) get converted
2024-05-19 19:05:45 +0200 <tom_> i do main = do nScreens <- countScreens xmonad ...
2024-05-19 19:04:58 +0200 <tom_> oh weird cause when i just wrote a 0 instead currentScreen it worked (for just my first display)
2024-05-19 19:04:22 +0200 <geekosaur> https://pastecode.dev/s/0njsvg0b if somehow you're using a ScreenId instead of Int
2024-05-19 19:03:21 +0200 <geekosaur> er. what type is nScreens? I was expecting Int
2024-05-19 19:01:46 +0200 <tom_> https://pastecode.dev/s/d0jwfufg
2024-05-19 19:00:40 +0200 <geekosaur> can you show the error you're getting? I should be extracting the `Int` from the `ScreenId` already
2024-05-19 18:59:34 +0200 <tom_> okay nice just the screenid to int problem, i think theres a toIntegral or something?
2024-05-19 18:57:43 +0200 <geekosaur> https://pastecode.dev/s/j7vlj6hc missed a step
2024-05-19 18:56:12 +0200 <geekosaur> oh, whoops, sorry
2024-05-19 18:54:07 +0200 <tom_> heres the full error: https://pastecode.dev/s/nmdomw1n
2024-05-19 18:50:27 +0200 <geekosaur> hm, it should have done that (the `\(S currentScreen)`)
2024-05-19 18:49:36 +0200 <tom_> theres another scaryier compiler error but i hope it goes away after that first one
2024-05-19 18:49:07 +0200 <tom_> gotta still convert screenid to int
2024-05-19 18:47:28 +0200 <geekosaur> note that you need `import qualified XMonad.StackSet as W`
2024-05-19 18:45:00 +0200 <tom_> i try your code rq
2024-05-19 18:44:43 +0200 <geekosaur> you can do more of those
2024-05-19 18:44:32 +0200 <tom_> problem is, im already doing a `nScreens <- countScreens`, after my do
2024-05-19 18:44:28 +0200 <geekosaur> https://pastecode.dev/s/xpwmb3oc
2024-05-19 18:42:34 +0200 <geekosaur> no, you need to use <- to extract it, while in the X monad
2024-05-19 18:41:45 +0200 <tom_> i've been trying alot of variants of that
2024-05-19 18:41:29 +0200 <tom_> i cant do `, s <- [x | x <- [0 .. nScreens], x /= (gets (W.screen . W.current))]`
2024-05-19 18:41:18 +0200 <tom_> im too big of a haskell noob
2024-05-19 18:38:47 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)
2024-05-19 18:37:13 +0200 <geekosaur> gets (W.screen . W.current)
2024-05-19 18:32:29 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16) (Ping timeout: 240 seconds)
2024-05-19 18:26:37 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)
2024-05-19 18:08:20 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16) (Ping timeout: 260 seconds)
2024-05-19 17:43:19 +0200 <tom_> but it works if i try a static number
2024-05-19 17:43:04 +0200 <tom_> havent got currentScreen yet
2024-05-19 17:37:50 +0200 <tom_> https://pastecode.dev/s/6unskapw
2024-05-19 17:37:49 +0200 <tom_> was going to try this:
2024-05-19 17:37:13 +0200 <vrs> have to write some code*
2024-05-19 17:37:04 +0200 <vrs> you would have some code but you could take W.hidden and filter it against workspaces on the screen
2024-05-19 17:36:54 +0200 <tom_> i think i got it:
2024-05-19 17:24:33 +0200 <tom_> hey, so i got multiple monitors and i've isolated the workspaces between screens kinda like dwm, anyway i can hack toggleWS to only toggle to the last viewed workspace only from that screen?
2024-05-19 17:08:05 +0200hexa6(~user@172.56.17.134)
2024-05-19 17:06:19 +0200catman(~catman@user/catman)
2024-05-19 17:03:47 +0200catman(~catman@user/catman) (Quit: WeeChat 4.3.0-dev)
2024-05-19 16:46:26 +0200L29Ah(~L29Ah@wikipedia/L29Ah)
2024-05-19 16:20:39 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)
2024-05-19 16:20:10 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16) (Max SendQ exceeded)
2024-05-19 16:16:19 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)
2024-05-19 16:15:41 +0200L29Ah(~L29Ah@wikipedia/L29Ah) (Quit: Gateway shutdown)
2024-05-19 16:03:31 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16) (Ping timeout: 260 seconds)
2024-05-19 15:57:39 +0200defjam(~defjam@2a02:c7e:2807:b900:b893:31d3:776c:6c16)