configure lsd

This commit is contained in:
Adithya 2023-09-09 21:35:35 +05:30
parent 0b4b3fbdfd
commit 30fa87189b
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -1,8 +1,27 @@
_: { {pkgs, ...}: let
dracula-lsd = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "lsd";
rev = "75f3305a2bba4dacac82b143a15d278daee28232";
hash = "sha256-ZNyNYJEffxxU7K/7JOv+VRD3JbhW42kvmWk7pLu1vA8=";
};
in {
xdg.configFile."lsd/themes/colors.yaml".source = "${dracula-lsd}/dracula.yaml";
programs.lsd = { programs.lsd = {
enable = true; enable = true;
enableAliases = true; enableAliases = true;
settings = { settings = {
color = {
when = "always";
theme = "custom";
};
icons = {
when = "always";
theme = "fancy";
};
sorting = {
dir-grouping = "first";
};
date = "relative"; date = "relative";
}; };
}; };