Created
February 11, 2016 16:03
-
-
Save jjungnickel/506f1d681eb7c7915a19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set disable_typefaces to {"Light", "Bold", "Medium"} | |
tell application "Font Book" | |
set faces to typefaces whose family name is "Fira Code" | |
repeat with f in faces | |
if family name of f is "Fira Code" and disable_typefaces contains style name of f then set enabled of f to false | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment