Add lsd colorschemes
This commit is contained in:
parent
1755c502f4
commit
2be0fee327
6 changed files with 74 additions and 5 deletions
|
|
@ -23,10 +23,5 @@
|
|||
wget
|
||||
yt-dlp
|
||||
]);
|
||||
|
||||
programs.lsd = {
|
||||
enable = true;
|
||||
enableFishIntegration = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
./gui.nix
|
||||
./jameica.nix
|
||||
./kicad.nix
|
||||
./lsd
|
||||
./mpv.nix
|
||||
./mute-indicator.nix
|
||||
./mycli
|
||||
|
|
|
|||
|
|
@ -51,6 +51,12 @@ let
|
|||
then [ "/usr/bin/env" "gsettings" "set" "org.gnome.desktop.interface" "gtk-theme" "Adwaita-%scheme%" ]
|
||||
else null;
|
||||
}
|
||||
{
|
||||
dir = "~/.config/lsd";
|
||||
light = "colors-light.yaml";
|
||||
dark = "colors-dark.yaml";
|
||||
target = "colors.yaml";
|
||||
}
|
||||
];
|
||||
dynamic-colors = pkgs.writers.writePython3Bin "dynamic-colors" { } ''
|
||||
import json
|
||||
|
|
|
|||
27
users/jalr/modules/lsd/colors-dark.yaml
Normal file
27
users/jalr/modules/lsd/colors-dark.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
user: 125
|
||||
group: 136
|
||||
permission:
|
||||
read: 166
|
||||
write: 64
|
||||
exec: 160
|
||||
exec-sticky: 125
|
||||
no-access: 245
|
||||
octal: 37
|
||||
acl: 37
|
||||
context: 245
|
||||
date:
|
||||
hour-old: 64
|
||||
day-old: 136
|
||||
older: 240
|
||||
size:
|
||||
none: 160
|
||||
small: 61
|
||||
medium: 37
|
||||
large: 33
|
||||
inode:
|
||||
valid: 64
|
||||
invalid: 160
|
||||
links:
|
||||
valid: 61
|
||||
invalid: 240
|
||||
tree-edge: 245
|
||||
27
users/jalr/modules/lsd/colors-light.yaml
Normal file
27
users/jalr/modules/lsd/colors-light.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
user: 125
|
||||
group: 136
|
||||
permission:
|
||||
read: 166
|
||||
write: 64
|
||||
exec: 160
|
||||
exec-sticky: 125
|
||||
no-access: 234
|
||||
octal: 37
|
||||
acl: 37
|
||||
context: 235
|
||||
date:
|
||||
hour-old: 64
|
||||
day-old: 136
|
||||
older: 240
|
||||
size:
|
||||
none: 160
|
||||
small: 61
|
||||
medium: 37
|
||||
large: 33
|
||||
inode:
|
||||
valid: 61
|
||||
invalid: 160
|
||||
links:
|
||||
valid: 61
|
||||
invalid: 235
|
||||
tree-edge: 235
|
||||
13
users/jalr/modules/lsd/default.nix
Normal file
13
users/jalr/modules/lsd/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, nixosConfig, ... }:
|
||||
|
||||
lib.mkIf nixosConfig.jalr.workstation.enable {
|
||||
programs.lsd = {
|
||||
enable = true;
|
||||
enableFishIntegration = false;
|
||||
settings = {
|
||||
color.theme = "custom";
|
||||
};
|
||||
};
|
||||
xdg.configFile."lsd/colors-light.yaml".source = ./colors-light.yaml;
|
||||
xdg.configFile."lsd/colors-dark.yaml".source = ./colors-dark.yaml;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue