Skip to content

Tiling windows#162

Draft
HyunggyuJang wants to merge 3 commits into
agzam:masterfrom
HyunggyuJang:tiling
Draft

Tiling windows#162
HyunggyuJang wants to merge 3 commits into
agzam:masterfrom
HyunggyuJang:tiling

Conversation

@HyunggyuJang

@HyunggyuJang HyunggyuJang commented Dec 26, 2021

Copy link
Copy Markdown
Contributor

This is an attempt to merge HHTWM's tiling feature into spacehammer's realm.

@HyunggyuJang HyunggyuJang marked this pull request as draft December 26, 2021 01:00
@HyunggyuJang

Copy link
Copy Markdown
Contributor Author

Originated from #159 (comment).

@Grazfather Grazfather left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start, I won't be able to play with this for about a week, though.

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you need internal.so stuff for/how did it get in here? We obviously cannot add dynamic libraries directly to this repo, ignoring that it's arch specific, it's also a security nightmare :)

Comment thread tiling.fnl
"
Swap window using hhtwm.
"
(let [dir {:h "west" :j "south" :k "north" :l "east"}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why encode the hjkl part here? e.g. Why not just have swap-window-left call swap-window :left?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean swap-window :west. You're adding an intermediate hjkl to compass mapping, when you could encode a 'left right up down' to compass mapping directly in the function calls.

Comment thread tiling.fnl
- Set layout as the main window comes to the right half of current display
- Start tiling
"
(hhtwm.setLayout "main-right")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want the default somewhere in the config so that users can easily change this.

@HyunggyuJang

Copy link
Copy Markdown
Contributor Author

Thanks for your review @Grazfather, unfortunately, for a month from now, I need to write my thesis, so can’t look into and reflect commented points.

I’ll come back about middle of February!

@Grazfather

Copy link
Copy Markdown
Collaborator

No real rush, thanks for pushing the PR so that I can play with it. Good luck on your thesis!

@HyunggyuJang

Copy link
Copy Markdown
Contributor Author

Your kind words warmed my heart! Thanks.

@Grazfather

Copy link
Copy Markdown
Collaborator

How is your thesis going? Are you still interested in picking up this work?

@HyunggyuJang

Copy link
Copy Markdown
Contributor Author

How is your thesis going? Are you still interested in picking up this work?

Sorry for the super late update. Yes, successfully completed my thesis! Thanks a lot for your interest. I haven’t used hhtwm since then, so let me check it whether it is still feasible and worth to integrate it.

@Grazfather

Copy link
Copy Markdown
Collaborator

Congratulations! And no worries, we can get this PR working again or just ditch it, although I am interested to try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants