Newest at the top
2024-06-16 08:12:53 +0200 | gauge | (~gauge@user/gauge) |
2024-06-16 08:09:35 +0200 | gauge | (~gauge@user/gauge) (Ping timeout: 264 seconds) |
2024-06-16 07:51:41 +0200 | thunderrd | (~thunderrd@118.174.53.205) (Ping timeout: 240 seconds) |
2024-06-16 05:02:55 +0200 | td_ | (~td@i53870926.versanet.de) |
2024-06-16 05:01:05 +0200 | td_ | (~td@i53870937.versanet.de) (Ping timeout: 252 seconds) |
2024-06-16 04:54:47 +0200 | L29Ah | (~L29Ah@wikipedia/L29Ah) (Ping timeout: 268 seconds) |
2024-06-16 03:14:45 +0200 | todi | (~todi@p57803331.dip0.t-ipconnect.de) |
2024-06-16 03:14:27 +0200 | todi | (~todi@p57803331.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in) |
2024-06-16 02:04:07 +0200 | yosafbridge | (~yosafbrid@static.38.6.217.95.clients.your-server.de) |
2024-06-16 01:38:38 +0200 | yosafbridge | (~yosafbrid@static.38.6.217.95.clients.your-server.de) (Quit: Leaving) |
2024-06-16 00:09:37 +0200 | Guest0 | (~Guest0@67-0-55-142.albq.qwest.net) (Quit: Client closed) |
2024-06-16 00:01:31 +0200 | <Guest0> | Thank you |
2024-06-16 00:01:04 +0200 | <haskellbridge> | <柱間 (@senju_hashirama:aria-net.org)> Guest0: there's a video about it, by the youtuber named "distrotube" it's a good introduction |
2024-06-15 23:59:26 +0200 | <Guest0> | Where does someone go to learn the basic fundamentals of xmonad and to understand the documentation better thank you very much |
2024-06-15 23:46:01 +0200 | <geekosaur> | in this case, it's an action in the IO monad |
2024-06-15 23:45:46 +0200 | <lambdabot> | String -> IO () |
2024-06-15 23:45:44 +0200 | <geekosaur> | :t putStrLn |
2024-06-15 23:45:20 +0200 | <geekosaur> | in our case, X is a monad that carries around xmonad's internal state, and X () indicates that something is an action in the X monad (that is, it does something instead of producing a value) |
2024-06-15 23:44:29 +0200 | <geekosaur> | https://en.wikibooks.org/wiki/Haskell/Type_basics#section=9 |
2024-06-15 23:41:19 +0200 | <Guest0> | Thank you for the assistance have a nice day |
2024-06-15 23:40:54 +0200 | <Guest0> | - > () |
2024-06-15 23:40:17 +0200 | <Guest0> | This one |
2024-06-15 23:40:08 +0200 | <geekosaur> | -> X () is part of a type signature (usually indicating that something is an xmonad action) |
2024-06-15 23:39:57 +0200 | <geekosaur> | didn't I just say that? |
2024-06-15 23:38:46 +0200 | <Guest0> | And the other item |
2024-06-15 23:37:53 +0200 | <geekosaur> | :: marks a type signature, -> X () is part of a type signature (usually indicating that something is an xmonad action) |
2024-06-15 23:35:32 +0200 | <Guest0> | I just wanted to know how to use them and what they're for |
2024-06-15 23:35:24 +0200 | <Guest0> | I found these on the after drag module |
2024-06-15 23:35:02 +0200 | <Guest0> | How do I use these I keep seeing them in xmonad and I've always wanted to learn how to use them properly |
2024-06-15 23:34:26 +0200 | <Guest0> | -> X () |
2024-06-15 23:33:31 +0200 | <Guest0> | :: X () |
2024-06-15 23:33:12 +0200 | <Guest0> | What is this for |
2024-06-15 23:32:32 +0200 | <Guest0> | If I may ask one more question |
2024-06-15 23:32:01 +0200 | <Guest0> | Thank you very much |
2024-06-15 23:31:21 +0200 | <geekosaur> | you can use values other than 300; that's just the number ifClick uses. ifClick' allows you to use a different one |
2024-06-15 23:30:47 +0200 | <geekosaur> | I don't understand what you're asking |
2024-06-15 23:29:19 +0200 | <Guest0> | Is it a fixed number amount only |
2024-06-15 23:28:29 +0200 | <geekosaur> | note that this has to be part of a mouse binding |
2024-06-15 23:28:21 +0200 | <Guest0> | When I tried to use that exact same one it didn't work |
2024-06-15 23:28:17 +0200 | <geekosaur> | (that's the ifClick example rewritten to use ifClick') |
2024-06-15 23:27:53 +0200 | <geekosaur> | `, ((modm, button3), (\w -> focus w >> mouseResizeWindow w >> ifClick' 300 (windows $ W.float w $ W.RationalRect 0 0 1 1) (return ())))` |
2024-06-15 23:27:10 +0200 | <geekosaur> | pretty much the same as the example for ifClick |
2024-06-15 23:26:13 +0200 | <Guest0> | How do I use this on x-monad module after drag ifClick' https://hackage.haskell.org/package/xmonad-contrib-0.18.0/docs/XMonad-Actions-AfterDrag.html thank you |
2024-06-15 23:24:38 +0200 | Guest0 | (~Guest0@67-0-55-142.albq.qwest.net) |
2024-06-15 23:21:59 +0200 | Guest0 | (~Guest0@67-0-55-142.albq.qwest.net) (Quit: Client closed) |
2024-06-15 23:21:05 +0200 | <geekosaur> | `afterDrag` modifies the action to be taken after the drag completes. `ifClick'` uses `afterDrag` to install a cleanup handler that checks if the drag was a click and executes its second parameter for a click (as defined by its first argument) or a drag |
2024-06-15 23:19:33 +0200 | <geekosaur> | okay, the idea is you call this after initiating a drag in code (the example code for `ifClick` uses `mouseResizeWindow`). drags are not synchronous; once initiated, the main event loop tracks the drag and runs code after it completes (see `afterDrag`, and `dragging` in https://hackage.haskell.org/package/xmonad-0.18.0/docs/XMonad-Core.html#t:XState) |
2024-06-15 23:14:25 +0200 | <Guest0> | And if you're preparing to what documentation is the xmonad documentation |
2024-06-15 23:14:03 +0200 | <Guest0> | I'm having problems understanding what ifClick' does on the module after drag and how to use it |
2024-06-15 23:13:17 +0200 | <geekosaur> | I'm not sure what you're asking. What documentation are you looking at? |