mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-09 03:56:04 +01:00
i3-sway/lib: modifier accepts any string (#7398)
Currently, we aggressively limit what modifier can be used in the module system that blocks valid configurations. Allow any strings to unblock these configs. But, could be refactored further to support list of modifiers and automatically convert to a config string. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
b4486ff44a
commit
9d21f9985e
1 changed files with 2 additions and 2 deletions
|
|
@ -639,7 +639,7 @@ in
|
|||
};
|
||||
|
||||
modifier = mkOption {
|
||||
type = types.enum [
|
||||
type = types.either (types.enum [
|
||||
"Shift"
|
||||
"Control"
|
||||
"Mod1"
|
||||
|
|
@ -647,7 +647,7 @@ in
|
|||
"Mod3"
|
||||
"Mod4"
|
||||
"Mod5"
|
||||
];
|
||||
]) types.str;
|
||||
default = "Mod1";
|
||||
description = "Modifier key that is used for all default keybindings.";
|
||||
example = "Mod4";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue