Thank you Marco, coming from bspwm, I didn't know that every layout has its 
keybindings!

On Wednesday, November 11, 2020 at 3:48:50 p.m. UTC-5 [email protected] 
wrote:

> See an example below. You need to consult  the documentation for the 
> options available for the layout you work with (i.e. Bsp, monadtall, ..., 
> etc). So with one keybinding, you can list the respective commands for the 
> layouts you use. This way your config file stays clean.
>
> # RESIZE UP, DOWN, LEFT, RIGHT
>     Key([mod, "control"], "Right",
>         lazy.layout.grow_right(),
>         lazy.layout.grow(),
>         lazy.layout.increase_ratio(),
>         lazy.layout.delete(),
>         ),
>     Key([mod, "control"], "Left",
>         lazy.layout.grow_left(),
>         lazy.layout.shrink(),
>         lazy.layout.decrease_ratio(),
>         lazy.layout.add(),
>         ),
>     Key([mod, "control"], "Up",
>         lazy.layout.grow_up(),
>         lazy.layout.grow(),
>         lazy.layout.decrease_nmaster(),
>         ),
>     Key([mod, "control"], "Down",
>         lazy.layout.grow_down(),
>         lazy.layout.shrink(),
>         lazy.layout.increase_nmaster(),
>         ),
>
>
> On Wed, Nov 11, 2020 at 2:46 PM Joe Yabuki <[email protected]> wrote:
>
>> I just realized that these keybindings only work on certain layout like 
>> columns!
>> Thank you Marco
>>
>> On Wednesday, November 11, 2020 at 3:37:01 p.m. UTC-5 [email protected] 
>> wrote:
>>
>>> What layout are you in when using the keybindings below?
>>>
>>> On Wed, Nov 11, 2020 at 2:22 PM Joe Yabuki <[email protected]> wrote:
>>>
>>>>
>>>> Hello guys
>>>> I have these keybindings to modify the window size, but when I press on 
>>>> the key combination, it doesn't do anything, any idea why this is not 
>>>> working?
>>>>  Key([mod, "control"], "h", lazy.layout.grow_left(),
>>>>         desc="Grow window to the left"),
>>>>     Key([mod, "control"], "l", lazy.layout.grow_right(),
>>>>         desc="Grow window to the right"),
>>>>     Key([mod, "control"], "j", lazy.layout.grow_down(),
>>>>         desc="Grow window down"),
>>>>     Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window 
>>>> up"),
>>>>     Key([mod], "n", lazy.layout.normalize(), desc="Reset all window 
>>>> sizes"),
>>>>
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "qtile-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/qtile-dev/f526ec31-e06a-4076-887a-2c5c0dbcef09n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/qtile-dev/f526ec31-e06a-4076-887a-2c5c0dbcef09n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "qtile-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/qtile-dev/ffb62146-d11f-4f02-8a3f-492153911268n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/qtile-dev/ffb62146-d11f-4f02-8a3f-492153911268n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/a0b89341-bf81-4a7d-9f50-b1697a44d1d0n%40googlegroups.com.

Reply via email to