nix-dotfiles/programs/wal/default.nix

29 lines
744 B
Nix
Raw Normal View History

2024-02-21 15:02:45 -08:00
{ config, pkgs, ... }:
let rootPath = ./.; in
{
home.packages = with pkgs; [
wallust # A better pywal
pywalfox-native # Update librewolf's colorscheme based on wal
2024-02-21 15:02:45 -08:00
];
xdg.configFile."wallust-config" = {
target = "wallust/wallust.toml";
text = ''
backend = "wal"
color_space = "lab"
threshold = 20
filter = "dark16"
# [[entry]]
# # a relative path to a file where wallust.toml is (~/.config/wallust/)
# template = "dunstrc"
#
# # absolute path to the file to write the template (after templating)
# target = "~/.config/dunst/dunstrc"
'';
2024-02-21 15:05:15 -08:00
};
#xdg.configFile."wallust-templates" = {
# source = rootPath + "/templates";
# target = "wallust/";
#};
2024-02-21 15:02:45 -08:00
}