Skip to content

Conversation

@HyunggyuJang
Copy link
Contributor

@HyunggyuJang HyunggyuJang commented Dec 26, 2021

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
Contributor Author

Originated from #159 (comment).

Copy link
Collaborator

@Grazfather Grazfather left a comment

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
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 :)

"
Swap window using hhtwm.
"
(let [dir {:h "west" :j "south" :k "north" :l "east"}
Copy link
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
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.

- Set layout as the main window comes to the right half of current display
- Start tiling
"
(hhtwm.setLayout "main-right")
Copy link
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
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
Collaborator

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

@HyunggyuJang
Copy link
Contributor Author

Your kind words warmed my heart! Thanks.

@Grazfather
Copy link
Collaborator

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

@HyunggyuJang
Copy link
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
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