mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
mcfly: add interfaceView option
This commit is contained in:
parent
475c8e948c
commit
61d49550ed
1 changed files with 10 additions and 0 deletions
|
@ -48,6 +48,14 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
interfaceView = mkOption {
|
||||||
|
type = types.enum [ "TOP" "BOTTOM" ];
|
||||||
|
default = "TOP";
|
||||||
|
description = ''
|
||||||
|
Interface view to use.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
fzf.enable = mkEnableOption "McFly fzf integration";
|
fzf.enable = mkEnableOption "McFly fzf integration";
|
||||||
|
|
||||||
enableLightTheme = mkOption {
|
enableLightTheme = mkOption {
|
||||||
|
@ -104,6 +112,8 @@ in {
|
||||||
programs.fish.shellInit = mkIf cfg.enableFishIntegration fishIntegration;
|
programs.fish.shellInit = mkIf cfg.enableFishIntegration fishIntegration;
|
||||||
|
|
||||||
home.sessionVariables.MCFLY_KEY_SCHEME = cfg.keyScheme;
|
home.sessionVariables.MCFLY_KEY_SCHEME = cfg.keyScheme;
|
||||||
|
|
||||||
|
home.sessionVariables.MCFLY_INTERFACE_VIEW = cfg.interfaceView;
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })
|
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })
|
||||||
|
|
Loading…
Reference in a new issue