2025/05/08

Newest at the top

2025-05-08 23:55:44 +0200ft(~ft@p4fc2a6e6.dip0.t-ipconnect.de) ft
2025-05-08 23:51:58 +0200ft(~ft@p4fc2a6e6.dip0.t-ipconnect.de) (Quit: Lost terminal)
2025-05-08 22:45:16 +0200OftenFaded(~OftenFade@user/tisktisk) OftenFaded
2025-05-08 22:36:25 +0200OftenFaded(~OftenFade@user/tisktisk) (Quit: Client closed)
2025-05-08 22:22:22 +0200hightower2(~hightower@213.186.15.36) hightower2
2025-05-08 21:10:21 +0200rascasse(~rascasse@user/diep) (Remote host closed the connection)
2025-05-08 21:10:19 +0200 <rascasse> geekosaur: thx for the help
2025-05-08 21:07:53 +0200 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> And the function it should use is screenWorkspace
2025-05-08 21:06:55 +0200 <haskellbridge> <geekosaur (@geekosaur:matrix.org)> I think I mentioned that earlier, it's for the other -screen keys (mod-w,e,r)
2025-05-08 21:05:29 +0200 <rascasse> https://bin.deip.fr/upload/eel-fox-sheep
2025-05-08 21:05:22 +0200 <rascasse> ah sorry you fixed it
2025-05-08 21:00:17 +0200 <rascasse> instead of `windows $ f i`
2025-05-08 21:00:01 +0200 <rascasse> so what's purpose of `screenWorkspace sc >>= flip whenJust f`?
2025-05-08 20:57:38 +0200 <rascasse> okok
2025-05-08 20:57:17 +0200 <rascasse> where greedyView would swap it
2025-05-08 20:56:57 +0200 <geekosaur> correct
2025-05-08 20:56:47 +0200 <rascasse> basically if the target WS is displayed on another monitor, "view" will not swap that target WS into the current monitor but rather will just move the focus to the other monitor?
2025-05-08 20:55:11 +0200 <geekosaur> that's fine
2025-05-08 20:54:32 +0200 <rascasse> Im using single xmobar (always on main screen)
2025-05-08 20:53:14 +0200 <geekosaur> most people do prefer view over greedyView, and most people do run status bars
2025-05-08 20:51:26 +0200 <geekosaur> I have one program that breaks if swapped to a smaller monitor from a larger one, and I run a statusbar, so I switched to view
2025-05-08 20:50:12 +0200 <geekosaur> if you only have one monitor, they're equivalent
2025-05-08 20:49:33 +0200 <geekosaur> if you hhave multiple monitors, view on a visible workspace (on a different monitor) switches focus to that monitor, greedyView swaps the monitor with the current workspace. standard bindings use greedyView so workspace focus is always on the primary monitor, because if you don't have a statusbar you otherwise can't tell if focus is on a different monitor when it has no windows open
2025-05-08 20:48:21 +0200rascasse(~rascasse@user/diep) diep
2025-05-08 20:48:04 +0200rascasse(~rascasse@user/diep) (Remote host closed the connection)
2025-05-08 20:47:51 +0200OftenFaded(~OftenFade@user/tisktisk) OftenFaded
2025-05-08 20:45:09 +0200 <rascasse> what's the diff btw greedyView and view?
2025-05-08 20:44:37 +0200 <rascasse> ahaha
2025-05-08 20:44:30 +0200 <rascasse> just realizing now
2025-05-08 20:44:04 +0200 <rascasse> wtf
2025-05-08 20:44:00 +0200 <rascasse> hmm yes you're right xD
2025-05-08 20:43:31 +0200 <geekosaur> those overlap (define the same keys). I think you want the first one only
2025-05-08 20:42:58 +0200 <rascasse> right now I cant even goto workspace 123
2025-05-08 20:42:09 +0200 <rascasse> with wspaces = ["1", "2", "3"] and wsKeys = "123"
2025-05-08 20:41:23 +0200 <rascasse> this is what I have in the config
2025-05-08 20:41:14 +0200 <rascasse> https://b.deip.fr/p/sloth-hawk-snail
2025-05-08 20:40:28 +0200 <rascasse> okay it's not working as expected, to give a bit more context Im just trying to setup basic key mappings to "goto WS x" and "move this window to WS x"
2025-05-08 20:39:19 +0200rascasse(~rascasse@user/diep) diep
2025-05-08 20:38:24 +0200rascasse(~rascasse@user/diep) (Remote host closed the connection)
2025-05-08 20:38:22 +0200 <rascasse> I think I need to restart xmonad in order to test it thou, brb to confirm (or not) it's working
2025-05-08 20:36:28 +0200 <rascasse> yea it compiles now
2025-05-08 20:35:44 +0200 <geekosaur> for comparison, https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L309-L316 (I used more descriptive names, and my variable is "workspacen")
2025-05-08 20:34:42 +0200 <rascasse> cool thx testing it
2025-05-08 20:34:21 +0200 <geekosaur> I think that does what you want
2025-05-08 20:34:13 +0200 <geekosaur> okay, corrected
2025-05-08 20:33:47 +0200 <geekosaur> wait, missed one part
2025-05-08 20:33:39 +0200 <geekosaur> try this version https://bin.deip.fr/upload/eel-fox-sheep (I edited it)
2025-05-08 20:33:12 +0200 <rascasse> perhaps I missed with some config then
2025-05-08 20:33:01 +0200 <rascasse> hmm ok
2025-05-08 20:32:43 +0200 <rascasse> weird, this part of the config has not been touched since a very long time