mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 08:33:06 +01:00
Add new fonts to nerdfont-installer; add dayofweek script
This commit is contained in:
parent
57a2e1ab03
commit
f3f4defed6
19
dayofweek
Executable file
19
dayofweek
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Usage: dayofweek <year> <month> <day>
|
||||
#
|
||||
# Example: dayofweek 2003 11 6
|
||||
|
||||
import sys
|
||||
from datetime import datetime
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 4:
|
||||
print("Usage: dayofweek <year> <month> <day>")
|
||||
exit(1)
|
||||
else:
|
||||
print(
|
||||
datetime(int(sys.argv[1]), int(sys.argv[2]), int(sys.argv[3])).strftime(
|
||||
"%A"
|
||||
)
|
||||
)
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user