From 74585ec4a729c4eeccc85bcac83b0a1f7210065b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Fri, 5 Jan 2024 17:04:37 +0100 Subject: [PATCH] lsd: Improve colors --- hm/common.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/hm/common.nix b/hm/common.nix index 8af8e72..0a35562 100644 --- a/hm/common.nix +++ b/hm/common.nix @@ -163,7 +163,23 @@ in style = "full"; }; }; - lsd.enable = true; + lsd = { + enable = true; + settings = { + size = "short"; + }; + colors = { # Base16 only, so it reuses the current theme. + date = { day-old = 4; hour-old = 6; older = 5; }; + git-status = { conflicted = 14; default = 13; deleted = 1; ignored = 13; modified = 3; new-in-index = 2; new-in-workdir = 2; renamed = 4; typechange = 3; unmodified = 13; }; + group = 6; + inode = { invalid = 245; valid = 13; }; + links = { invalid = 9; valid = 14; }; + permission = { acl = 6; context = 14; exec = 1; exec-sticky = 5; no-access = 245; octal = 6; read = 2; write = 3; }; + size = { large = 1; medium = 9; none = 11; small = 3; }; + tree-edge = 13; + user = 2; + }; + }; dircolors = { enable = true; enableBashIntegration = true;