Tweak colorscheme; add fonts

This commit is contained in:
Agatha Lovelace 2023-04-02 12:53:12 +02:00
parent e7355d37d6
commit 28c04556dd
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
colorscheme = name: image: rec {
generate = pkgs.callPackage ({ runCommand, colorz }:
runCommand name { nativeBuildInputs = [ colorz ]; } ''
colorz ${image} --no-preview -n 8 --bold 30 --minv 0 --maxv 255 | awk '{print $1} {print $2}' > $out
colorz ${image} --no-preview -n 8 --minv 0 --maxv 255 | awk '{print $1} {print $2}' > $out
'') { };
colors = builtins.listToAttrs (lib.lists.imap0 (i: v: {

View File

@ -46,6 +46,7 @@
yubioath-desktop
clipmenu
xdotool
prismlauncher
];
# Brightness/volume keys
@ -146,7 +147,9 @@
fonts.fontconfig.enable = true;
fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "DaddyTimeMono" "NerdFontsSymbolsOnly" ]; })
cantarell-fonts
cm_unicode
crimson
dejavu_fonts
fira-code
@ -156,7 +159,6 @@
noto-fonts-cjk
siji
twitter-color-emoji
(nerdfonts.override { fonts = [ "DaddyTimeMono" "NerdFontsSymbolsOnly" ]; })
];
services.printing.enable = true;