1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

+ typora libertine

This commit is contained in:
Kierán Meinhardt
2018-12-18 23:40:58 +01:00
parent df01c9c9e4
commit d550fceeab
7 changed files with 23 additions and 28 deletions

View File

@@ -18,20 +18,8 @@ let
done
'';
colorize = pkgs.writers.writeDash "colorize.sh" ''
highlight=$(which highlight 2>/dev/null)
pygmentize=$(which pygmentize 2>/dev/null)
colorize() {
if [ "$TERM" == "dumb" -o "$NO_COLORS" == "1" ]
then
cat
else
if [ "$1" == "haskell" ]; then
${pkgs.haskellPackages.hscolour}/bin/HsColour -tty
else
${pkgs.python36Packages.pygments}/bin/pygmentize -l $1 -O bg=dark
fi
fi
${pkgs.python36Packages.pygments}/bin/pygmentize -l $1 -O bg=dark
}
if [ -z "$2" ]; then

5
dot/typora.nix Normal file
View File

@@ -0,0 +1,5 @@
''
body {
font-family: 'Linux Libertine O';
}
''