-
-
Save rpowis/3155905 to your computer and use it in GitHub Desktop.
Solerized colors for iTerm (based on kpumuk's pastel script - http://kpumuk.info/mac-os-x/customizing-iterm-creating-a-display-profile-with-pastel-colors/)
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
#!/bin/bash | |
SOLERIZED='{ | |
"Ansi 0 Color" = { | |
"Blue Component" = 0.19370138645172119; | |
"Green Component" = 0.15575926005840302; | |
"Red Component" = 0.0; | |
}; | |
"Ansi 1 Color" = { | |
"Blue Component" = 0.14145714044570923; | |
"Green Component" = 0.10840655118227005; | |
"Red Component" = 0.81926977634429932; | |
}; | |
"Ansi 10 Color" = { | |
"Blue Component" = 0.38298487663269043; | |
"Green Component" = 0.35665956139564514; | |
"Red Component" = 0.27671992778778076; | |
}; | |
"Ansi 11 Color" = { | |
"Blue Component" = 0.43850564956665039; | |
"Green Component" = 0.40717673301696777; | |
"Red Component" = 0.32436618208885193; | |
}; | |
"Ansi 12 Color" = { | |
"Blue Component" = 0.51685798168182373; | |
"Green Component" = 0.50962930917739868; | |
"Red Component" = 0.44058024883270264; | |
}; | |
"Ansi 13 Color" = { | |
"Blue Component" = 0.72908437252044678; | |
"Green Component" =0.33896297216415405; | |
"Red Component" = 0.34798634052276611; | |
}; | |
"Ansi 14 Color" = { | |
"Blue Component" = 0.56363654136657715; | |
"Green Component" = 0.56485837697982788; | |
"Red Component" = 0.50599193572998047; | |
}; | |
"Ansi 15 Color" = { | |
"Blue Component" = 0.86405980587005615; | |
"Green Component" = 0.95794391632080078; | |
"Red Component" = 0.98943418264389038; | |
}; | |
"Ansi 2 Color" = { | |
"Blue Component" = 0.020208755508065224; | |
"Green Component" = 0.54115492105484009; | |
"Red Component" = 0.44977453351020813; | |
}; | |
"Ansi 3 Color" = { | |
"Blue Component" = 0.023484811186790466; | |
"Green Component" = 0.46751424670219421; | |
"Red Component" = 0.64746475219726562; | |
}; | |
"Ansi 4 Color" = { | |
"Blue Component" = 0.78231418132781982; | |
"Green Component" = 0.46265947818756104; | |
"Red Component" = 0.12754884362220764; | |
}; | |
"Ansi 5 Color" = { | |
"Blue Component" = 0.43516635894775391; | |
"Green Component" = 0.10802463442087173; | |
"Red Component" = 0.77738940715789795; | |
}; | |
"Ansi 6 Color" = { | |
"Blue Component" = 0.52502274513244629; | |
"Green Component" = 0.57082360982894897; | |
"Red Component" = 0.14679534733295441; | |
}; | |
"Ansi 7 Color" = { | |
"Blue Component" = 0.79781103134155273; | |
"Green Component" = 0.89001238346099854; | |
"Red Component" = 0.91611063480377197; | |
}; | |
"Ansi 8 Color" = { | |
"Blue Component" = 0.15170273184776306; | |
"Green Component" = 0.11783610284328461; | |
"Red Component" = 0.0; | |
}; | |
"Ansi 9 Color" = { | |
"Blue Component" = 0.073530435562133789; | |
"Green Component" = 0.21325300633907318; | |
"Red Component" = 0.74176257848739624; | |
}; | |
"Anti Alias" = 1; | |
"Background Color" = { | |
"Blue Component" = 0.15170273184776306; | |
"Green Component" = 0.11783610284328461; | |
"Red Component" = 0.0; | |
}; | |
Blur = 1; | |
"Bold Color" = { | |
"Blue Component" = 0.56363654136657715; | |
"Green Component" = 0.56485837697982788; | |
"Red Component" = 0.50599193572998047; | |
}; | |
Columns = 120; | |
"Cursor Color" = { | |
"Blue Component" = 0.51685798168182373; | |
"Green Component" = 0.50962930917739868; | |
"Red Component" = 0.44058024883270264; | |
}; | |
"Cursor Text Color" = { | |
"Blue Component" = 0.19370138645172119; | |
"Green Component" = 0.15575926005840302; | |
"Red Component" = 0.0; | |
}; | |
"Foreground Color" = { | |
"Blue Component" = 0.51685798168182373; | |
"Green Component" = 0.50962930917739868; | |
"Red Component" = 0.44058024883270264; | |
}; | |
"Disable Bold" = 0; | |
Font = "Monaco 14"; | |
"Foreground Color" = { | |
"Blue Component" = 1; | |
"Green Component" = 1; | |
"Red Component" = 1; | |
}; | |
"Horizontal Character Spacing" = 1; | |
NAFont = "Monaco 14"; | |
Rows = 24; | |
"Selected Text Color" = { | |
"Blue Component" = 0.56363654136657715; | |
"Green Component" = 0.56485837697982788; | |
"Red Component" = 0.50599193572998047; | |
}; | |
"Selection Color" = { | |
"Blue Component" = 0.19370138645172119; | |
"Green Component" = 0.15575926005840302; | |
"Red Component" = 0.0; | |
}; | |
Transparency = 0.1; | |
"Vertical Character Spacing" = 1; | |
}' | |
# Add display profile | |
defaults write net.sourceforge.iTerm Displays -dict-add Solerized "$SOLERIZED" | |
echo "Solerized display profile added" | |
# Set the default display profile | |
BOOKMARKS=`defaults read net.sourceforge.iTerm Bookmarks | sed 's/\("Display Profile" = \)"[^"]*";/\1"Solerized";/'` | |
defaults write net.sourceforge.iTerm Bookmarks "$BOOKMARKS" | |
echo "Solerized display profile installed as default" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment