AquaticOS/modules/programs/hyprland/wofi.nix

47 lines
No EOL
810 B
Nix

{ ... }:
{
flake.modules.nixos.hyprland =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
wofi
];
};
flake.modules.homeManager.hyprland =
{
programs.wofi = {
enable = true;
settings = {
allow_images = true;
width = "40%";
insensitive = true;
};
style = "
*{
font-size: 18px;
color: #cdd6f4;
}
#window {
background-color: rgba(30, 30, 46, 0.98);
border-style: solid;
border-width: 2px;
border-color: #11111b;
border-radius: 20px;
}
#input {
border-radius: 20px;
margin-bottom: 4px;
}
#outer-box {
margin: 2px;
padding: 3px;
}
";
};
};
}