Trying something with tinywm, wmctrl and xbindkeys, need help+advice
I'm trying to set up an extremely minimalistic desktop and I'm trying to makt tinywm a little bit more useful with wmctrl, xbindkeys and vdesk. What I'm essentially trying to accomplish is to use a combination of wmctrl and xbindkeys to create some sort of hot corners/areas where for example if the mouse moves with in x pixel of say the border and you click and move the mouse, you resize the window to the left, or if you move into x pixels from any corner and press the mouse button, you maximize the window to that direction, and doing the same on a maximized window minimizes it, also moving the mouse to the right corner of a window and pressing the mouse button twice within x milliseconds should kill the window. You'll get the picture what I'm trying to do. Can anyone help me accomplish this task? I might even make it a stand alone script to apply on other window managers. I use spectrwm on a laptop right now and I find it very awkward manipulating floating windows with the touchpad here or in tinywm.
|
Quote:
Here too, there is very minimalist on going, and being under work and development. I have a cool possible config for you which is ctwm, and I also made a sort of tinywm with borders and preview of new size of window during resize (beta testing). https://github.com/spartrekus/CTWM-window-manager-2017 |
Hi linuxlicious,
You can have a minimalist WM using twm which is installed by default usually, it is very low on resource yet it has many features out of the box. It can achieve almost everything you need if you add something like this to the twmrc. I needed to modify the source code to send the windows to the corners (topleftzoom, toprightzoom, etc), but the other functions (leftzoom, bottomzoom) are out of the box. If you are interested tell me I will send you the modified version to send the windows to the corners. #Window docking # To the left "h" = m | s : all : f.leftzoom # To the bottom "j" = m | s : all : f.bottomzoom # To the top "k" = m | s : all : f.topzoom # To the right "l" = m | s : all : f.rightzoom # To the corners # To the topleft "u" = m | s : all : f.topleftzoom "i" = m | s : all : f.topleftzoom # To the topright "o" = m | s : all : f.toprightzoom "p" = m | s : all : f.toprightzoom # To the bottomleft "n" = m | s : all : f.bottomleftzoom # To the bottomright "m" = m | s : all : f.bottomrightzoom Also you may want to use XFCE which docks the windows anywhere and is also low on resource. Best regards, Alexandre |
Quote:
So far, ctwm is much better and furthermore, you can compile it rather well. cmake is NOT good at all, but ok, at least it has all what you need: clicktofocus or raise win/followfocus workspace and super key configuration possibilities. It is ugly, which is also important, to be as light as evilwm or tinywm !! here follow the king config: https://github.com/spartrekus/CTWM-window-manager-2017 |
All times are GMT -5. The time now is 06:15 PM. |