32 lines
817 B
Nix
32 lines
817 B
Nix
{ config, pkgs, lib, user, inputs, flakeRoot,... }:
|
|
{
|
|
programs.wofi = {
|
|
enable = true;
|
|
wrapGtkApps = true; # Required for GTK theming
|
|
extraPackages = with pkgs; [ wofi ];
|
|
};
|
|
|
|
# Catppuccin theme for Wofi
|
|
home-manager.users.${user.username} = {
|
|
xdg.configFile."wofi/config".text = ''
|
|
dark
|
|
width=500
|
|
height=800
|
|
lines=10
|
|
columns=1
|
|
cache_dir=${config.xdg.dataHome}/wofi
|
|
allow_images=true
|
|
allow_markup=true
|
|
show_drun=true
|
|
'';
|
|
|
|
xdg.configFile."wofi/style.css".source = pkgs.fetchFromGitHub {
|
|
owner = "catppuccin";
|
|
repo = "wofi";
|
|
rev = "main";
|
|
sha256 = "sha256-0000000000000000000000000000000000000000000000000000"; # Update with the correct hash
|
|
file = "mocha.css"; # or latte/frappe/macchiato
|
|
};
|
|
};
|
|
}
|