Changing from i3 to dwm - tidied ip bin folder

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:52:12 +01:00
parent 6aaf779227
commit a0ef393f2b
47 changed files with 254 additions and 245 deletions

15
bin/fonts/changeFontFamily Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env python
import fontforge as ff
import sys
args = sys.argv[1:]
if args[0] == '--help':
print("changeFontFamily <font> <family> <newFont>")
else:
font = args[0]
family = args[1]
newfont = args[2]
f = ff.open( args[0] )
f.familyname = family
f.generate(newfont)

12
bin/fonts/fontFamily Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python
import fontforge as ff
import sys
args = sys.argv[1:]
if args[0] == '--help':
print("fontFamily <font>")
else:
font = args[0]
f = ff.open( args[0] )
print( f.familyname )

12
bin/fonts/fontWeight Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env python
import fontforge as ff
import sys
args = sys.argv[1:]
if args[0] == '--help':
print("fontWeight <font>")
else:
font = args[0]
f = ff.open( args[0] )
print( f.os2_weight )