mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
rofi: allow list values in extraConfig
This commit is contained in:
@@ -102,7 +102,9 @@ let
|
||||
# Either a `section { foo: "bar"; }` or a `@import/@theme "some-text"`
|
||||
configType = with types; either sectionType str;
|
||||
|
||||
extraConfigType = with types; attrsOf (either sectionType configValueType);
|
||||
extraConfigType =
|
||||
with types;
|
||||
attrsOf (either sectionType (either configValueType (listOf configValueType)));
|
||||
|
||||
rasiLiteral =
|
||||
types.submodule {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
configuration {
|
||||
combi-modes: [ "window","drun" ];
|
||||
cycle: false;
|
||||
drun {
|
||||
display-name: "";
|
||||
@@ -13,6 +14,7 @@ kb-primary-paste: "Control+V,Shift+Insert";
|
||||
kb-secondary-paste: "Control+v,Insert";
|
||||
location: 0;
|
||||
modes: [ "drun","emoji","ssh","foo:bar" ];
|
||||
modi: [ "run","drun","window","ssh" ];
|
||||
run,drun {
|
||||
display-name: "open:";
|
||||
}
|
||||
|
||||
@@ -19,8 +19,18 @@
|
||||
}
|
||||
];
|
||||
extraConfig = {
|
||||
combi-modes = [
|
||||
"window"
|
||||
"drun"
|
||||
];
|
||||
kb-primary-paste = "Control+V,Shift+Insert";
|
||||
kb-secondary-paste = "Control+v,Insert";
|
||||
modi = [
|
||||
"run"
|
||||
"drun"
|
||||
"window"
|
||||
"ssh"
|
||||
];
|
||||
drun = {
|
||||
display-name = "";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user