Skip to content

Commit 6823be3

Browse files
committed
colored wordlists
1 parent f1614a5 commit 6823be3

File tree

9 files changed

+10295
-3
lines changed

9 files changed

+10295
-3
lines changed

nix/bip39-wordlist.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ in
88
pkgs.writeShellApplication {
99
name = "bip39-wordlist";
1010
text = ''
11+
COLOR="${"$"}{1:-black}"
1112
echo '<!DOCTYPE html>'
1213
echo '<html><head><meta charset="UTF-8">'
1314
echo '<style>'
14-
echo '* { margin: 0; padding: 0; font-family: sans-serif; font-size: 7.5pt; }'
15+
echo "* { margin: 0; padding: 0; font-family: sans-serif; font-size: 7.5pt; color: $COLOR; }"
1516
echo '.container { column-width: 68px; column-gap: 1px; }'
1617
echo '.item { break-inside: avoid; white-space: nowrap; line-height: 1; }'
1718
echo '</style></head><body>'

nix/configuration.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ in {
789789
(import ./clipmaker.nix)
790790
(import ./bar.nix {inherit pkgs;})
791791
(import ./vibe.nix {inherit pkgs;})
792+
(import ./bip39-wordlist.nix)
792793
];
793794
programs.git = {
794795
enable = true;

0 commit comments

Comments
 (0)