mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 16:43:08 +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
|
DaddyTimeMono
|
||||||
DejaVuSansMono
|
DejaVuSansMono
|
||||||
DroidSansMono
|
DroidSansMono
|
||||||
|
EnvyCodeR
|
||||||
FantasqueSansMono
|
FantasqueSansMono
|
||||||
FiraCode
|
FiraCode
|
||||||
FiraMono
|
FiraMono
|
||||||
@ -82,10 +83,12 @@ nf_array=(
|
|||||||
Inconsolata
|
Inconsolata
|
||||||
InconsolataGo
|
InconsolataGo
|
||||||
InconsolataLGC
|
InconsolataLGC
|
||||||
|
IntelOneMono
|
||||||
Iosevka
|
Iosevka
|
||||||
JetBrainsMono
|
JetBrainsMono
|
||||||
Lekton
|
Lekton
|
||||||
LiberationMono
|
LiberationMono
|
||||||
|
Lilex
|
||||||
Meslo
|
Meslo
|
||||||
Monofur
|
Monofur
|
||||||
Monoid
|
Monoid
|
||||||
|
Loading…
Reference in New Issue
Block a user