1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00

mcfly: add interfaceView option

This commit is contained in:
iofq 2024-02-05 06:35:23 +00:00 committed by Mikilio
parent 475c8e948c
commit 61d49550ed
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -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";
enableLightTheme = mkOption {
@ -104,6 +112,8 @@ in {
programs.fish.shellInit = mkIf cfg.enableFishIntegration fishIntegration;
home.sessionVariables.MCFLY_KEY_SCHEME = cfg.keyScheme;
home.sessionVariables.MCFLY_INTERFACE_VIEW = cfg.interfaceView;
}
(mkIf cfg.enableLightTheme { home.sessionVariables.MCFLY_LIGHT = "TRUE"; })