mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
i3: switch from attrs to attrsOf
This commit is contained in:
parent
6ce3ce69b9
commit
c108eaba42
1 changed files with 4 additions and 4 deletions
|
@ -255,7 +255,7 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
criteriaModule = types.attrs;
|
criteriaModule = types.attrsOf types.str;
|
||||||
|
|
||||||
configModule = types.submodule {
|
configModule = types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
@ -411,7 +411,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings = mkOption {
|
keybindings = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrsOf types.str;
|
||||||
default = {
|
default = {
|
||||||
"${cfg.config.modifier}+Return" = "exec i3-sensible-terminal";
|
"${cfg.config.modifier}+Return" = "exec i3-sensible-terminal";
|
||||||
"${cfg.config.modifier}+Shift+q" = "kill";
|
"${cfg.config.modifier}+Shift+q" = "kill";
|
||||||
|
@ -486,7 +486,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
keycodebindings = mkOption {
|
keycodebindings = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrsOf types.str;
|
||||||
default = {};
|
default = {};
|
||||||
description = ''
|
description = ''
|
||||||
An attribute set that assigns keypress to an action using key code.
|
An attribute set that assigns keypress to an action using key code.
|
||||||
|
@ -571,7 +571,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
modes = mkOption {
|
modes = mkOption {
|
||||||
type = types.attrsOf types.attrs;
|
type = types.attrsOf (types.attrsOf types.str);
|
||||||
default = {
|
default = {
|
||||||
resize = {
|
resize = {
|
||||||
"Left" = "resize shrink width 10 px or 10 ppt";
|
"Left" = "resize shrink width 10 px or 10 ppt";
|
||||||
|
|
Loading…
Reference in a new issue