2024-09-09 00:22:14 +00:00
|
|
|
{
|
2024-09-13 01:50:53 +00:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.custom.programs.fuzzel;
|
|
|
|
in {
|
|
|
|
options.custom.programs.fuzzel.enable = mkOption {default = false;};
|
2024-09-09 00:22:14 +00:00
|
|
|
|
|
|
|
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
|
|
|
|
# https://codeberg.org/dnkl/fuzzel
|
|
|
|
programs.fuzzel = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
main = {
|
|
|
|
font = "${config.gtk.font.name}:size=12";
|
|
|
|
icon-theme = config.gtk.iconTheme.name;
|
|
|
|
horizontal-pad = 20;
|
|
|
|
inner-pad = 12;
|
|
|
|
lines = 5;
|
|
|
|
line-height = 25;
|
|
|
|
vertical-pad = 12;
|
|
|
|
layer = "overlay";
|
|
|
|
};
|
|
|
|
|
|
|
|
colors = {
|
|
|
|
background = "073642ff";
|
|
|
|
selection = "002b36ff";
|
|
|
|
selection-text = "eee8d5ff";
|
|
|
|
text = "93a1a1ff";
|
|
|
|
};
|
|
|
|
|
|
|
|
border = {
|
|
|
|
radius = 20;
|
|
|
|
width = 2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|