mirror of
https://github.com/nix-community/home-manager
synced 2024-12-19 00:09:48 +01:00
i3-sway: allow arbitrary floating modifier (#4229)
The floating modifier can consist of a combination of modifier keys. Trying to model this with a regex doesn't seem worth it, so just use `str`.
This commit is contained in:
parent
f63b39a67d
commit
c1cdce3d89
1 changed files with 2 additions and 3 deletions
|
@ -469,12 +469,11 @@ in {
|
|||
};
|
||||
|
||||
modifier = mkOption {
|
||||
type =
|
||||
types.enum [ "Shift" "Control" "Mod1" "Mod2" "Mod3" "Mod4" "Mod5" ];
|
||||
type = types.str;
|
||||
default = cfg.config.modifier;
|
||||
defaultText = "${moduleName}.config.modifier";
|
||||
description =
|
||||
"Modifier key that can be used to drag floating windows.";
|
||||
"Modifier key or keys that can be used to drag floating windows.";
|
||||
example = "Mod4";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue