Age | Commit message (Collapse) | Author |
|
For workspace containers, swayc_change_layout also changes ->layout alongside
->workspace_layout when it's a sensible thing to do. There is an additional test
for 'layout toggle' command which ensures that containers will be tiled
horizontally after toggling from tabbed or stacked.
|
|
Add swayc_change_layout function, which changes either layout or
workspace_layout, depending on the container type.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
After issuing 'layout toggle split' command from tabbed/stacked layout,
layout should have been horizontally split.
|
|
This commit removes has_* booleans from bar color struct. It also
generalizes of functions in commands/bar/colors.c.
|
|
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
|
|
|
|
Some users may want to switch buttons on their input devices, turns out
libinput already supports it. Let's add a support for it in our config.
Signed-off-by: Michał Winiarski <knr@hardline.pl>
|
|
|
|
Add swayc_change_layout function, which changes either layout or
workspace_layout, depending on the container type. Workspace being
always L_HORIZ makes this much more i3-compatible.
|
|
|
|
|
|
This implements commands such as:
workspace number 9: test
If a workspace with the given number exists then it will be focused,
otherwise a new workspace with the given name will be created.
|
|
|
|
|
|
|