From 05a72b31c737567a837ad1f9b2fe7d52c21f38ff Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 20 Aug 2016 10:09:08 +0100 Subject: [PATCH] Set Day-O preferences. --- .dotconfig/Darwin/com.shauninman.Day-O.plist | Bin 0 -> 100 bytes bin/software-install | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .dotconfig/Darwin/com.shauninman.Day-O.plist diff --git a/.dotconfig/Darwin/com.shauninman.Day-O.plist b/.dotconfig/Darwin/com.shauninman.Day-O.plist new file mode 100644 index 0000000000000000000000000000000000000000..8863a1119821fa7533f4f78bdbbd743855716516 GIT binary patch literal 100 zcmYc)$jK}&F)+By$i&RT$`+B9SyWsSRGJr-mS2>cSQ1g3kzekaoS(-LFTn4rkfPx0 j>#N}5p`M|hn=8P;!7m}Np=r$k28@glnt>fk!zfz-U7i!u literal 0 HcmV?d00001 diff --git a/bin/software-install b/bin/software-install index a50d28c..aa21d1c 100755 --- a/bin/software-install +++ b/bin/software-install @@ -1,5 +1,15 @@ #!/bin/bash +function configure_Linux_software { +} + +function configure_Darwin_software { + cp ~/.dotconfig/Darwin/com.shauninman.Day-O.plist ~/Library/Preferences + + # Ensure any preference cache is cleared + pkill -u ${USER} cfprefsd +} + function install_Linux_software { #------------------------------- # Check the OS and set install command @@ -79,6 +89,7 @@ echo "#-------------------------------" # Call the install function appropriate for this platform install_$(uname -s)_software +configure_$(uname -s)_software #------------------------------- # Ensure Vim plugins are up-to-date, if older than one day