mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 08:09:45 +01:00
rofi: switch from types.string to types.str
This commit is contained in:
parent
fd3692b36f
commit
ea9d44bede
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ let
|
||||||
cfg = config.programs.rofi;
|
cfg = config.programs.rofi;
|
||||||
|
|
||||||
colorOption = description: mkOption {
|
colorOption = description: mkOption {
|
||||||
type = types.string;
|
type = types.str;
|
||||||
description = description;
|
description = description;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ in
|
||||||
|
|
||||||
font = mkOption {
|
font = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
example = "Droid Sans Mono 14";
|
example = "Droid Sans Mono 14";
|
||||||
description = "Font to use.";
|
description = "Font to use.";
|
||||||
};
|
};
|
||||||
|
@ -188,7 +188,7 @@ in
|
||||||
|
|
||||||
terminal = mkOption {
|
terminal = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
type = types.nullOr types.string;
|
type = types.nullOr types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Path to the terminal which will be used to run console applications
|
Path to the terminal which will be used to run console applications
|
||||||
'';
|
'';
|
||||||
|
@ -282,7 +282,7 @@ in
|
||||||
configPath = mkOption {
|
configPath = mkOption {
|
||||||
default = "${config.xdg.configHome}/rofi/config";
|
default = "${config.xdg.configHome}/rofi/config";
|
||||||
defaultText = "$XDG_CONFIG_HOME/rofi/config";
|
defaultText = "$XDG_CONFIG_HOME/rofi/config";
|
||||||
type = types.string;
|
type = types.str;
|
||||||
description = "Path where to put generated configuration file.";
|
description = "Path where to put generated configuration file.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue