nixos/system/home/fuzzel/default.nix
Evie Litherland-Smith fe2a105c4e Adjust opacity of desktop elements, add zellij
Change opacity of desktop components to that floating / pop-up windows
are translucent, and base windows are opaque.

Add zellij back (with config), but not starting by default. Add zellij
config directory to rsync-local-config script.
2024-09-18 11:18:08 +01:00

45 lines
1 KiB
Nix

{
config,
fonts,
accentColourName,
...
}:
{
programs.fuzzel = {
enable = true;
settings = {
main = {
dpi-aware = false;
font = "${fonts.monospace.name}:size=${toString fonts.sizes.popups}";
icon-theme = config.gtk.iconTheme.name;
icons-enabled = true;
fields = "filename,name,generic,categories";
fuzzy = true;
filter-desktop = true;
terminal = "${config.programs.alacritty.package}/bin/alacritty -e";
lines = 24;
width = 80;
tabs = 4;
layer = "overlay";
};
colors =
let
sc = config.scheme;
in
{
background = "${sc.base00}cc"; # 80% Opacity
text = "${sc.base05}ff";
match = "${sc.red}ff";
selection = "${sc.base01}ff";
selection-text = "${sc.base05}ff";
selection-match = "${sc.red}ff";
border = "${sc.${accentColourName}}ff";
};
border = {
width = 1;
radius = 5;
};
};
};
}