move from pywal to wallust

This commit is contained in:
JuliaLange 2024-02-21 15:02:45 -08:00
parent 2d65ab9d90
commit 11cb67905d
3 changed files with 29 additions and 9 deletions

View file

@ -18,10 +18,10 @@
./programs/mpv ./programs/mpv
./programs/nnn ./programs/nnn
./programs/nvim ./programs/nvim
./programs/pywal
./programs/rofi ./programs/rofi
./programs/spotify ./programs/spotify
./programs/ssh ./programs/ssh
./programs/wal
./programs/xdg ./programs/xdg
]; ];

View file

@ -1,8 +0,0 @@
{ config, pkgs, ... }:
{
programs.pywal.enable = true;
home.packages = with pkgs; [
pywalfox # Update librewolf's colorscheme based on pywal
];
}

28
programs/wal/default.nix Normal file
View file

@ -0,0 +1,28 @@
{ config, pkgs, ... }:
let rootPath = ./.; in
{
home.packages = with pkgs; [
wallust # A better pywal
pywalfox # Update librewolf's colorscheme based on wal
];
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"
'';
}
xdg.configFile."wallust-templates" = {
source = rootPath + "/templates";
target = "wallust/";
}
}