aesophor / wmderland

🌳 X11 tiling window manager using space partitioning trees
https://www.reddit.com/r/unixporn/comments/fb8ve1/wmderland_104_time_to_move_on/
MIT License
409 stars 15 forks source link

Moving/resizing floating windows with keybinds? #18

Closed vaskark closed 4 years ago

vaskark commented 5 years ago

Hi. I'm playing with your wm and am wondering if it's possible to move and resize windows. In the config there is:

bindsym $Mod+h navigate_left

So I tried

bindsym $Mod+Shift+h move_left

But that didn't work. I'm just going off what I've seen other tiling wm's do, like i3. Anyhoo, great work. Thanks.

aesophor commented 5 years ago

Hi! It is currently not possible to resize tiling windows, as I haven't come up with a way to implement this feature (Do you mean the same as #16?)

For now, only floating windows can be moved / resized :

This win/command key can be changed here, if you like to use Alt, you can change it to Alt. I'll integrate this to config. https://github.com/aesophor/Wmderland/blob/master/src/window_manager.cc#L127

Mask Value Key
Mod1Mask 8 Alt
Mod2Mask 16 Num Lock
Mod3Mask 32 Scroll Lock
Mod4Mask 64 Windows
Mod5Mask 128 ???

Thanks!

vaskark commented 5 years ago

Thanks for replying. It's a great wm. Good luck with it!

aesophor commented 5 years ago

Thank you for your feedback! You are so kind! :smile_cat:

aesophor commented 4 years ago

Hello friend,

1. Polybar workspace issue: Please use the xworkspaces module instead of i3 module, here https://github.com/aesophor/dotfiles/blob/master/polybar/.config/polybar/config#L54's my polybar config. If you want to display icons instead of index (1~9), please change %index% to %icon%.

[image: scrot-2019-09-15_105528_316x31.png] [image: scrot-2019-09-15_105502_355x32.png]

2. Resize issue: I'm also having difficulties resizing windows with my trackpad @_@ Do you have a mouse available right now? Most of the time I use a mouse so I haven't noticed such a flaw until now.

I just checked the behavior of i3. In i3, users can:

I'll add this feature after I've finished applying for a CS master degree (November maybe) Sorry for the inconvenience... :(

On Sun, Sep 15, 2019 at 3:12 AM vaskark notifications@github.com wrote:

Hi again.

I'm noticing that resizing floating windows has stopped working. Are others experiencing this? Of course, it just might be my trackpad :(

Also, I like to run polybar as my status bar. But the workspace module 'i3' does not work here. So right now I can't make use of workspaces. Is there anything I can do? Or should I use another bar app?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aesophor/Wmderland/issues/18?email_source=notifications&email_token=AH3YJON5NQBC4VTQ27SP3E3QJUZS5A5CNFSM4IPG6ELKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XCGOY#issuecomment-531505979, or mute the thread https://github.com/notifications/unsubscribe-auth/AH3YJOJRQQUZ5XT44E7NXO3QJUZS5ANCNFSM4IPG6ELA .

-- Best regards, Marco Wang

vaskark commented 4 years ago

@aesophor I made a new polybar config with the xworkspaces module and it works great. Many thanks. I notice that this module has all workspaces visible at once. Does the i3 modules do that, too? That one only displays ws's when they are populated, it seems.

As for resizing, some windows (like nautilus and other gtk windows) are very easy to resize - the cursor changes to an arrow at the window's edge -- no right-click necessary. Its terminal windows that are hard to resize (and probably some others).

Anyhoo, many thanks. It's a neat little wm.

aesophor commented 4 years ago

@vaskark Thank you! This makes me so happy to read :smile:

To make the xworkspaces module works like i3, make the following change to your polybar config:

label-empty = %index%

to

label-empty =

And then only active workspace(s) will be displayed. Workspaces without windows will not be displayed at all :)

aesophor commented 4 years ago

This feature has been implemented in #35. Closing.