i3: support for workspace_layout option
This commit is contained in:
parent
71f6bc41eb
commit
15bca92b2c
|
@ -400,6 +400,16 @@ let
|
||||||
example = "Mod4";
|
example = "Mod4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
workspaceLayout = mkOption {
|
||||||
|
type = types.enum [ "default" "stacked" "tabbed" ];
|
||||||
|
default = "default";
|
||||||
|
example = "tabbed";
|
||||||
|
description = ''
|
||||||
|
The mode in which new containers on workspace level will
|
||||||
|
start.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
keybindings = mkOption {
|
keybindings = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
default = {
|
default = {
|
||||||
|
@ -734,6 +744,7 @@ let
|
||||||
focus_follows_mouse ${if focus.followMouse then "yes" else "no"}
|
focus_follows_mouse ${if focus.followMouse then "yes" else "no"}
|
||||||
focus_on_window_activation ${focus.newWindow}
|
focus_on_window_activation ${focus.newWindow}
|
||||||
mouse_warping ${if focus.mouseWarping then "output" else "none"}
|
mouse_warping ${if focus.mouseWarping then "output" else "none"}
|
||||||
|
workspace_layout ${workspaceLayout}
|
||||||
|
|
||||||
client.focused ${colorSetStr colors.focused}
|
client.focused ${colorSetStr colors.focused}
|
||||||
client.focused_inactive ${colorSetStr colors.focusedInactive}
|
client.focused_inactive ${colorSetStr colors.focusedInactive}
|
||||||
|
|
Loading…
Reference in a new issue