Xest - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

TheMatten

Trying out https://jhgarner.github.io/Xest-Window-Manager/, and this thing honestly looks really cool - I had troubles navigating through XMonad, but this one just works out of the box

Georgi Lyubenov // googleson78

I don't quite understand the selling point they're making

Georgi Lyubenov // googleson78

are they saying you have "tiers" of workspaces

Georgi Lyubenov // googleson78

e.g. on tier 0 you have two "global" workspaces, and then you work within "tier 1" most of the time

Georgi Lyubenov // googleson78

and when you want to totally "context switch" you go to the different tier 0 one

Georgi Lyubenov // googleson78

and they suggest that you have completely different keybinds for switch tier 0s vs switching tier 1s?

TheMatten

Playing with it a little bit, it seems like you have these "many" tilers that can contain multiple tilers with single or multiple windows
These tilers can be set to fullscreen mode, in which case you basically have multiple independent "workspaces" to manipulate
So if I setup some non-trivial layouts in tilers nested under this fullscreen one, I can switch between them as if I was switching between separate workspaces

Georgi Lyubenov // googleson78

so instead of having keybinds for different tiers, you have binds that "go down/up" in the tree

Georgi Lyubenov // googleson78

and then the binds manipulate the current layer/level of the tree?

TheMatten

Yeah - basically, all you have is tiler for single window and tiler for multiple tilers, and you can nest them to create any layout you want, navigating through them as through some tree

Georgi Lyubenov // googleson78

sounds fun, might actually try it out too, I've been using using i3 for 3-4 years now, in a mostly disorganised fashion (apart from the "always there" stuff)

TheMatten

Though I am yet to find out how to use multiple displays (did not find way to edit the second one :big_smile: )
And I am currently purposefully avoiding quotes because I am stuck at Slovak keyboard without shortcut to change it :joy:

Georgi Lyubenov // googleson78

oh, haskell too, I wonder if they have a zipper in there :P

Georgi Lyubenov // googleson78

TheMatten said:

Though I am yet to find out how to use multiple displays (did not find way to edit the second one :big_smile: )

this works with X, right? try arandr

Georgi Lyubenov // googleson78

or do you mean, how to switch between displays in the wm?

TheMatten

I mean, I see the second screen, but it is stuck in "normal" mode and all I can do is to hover mouse inside of it

Georgi Lyubenov // googleson78

no focus on the other workspace when you do that?

Georgi Lyubenov // googleson78

OwO, recursion schemes and freer-simple

Georgi Lyubenov // googleson78

I've yet to find recursion schemes other than foldr useful, but maybe I'm just thinking on too low a level/not working on something that requires them often

TheMatten

Georgi Lyubenov // googleson78 said:

no focus on the other workspace when you do that?

Seems like not

TheMatten

Georgi Lyubenov // googleson78 said:

I've yet to find recursion schemes other than foldr useful, but maybe I'm just thinking on too low a level/not working on something that requires them often

I mean, I guess most of transformations we usually do are just folds - even for that purpose, I would consider them to be pretty nice simply because they compose

TheMatten

Hmm, seems like second display works after all - after some clicking and switching between modes I've opened new windows there