Permalink
Browse files

add terminal config recipe

  • Loading branch information...
1 parent ab62073 commit 192ed868c4bd338fff6df0c499c1e31d7f840ab0 @bleything committed Dec 29, 2012
Showing with 291 additions and 0 deletions.
  1. +246 −0 cookbooks/config/files/default/bootstrap.terminal
  2. +45 −0 cookbooks/config/recipes/terminal.rb
@@ -0,0 +1,246 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>ANSIBlackColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
+ LjE3MzMxNDI4NjMgMC4xODUwMjcxMTI3IDAuMjAwMDI1NDc1NQAQAYAC0hAREhNaJGNs
+ YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+ </data>
+ <key>ANSIBlueColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
+ LjI1MDk4MDM5MjIgMC4zNzI1NDkwMTk2IDAuNDU0OTAxOTYwOAAQAYAC0hAREhNaJGNs
+ YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiM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N0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+ </data>
+ <key>BackgroundSettingsForInactiveWindows</key>
+ <false/>
+ <key>Bell</key>
+ <false/>
+ <key>BlinkText</key>
+ <true/>
+ <key>CharacterEncoding</key>
+ <integer>4</integer>
+ <key>CursorBlink</key>
+ <false/>
+ <key>CursorColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
+ LjcxNzY0NzA1ODggMC43MzMzMzMzMzMzIDAuNzE3NjQ3MDU4OAAQAYAC0hAREhNaJGNs
+ YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+ </data>
+ <key>CursorType</key>
+ <integer>0</integer>
+ <key>Font</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QVk5TU2l6ZVhOU2ZGbGFnc1ZOU05hbWVWJGNs
+ YXNzI0AyAAAAAAAAEBCAAoADW0luY29uc29sYXRh0hMUFRZaJGNsYXNzbmFtZVgkY2xh
+ c3Nlc1ZOU0ZvbnSiFRdYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2ZXLRGhtUcm9vdIAB
+ CBEaIy0yNzxCS1JbYmlydHZ4hImUnaSnsMLFygAAAAAAAAEBAAAAAAAAABwAAAAAAAAA
+ AAAAAAAAAADM
+ </data>
+ <key>FontAntialias</key>
+ <true/>
+ <key>FontWidthSpacing</key>
+ <real>0.99596774193548387</real>
+ <key>Linewrap</key>
+ <true/>
+ <key>ProfileCurrentVersion</key>
+ <real>2.02</real>
+ <key>ScrollbackLines</key>
+ <real>0.0</real>
+ <key>SelectionColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPEB4w
+ LjE4ODIzNTI5NDEgMC4yIDAuMjE5NjA3ODQzMQAQAYAC0hAREhNaJGNsYXNzbmFtZVgk
+ Y2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcYVHJv
+ b3SAAQgRGiMtMjc7QUhOW2KDhYeMl6Coq7TGyc4AAAAAAAABAQAAAAAAAAAZAAAAAAAA
+ AAAAAAAAAAAA0A==
+ </data>
+ <key>ShouldLimitScrollback</key>
+ <integer>0</integer>
+ <key>ShowWindowSettingsNameInTitle</key>
+ <false/>
+ <key>TextBoldColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
+ LjcxNzY0NzA1ODggMC43MzMzMzMzMzMzIDAuNzE3NjQ3MDU4OAAQAYAC0hAREhNaJGNs
+ YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+ </data>
+ <key>TextColor</key>
+ <data>
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
+ LjcxNzY0NzA1ODggMC43MzMzMzMzMzMzIDAuNzE3NjQ3MDU4OAAQAYAC0hAREhNaJGNs
+ YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+ </data>
+ <key>UseBoldFonts</key>
+ <false/>
+ <key>UseBrightBold</key>
+ <true/>
+ <key>name</key>
+ <string>Tomorrow Night (bootstrap)</string>
+ <key>shellExitAction</key>
+ <integer>1</integer>
+ <key>type</key>
+ <string>Window Settings</string>
+ <key>useOptionAsMetaKey</key>
+ <true/>
+</dict>
+</plist>
@@ -0,0 +1,45 @@
+#
+# Cookbook Name:: config
+# Recipe:: terminal
+#
+# The theme installed by this recipe is based on Tomorrow Night by Chris
+# Kempson. The original is available at https://github.com/chriskempson/tomorrow-theme
+#
+# Copyright 2012, Ben Bleything <ben@bleything.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+pb = '/usr/libexec/PlistBuddy -c'
+key = ':Window\ Settings:Tomorrow\ Night\ (bootstrap)'
+plist = "#{ENV['HOME']}/Library/Preferences/com.apple.Terminal.plist"
+
+execute "#{pb} 'Add #{key} dict' #{plist}" do
+ not_if "#{pb} 'Print #{key}' #{plist}"
+end
+
+execute "add theme" do
+ file = File.expand_path("../../files/default/bootstrap.terminal", __FILE__)
+
+ command "#{pb} 'Merge #{file} #{key}' #{plist}"
+ not_if "#{pb} 'Print #{key}:name' #{plist}"
+end
+
+%w(Startup Default).each do |section|
+ k = "#{section} Window Settings"
+ mac_os_x_userdefaults k do
+ domain "com.apple.Terminal"
+ key k
+ value "Tomorrow Night (bootstrap)"
+ end
+end

0 comments on commit 192ed86

Please sign in to comment.