aboutsummaryrefslogtreecommitdiff
path: root/modules/services/window-managers
diff options
context:
space:
mode:
authordsx <dsx@droidnest.org>2018-11-30 18:19:03 -0500
committerRobert Helgesson <robert@rycee.net>2018-12-01 01:01:35 +0100
commit15bca92b2c7d8f0a709bbc9fcb8a005c7c38c092 (patch)
treee9da1461281e799b91820df1ab33dcded65e7571 /modules/services/window-managers
parent71f6bc41eb408f1ee53a128d24feffb18248f6fc (diff)
i3: support for workspace_layout option
Diffstat (limited to 'modules/services/window-managers')
-rw-r--r--modules/services/window-managers/i3.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix
index fcc0c4f1b51..1d3fe0dcdee 100644
--- a/modules/services/window-managers/i3.nix
+++ b/modules/services/window-managers/i3.nix
@@ -400,6 +400,16 @@ let
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 {
type = types.attrs;
default = {
@@ -734,6 +744,7 @@ let
focus_follows_mouse ${if focus.followMouse then "yes" else "no"}
focus_on_window_activation ${focus.newWindow}
mouse_warping ${if focus.mouseWarping then "output" else "none"}
+ workspace_layout ${workspaceLayout}
client.focused ${colorSetStr colors.focused}
client.focused_inactive ${colorSetStr colors.focusedInactive}