From f3f4defed63b1af71ac7dcb6fab5d57e1139e14b Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Mon, 6 Nov 2023 12:35:14 -0600 Subject: [PATCH] Add new fonts to nerdfont-installer; add dayofweek script --- dayofweek | 19 +++++++++++++++++++ nerdfont-installer | 3 +++ 2 files changed, 22 insertions(+) create mode 100755 dayofweek diff --git a/dayofweek b/dayofweek new file mode 100755 index 0000000..c2995cf --- /dev/null +++ b/dayofweek @@ -0,0 +1,19 @@ +#!/usr/bin/env python +# +# Usage: dayofweek +# +# Example: dayofweek 2003 11 6 + +import sys +from datetime import datetime + +if __name__ == "__main__": + if len(sys.argv) != 4: + print("Usage: dayofweek ") + exit(1) + else: + print( + datetime(int(sys.argv[1]), int(sys.argv[2]), int(sys.argv[3])).strftime( + "%A" + ) + ) diff --git a/nerdfont-installer b/nerdfont-installer index 85a2aa0..14a696d 100755 --- a/nerdfont-installer +++ b/nerdfont-installer @@ -68,6 +68,7 @@ nf_array=( DaddyTimeMono DejaVuSansMono DroidSansMono + EnvyCodeR FantasqueSansMono FiraCode FiraMono @@ -82,10 +83,12 @@ nf_array=( Inconsolata InconsolataGo InconsolataLGC + IntelOneMono Iosevka JetBrainsMono Lekton LiberationMono + Lilex Meslo Monofur Monoid