Logs: liberachat/#xmonad
| 2021-11-20 02:19:05 | × | redgloboli quits (~redglobol@user/redgloboli) (Ping timeout: 250 seconds) |
| 2021-11-20 02:26:25 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 256 seconds) |
| 2021-11-20 02:34:35 | × | catman quits (~catman@user/catman) (Ping timeout: 264 seconds) |
| 2021-11-20 02:37:00 | → | catman joins (~catman@user/catman) |
| 2021-11-20 03:03:49 | × | banc quits (banc@gateway/vpn/airvpn/banc) (Ping timeout: 256 seconds) |
| 2021-11-20 03:11:20 | → | SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
| 2021-11-20 03:22:11 | → | banc joins (banc@gateway/vpn/airvpn/banc) |
| 2021-11-20 03:39:16 | <Arcanus[m]> | <jakeStateless-Fa> "I recommend a basic nix install,..." <- Ive looked into nix a little bit, its interesting, but that a fullsystem overhaul is not something im interested in doing at the moment. |
| 2021-11-20 03:52:50 | × | td_ quits (~td@muedsl-82-207-238-169.citykom.de) (Ping timeout: 268 seconds) |
| 2021-11-20 03:54:31 | → | td_ joins (~td@muedsl-82-207-238-028.citykom.de) |
| 2021-11-20 04:39:20 | <jakeStateless-Fa> | I understand. You don't have to integrate everything into nix though, and it's a standalone package manager as well as a distro. So, you could easily run only xmonad inside it. If you so chose. If/when you change your mind, lmk, I'll be of assistance. |
| 2021-11-20 05:11:14 | <jakeStateless-Fa> | I just discovered `weston` - the reference wayland implementation. It can be ran as a window, under Xorg! |
| 2021-11-20 05:11:50 | <jakeStateless-Fa> | That'll make things easier for debugging wayland support (eventually) |
| 2021-11-20 05:51:59 | × | catman quits (~catman@user/catman) (Ping timeout: 264 seconds) |
| 2021-11-20 05:56:21 | → | catman joins (~catman@user/catman) |
| 2021-11-20 06:03:26 | <Arcanus[m]> | <jakeStateless-Fa> "I understand. You don't have..." <- I didnt know about that, i will have to look more into it, thanks for the info! |
| 2021-11-20 06:07:29 | <Arcanus[m]> | How does that even work? |
| 2021-11-20 06:34:03 | × | mvk quits (~mvk@2607:fea8:5cc1:fa00::4702) (Quit: Going elsewhere) |
| 2021-11-20 06:41:47 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 264 seconds) |
| 2021-11-20 07:20:39 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 268 seconds) |
| 2021-11-20 07:44:21 | <Solid> | Arcanus[m]: if you only want to use it for xmonad, I heavily recommend stack over nix |
| 2021-11-20 07:44:26 | <Solid> | it's much easier to set up |
| 2021-11-20 07:44:47 | → | obimod joins (~obimod@gateway/vpn/pia/obimod) |
| 2021-11-20 07:55:35 | × | obimod quits (~obimod@gateway/vpn/pia/obimod) (Ping timeout: 264 seconds) |
| 2021-11-20 07:57:21 | <Arcanus[m]> | Solid: i did try to install it from stack, but i think i missed a step somewhere and broke xmonad. So had to reinstall from repo. If arch doesnt hurry and update i will have to try it again |
| 2021-11-20 07:57:53 | <Arcanus[m]> | Or distrohop |
| 2021-11-20 07:57:58 | <Solid> | please do open an issue if you encounter any problems |
| 2021-11-20 07:58:11 | <Solid> | this way we can make the docs more robust :) |
| 2021-11-20 08:00:40 | <Arcanus[m]> | Got it. In thos case im 90% certain it was a PEBCAK error, but if i run into it again i will report it |
| 2021-11-20 08:01:11 | <Arcanus[m]> | Or come crying about it in here |
| 2021-11-20 08:05:25 | <Solid> | well, even if it was PEBKAC chances are you won't be the only person running into that specific issue |
| 2021-11-20 08:05:36 | <Solid> | so anything we can do to make the docs clearer is a win for everyone |
| 2021-11-20 09:04:18 | → | dschrempf joins (~dominik@62.240.134.78) |
| 2021-11-20 09:16:57 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Read error: Connection reset by peer) |
| 2021-11-20 09:17:32 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2021-11-20 09:21:47 | × | dschrempf quits (~dominik@62.240.134.78) (Ping timeout: 256 seconds) |
| 2021-11-20 09:37:25 | × | sagax quits (~sagax_nb@user/sagax) (Ping timeout: 250 seconds) |
| 2021-11-20 09:47:07 | → | dschrempf joins (~dominik@62.240.134.78) |
| 2021-11-20 09:51:54 | × | dschrempf quits (~dominik@62.240.134.78) (Ping timeout: 260 seconds) |
| 2021-11-20 09:58:53 | → | mc47 joins (~mc47@xmonad/TheMC47) |
| 2021-11-20 10:24:45 | → | desantra joins (~skykanin@user/skykanin) |
| 2021-11-20 10:28:04 | → | seschwar joins (~seschwar@user/seschwar) |
| 2021-11-20 11:13:35 | <electr0n> | Arcanus[m]: I would stay away from the arch repos when it comes to anything haskell. it was fairly straight forward to make it a stack project and go that route I found myself trying to fix various issues that weren't working with my config.. come to find out it was the arch haskell packages that were causing issues... once I went with stack, my config worked. |
| 2021-11-20 11:14:51 | × | tv quits (~tv@user/tv) (Read error: Connection reset by peer) |
| 2021-11-20 11:22:04 | <Arcanus[m]> | electr0n: thanks, I looking up the docs on installing xmonad thgouh stack as we speak. it might just be my little project over the weekend to see if i can get it working. I know that if all else fails I still have a workable config and if I need to reinstall through the repos I still can. but there appear to be some really sweet updates that I am missing out on that might just allow me to make the last 1% of changes that I am wanting |
| 2021-11-20 11:22:26 | <Arcanus[m]> | ^ am looking up |
| 2021-11-20 11:31:17 | <Arcanus[m]> | I think I know part of the problem... I was following a write up from 2017....this might have caused some issues perhaps |
| 2021-11-20 11:32:26 | → | lyiriyah joins (~lyiriyah@2a00:23c8:5f85:9101:9d63:4520:2a26:3115) |
| 2021-11-20 11:32:47 | → | tv joins (~tv@user/tv) |
| 2021-11-20 11:34:42 | <lyiriyah> | I've been trying to get CycleRecentWS to work with IndependentScreens for a couple days now (specifically the toggleRecentWS function). Does anyone have any idea how I could go about that? |
| 2021-11-20 11:35:48 | <lyiriyah> | I think I need a predicate that checks whether the workspace is on the focused screen, but the function which returns the recent workspaces needs a predicate with the type (WindowSpace -> Bool). |
| 2021-11-20 11:36:00 | × | lyiriyah quits (~lyiriyah@2a00:23c8:5f85:9101:9d63:4520:2a26:3115) (Client Quit) |
| 2021-11-20 11:36:42 | → | lyiriyah joins (~lyiriyah@user/lyiriyah) |
| 2021-11-20 11:44:00 | <Vermoot> | I'm also very interested in making CycleWS work with IndependentScreens |
| 2021-11-20 11:51:57 | <Vermoot> | I've been looking at this https://www.reddit.com/r/xmonad/comments/qmjxmh/cyclews_only_on_current_screen_with_independent/ |
| 2021-11-20 11:52:40 | <Vermoot> | It compiles but behaves very weirdly (I can only move across spaces on one of my screens, and I get some unwanted swapping of spaces |
| 2021-11-20 13:06:50 | → | SenranKaguya joins (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) |
| 2021-11-20 13:12:19 | → | sagax joins (~sagax_nb@user/sagax) |
| 2021-11-20 13:42:35 | × | noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Quit: my dad's not a phone!) |
| 2021-11-20 14:01:37 | → | dschrempf joins (~dominik@62.240.134.78) |
| 2021-11-20 14:02:25 | × | dschrempf quits (~dominik@62.240.134.78) (Client Quit) |
| 2021-11-20 14:13:16 | → | noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
| 2021-11-20 14:14:50 | × | noex quits (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) (Client Quit) |
| 2021-11-20 14:49:24 | → | noex joins (~noex@2600:8804:1280:aa0:5857:94a:25de:c513) |
| 2021-11-20 14:54:24 | × | terrorjack quits (~terrorjac@2a01:4f8:1c1e:509a::1) (Quit: The Lounge - https://thelounge.chat) |
| 2021-11-20 14:57:04 | → | terrorjack joins (~terrorjac@2a01:4f8:1c1e:509a::1) |
| 2021-11-20 15:18:50 | <lyiriyah> | Vermoot: That reddit post almost works for my purposes, but the resulting function has type X (WindowSpace -> Bool) rather than WindowSpace -> Bool |
| 2021-11-20 15:19:27 | <lyiriyah> | I need to find some way to "unwrap" the function from the X monad. I think it's the fault of the currentScreen function as that returns X ScreenId, not ScreenId |
| 2021-11-20 15:24:09 | <Solid> | you're not going to get something unwrapped without resorting to extremely unsafe operations |
| 2021-11-20 15:24:56 | <Solid> | but I fail to see why you would want to anyways; at the end of the day keybindings are just X (), no? |
| 2021-11-20 15:28:30 | <lyiriyah> | This isn't for a keybinding. What I need is a function with the type WindowSpace -> Bool that checks if the workspace is on the current screen. |
| 2021-11-20 15:28:56 | <lyiriyah> | That function will then be passed to X.A.CycleRecentWS's recentWS function |
| 2021-11-20 15:29:43 | × | SenranKaguya quits (~weechat@c-73-15-19-170.hsd1.ca.comcast.net) (Ping timeout: 250 seconds) |
| 2021-11-20 15:31:14 | <lyiriyah> | (recentWS orders workspaces in order of recency) |
| 2021-11-20 15:34:33 | <lyiriyah> | I've tried using W.screen $ W.current (gets windowset) but that produces an error: No instance for (MonadState XState (W.StackSet i0 l0 a0 ScreenId)) arising from a use of `gets` |
| 2021-11-20 15:35:18 | <lyiriyah> | I haven't fully grok'd Haskell error messages yet, this might be something really obvious |
| 2021-11-20 15:35:20 | <geekosaur> | the point here is that at some point you will have an X (), since cycleRecentWS is a keybinding. since you have that X (), you can "unwrap" values of type X <something> as long as you ultimately "put them back" |
| 2021-11-20 15:35:50 | <geekosaur> | you use <- instead of "let … = …" to "unwrap" values |
| 2021-11-20 15:40:26 | <lyiriyah> | Getting the screen inside toggleRecentWS and passing that to isOnScreen worked, thanks. I'll look into <- a bit more and see what it does. |
| 2021-11-20 15:42:59 | <geekosaur> | spoiler: it's actually a wrapper for >>= |
| 2021-11-20 15:43:57 | <geekosaur> | but using >>= directly for anything other than a quick one-liner is annoying and repetitive, so we have do notation |
| 2021-11-20 15:47:40 | <lyiriyah> | Oh I see. Will definitely make more use of that |
| 2021-11-20 15:48:17 | <geekosaur> | you can use @undo and @redo to see how do notation translates to uses of >> and >>= and vice versa |
| 2021-11-20 15:48:22 | <geekosaur> | in the bot here |
| 2021-11-20 15:50:54 | <lyiriyah> | How would I do that? |
| 2021-11-20 15:51:17 | <lyiriyah> | @undo x <- f |
| 2021-11-20 15:51:17 | <lambdabot> | <unknown>.hs:1:3:Parse error: <- |
| 2021-11-20 15:51:21 | <lyiriyah> | Oh I see |
| 2021-11-20 15:51:57 | <lyiriyah> | @undo do { x <- f } |
| 2021-11-20 15:51:57 | <lambdabot> | <unknown>.hs:1:14:Parse error: Last statement in a do-block must be an expression |
| 2021-11-20 15:52:05 | <lyiriyah> | @undo do { x <- f; g x } |
| 2021-11-20 15:52:05 | <lambdabot> | f >>= \ x -> g x |
| 2021-11-20 15:52:28 | <lyiriyah> | @undo do { x; y <- f; g y } |
| 2021-11-20 15:52:28 | <lambdabot> | x >> f >>= \ y -> g y |
| 2021-11-20 16:01:02 | <lyiriyah> | @redo x >> f >>= \y -> g y |
| 2021-11-20 16:01:02 | <lambdabot> | Maybe you meant: undo todo do |
| 2021-11-20 16:01:10 | <lyiriyah> | @do x >> f >>= \y -> g y |
| 2021-11-20 16:01:10 | <lambdabot> | do { y <- do { x; f}; g y} |
| 2021-11-20 16:01:19 | <lyiriyah> | @do x >> f >>= \ y -> g y |
| 2021-11-20 16:01:19 | <lambdabot> | do { y <- do { x; f}; g y} |
All times are in UTC.