fuzzel.nix: add settings

This commit is contained in:
Charlie Root 2024-08-27 20:20:12 +02:00
commit dc9321fe01
4 changed files with 31 additions and 1 deletions

View file

@ -5,5 +5,6 @@ _: {
./tui ./tui
./editors ./editors
./other/module.nix ./other/module.nix
./launchers/module.nix
]; ];
} }

View file

@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
}: let
inherit (lib) mkIf;
inherit (config.modules.other.system) username;
cfg = config.modules.usrEnv.programs.launchers.fuzzel;
in {
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.fuzzel = {
enable = true;
package = pkgs.fuzzel;
settings = {
icon-theme = "Papirus-Dark";
font = "ComicShannsMono:weight=bold:size=36";
terminal = "foot -e";
# make fuzzel appear on fullscreen windows
layer = "overlay";
background = "000000";
};
};
};
};
}

View file

@ -0,0 +1,3 @@
_: {
imports = [./fuzzel.nix];
}

View file

@ -2,6 +2,6 @@ _: {
imports = [ imports = [
./rofi ./rofi
./anyrun ./anyrun
./fuzzel/module.nix # ./fuzzel/module.nix
]; ];
} }