Compare commits

..

38 commits

Author SHA1 Message Date
Oliver Davies 95c35cc95b Add Airmail 2020-02-20 10:32:48 +00:00
Oliver Davies f88ae0575d Fix package name 2020-02-20 10:32:48 +00:00
Oliver Davies bdf31173a1
Add fzf 2020-01-28 23:06:23 +00:00
Oliver Davies f084272c69 Different format 2020-01-27 22:52:35 +00:00
Oliver Davies 67b55410bb Add iA Writer 2020-01-23 00:39:29 +00:00
Oliver Davies 625de0504d Remove old apps 2020-01-23 00:36:56 +00:00
Oliver Davies c8c1f6ed1e Switch from antigen to zplug 2020-01-21 14:23:55 +00:00
Oliver Davies b6ff2793ff
Add npm and yarn 2020-01-16 08:16:50 +00:00
Oliver Davies 8d58565563 Move tasks from macos file in dotfiles
#8
2020-01-15 00:49:18 +00:00
Oliver Davies af5b3a7565 Remove sudoers task 2020-01-15 00:46:14 +00:00
Oliver Davies 5a748113b0 Move macOS tasks into the role
Further cleanup and categorisation needed.

#7
2020-01-15 00:20:01 +00:00
Oliver Davies 31731745e0 Remove VLC from the menu bar 2020-01-15 00:13:30 +00:00
Oliver Davies 99f73fe86f Menu bar tweaks 2020-01-15 00:12:57 +00:00
Oliver Davies bc3059a698 Rename osx role to macos 2020-01-14 20:58:47 +00:00
Oliver Davies e876c26660 Remove mkdocs 2020-01-14 20:56:40 +00:00
Oliver Davies 097404fda8 Add reattach-to-user-namespace 2020-01-14 20:26:14 +00:00
Oliver Davies 43841317a0 Add antigen for zsh plugins 2020-01-14 13:51:33 +00:00
Oliver Davies 0894aec233 Update apps 2020-01-14 00:23:45 +00:00
Oliver Davies 3dacc8dc6d Use consistent syntax for tags 2020-01-13 17:23:50 +00:00
Oliver Davies 62354f7d73 Update tap names 2020-01-13 17:15:08 +00:00
Oliver Davies 0e72624444 Remove old dotfiles code, update path 2020-01-13 17:04:27 +00:00
Oliver Davies a5e95f2bde Add macos tag 2020-01-13 17:04:06 +00:00
Oliver Davies 0837b98835 Update geerlingguy.homebrew version 2020-01-13 17:03:50 +00:00
Oliver Davies af968b318e
Add figma 2019-11-05 22:47:38 +00:00
Oliver Davies 8c0db346a6
Replace spectacle with moom 2019-10-06 08:54:49 +01:00
Oliver Davies 86f04d88b9
Remove z 2019-10-06 08:54:08 +01:00
Oliver Davies 3207fce252
Add sip 2019-09-30 18:04:13 +01:00
Oliver Davies 709ecd6adf Merge branch '6-use-rcm-dotfiles' 2019-09-04 23:52:24 +01:00
Oliver Davies aeaab5dc1e Remove geerlingguy.dotfiles
Issue #6
2019-09-04 23:52:16 +01:00
Oliver Davies e8581916d9 Add variables
Issue #6
2019-09-04 23:51:44 +01:00
Oliver Davies e076623617 Add karlmdavis.rcm-dotfiles
Issue #6
2019-09-04 23:51:44 +01:00
Oliver Davies 4185d0e33a Update tag 2019-09-02 21:33:53 +01:00
Oliver Davies fb37bd578f Delete inventory.yml 2019-09-02 21:33:53 +01:00
Oliver Davies 5f52c9a8df
Add Carbonize 2019-08-27 23:07:06 +01:00
Oliver Davies 1fe0d56477
Add Display Menu 2019-08-27 23:06:17 +01:00
Oliver Davies 6a9177cc3c
Add bfg 2019-08-16 00:58:28 +01:00
Oliver Davies 79ed726826
Add bartender and synergy 2019-07-29 14:02:18 +01:00
Oliver Davies 68abdb8fb2
Update Tweetbot 2019-05-29 14:37:59 +01:00
23 changed files with 195 additions and 151 deletions

View file

@ -7,23 +7,18 @@
- vars/homebrew.yml - vars/homebrew.yml
- vars/mas.yml - vars/mas.yml
- vars/misc.yml - vars/misc.yml
- vars/user.yml
tasks: tasks:
- include: tasks/sudoers.yml
tags: ['osx']
- include: tasks/sublime.yml - include: tasks/sublime.yml
tags: ['sublime'] tags: [sublime]
- include: tasks/macos.yml
tags: ['macos']
roles: roles:
- role: gantsign.antigen - role: karlmdavis.rcm-dotfiles
tags: ['zsh'] tags: [dotfiles]
- role: geerlingguy.dotfiles
tags: ['dotfiles']
- role: geerlingguy.homebrew - role: geerlingguy.homebrew
tags: ['homebrew'] tags: [homebrew]
- role: geerlingguy.mas - role: geerlingguy.mas
when: mas_installed_apps when: mas_installed_apps
tags: ['mas'] tags: [macos, mas]
- role: ./roles/macos
tags: [macos]

View file

@ -1,9 +1,6 @@
--- ---
- src: 'gantsign.antigen' - src: 'karlmdavis.rcm-dotfiles'
version: '1.3.2'
- src: 'geerlingguy.dotfiles'
version: '1.2.0'
- src: 'geerlingguy.homebrew' - src: 'geerlingguy.homebrew'
version: '2.9.0' version: '3.1.0'
- src: 'geerlingguy.mas' - src: 'geerlingguy.mas'
version: '1.2.0' version: '1.2.0'

View file

@ -0,0 +1,7 @@
---
- name: Remove VLC from the menu bar
osx_defaults:
domain: org.videolan.vlc
key: 'NSStatusItem Visible statusBarItem'
type: bool
value: false

View file

@ -0,0 +1,51 @@
---
- name: Empty the Dock
shell: 'dockutil --remove all --no-restart'
- name: Disable launch animation
osx_defaults:
domain: com.apple.dock
key: launchanim
type: bool
value: false
- name: Hide open indicators
osx_defaults:
domain: com.apple.dock
key: show-process-indicators
type: bool
value: false
- name: Hide recent apps
osx_defaults:
domain: com.apple.dock
key: show-recents
type: bool
value: false
- name: Set the icon size of Dock items.
osx_defaults:
domain: com.apple.dock
key: tilesize
type: int
value: 35
notify:
- killall Dock
- name: Automatically hide and show the Dock.
osx_defaults:
domain: com.apple.dock
key: autohide
type: bool
value: true
notify:
- killall Dock
- name: Remove the autohide delay.
osx_defaults:
domain: com.apple.dock
key: autohide-delay
type: float
value: 0
notify:
- killall Dock

View file

@ -21,3 +21,21 @@
value: false value: false
notify: notify:
- killall Finder - killall Finder
- name: Hide the status bar
osx_defaults:
domain: com.apple.finder
key: ShowStatusBar
type: bool
value: false
notify:
- killall Finder
- name: Hide the path bar
osx_defaults:
domain: com.apple.finder
key: ShowPathbar
type: bool
value: false
notify:
- killall Finder

View file

@ -0,0 +1,23 @@
- name: Disable smart dashes
osx_defaults:
domain: NSGlobalDomain
key: NSAutomaticDashSubstitutionEnabled
type: bool
value: false
- name: Disable press-and-hold for keys in favor of key repeat
osx_defaults:
domain: NSGlobalDomain
key: ApplePressAndHoldEnabled
type: bool
value: false
- name: Set a blazingly fast keyboard repeat rate, and make it happen more quickly
osx_defaults:
domain: NSGlobalDomain
key: '{{ item.key }}'
type: int
value: '{{ item.value }}'
with_items:
- { key: InitialKeyRepeat, value: 20 }
- { key: KeyRepeat, value: 1 }

View file

@ -1,6 +1,11 @@
--- ---
- include: apps/vlc.yml
- include: dock.yml - include: dock.yml
- include: finder.yml - include: finder.yml
- include: global.yml
- include: keyboard.yml - include: keyboard.yml
- include: menu-bar.yml
- include: moved-from-tasks.yml
- include: screensaver.yml - include: screensaver.yml
- include: trackpad.yml
- include: universal-access.yml - include: universal-access.yml

View file

@ -0,0 +1,21 @@
---
- name: Hide by default
osx_defaults:
domain: 'Apple Global Domain'
key: _HIHideMenuBar
type: bool
value: true
- name: Show battery percentage
osx_defaults:
domain: com.apple.menuextra.battery
key: ShowPercent
type: string
value: yes
- name: Show the current date
osx_defaults:
domain: com.apple.menuextra.clock
key: DateFormat
type: string
value: 'EEE d MMM HH:mm'

View file

@ -1,11 +1,4 @@
--- ---
- name: Hide the menu bar by default
osx_defaults:
domain: 'Apple Global Domain'
key: _HIHideMenuBar
type: bool
value: true
- name: Check for software updates daily, not just once per week - name: Check for software updates daily, not just once per week
osx_defaults: osx_defaults:
domain: com.apple.SoftwareUpdate domain: com.apple.SoftwareUpdate
@ -54,10 +47,3 @@
key: QuitMenuItem key: QuitMenuItem
type: boolean type: boolean
value: true value: true
- name: Kill affected applications
command: 'killall {{ item }}'
with_items:
- Dock
- Finder
- SystemUIServer

View file

@ -10,5 +10,5 @@
osx_defaults: osx_defaults:
domain: com.apple.screensaver domain: com.apple.screensaver
key: askForPasswordDelay key: askForPasswordDelay
type: float type: int
value: 0 value: 0

View file

@ -0,0 +1,7 @@
---
- name: Enable tap on click
osx_defaults:
domain: com.apple.driver.AppleBluetoothMultitouch.trackpad
key: Clicking
type: bool
value: true

View file

@ -0,0 +1,14 @@
---
- name: Reduce transparency
osx_defaults:
domain: com.apple.universalaccess
key: reduceTransparency
type: bool
value: true
- name: Reduce motion
osx_defaults:
domain: com.apple.universalaccess
key: reduceMotion
type: bool
value: true

View file

@ -1,5 +0,0 @@
---
- name: Install mkdocs
pip:
name: mkdocs
state: present

View file

@ -1,27 +0,0 @@
---
- name: Set the icon size of Dock items.
osx_defaults:
domain: com.apple.dock
key: tilesize
type: float
value: 20
notify:
- killall Dock
- name: Automatically hide and show the Dock.
osx_defaults:
domain: com.apple.dock
key: autohide
type: bool
value: true
notify:
- killall Dock
- name: Remove the autohide delay.
osx_defaults:
domain: com.apple.dock
key: autohide-delay
type: float
value: 0
notify:
- killall Dock

View file

@ -1,7 +0,0 @@
---
- name: Require a password when exiting the screen saver.
osx_defaults:
domain: com.apple.universalaccess
key: reduceTransparency
type: bool
value: true

View file

@ -1,10 +0,0 @@
---
# Sudoers configuration (enables more convenient Vagrant usage).
- name: Copy sudoers configuration into place.
copy:
src: files/etc/sudoers
dest: /etc/sudoers
mode: 0440
validate: 'visudo -cf %s'
become: yes
when: configure_sudoers

View file

@ -1,13 +1,5 @@
--- ---
dotfiles_repo: "https://github.com/opdavies/dotfiles.git" rcm_user: opdavies
dotfiles_repo_local_destination: "~/.dotfiles" rcm_repos:
dotfiles_files: - repo: 'https://github.com/opdavies/dotfiles'
- .aliases dest: '/Users/opdavies/dotfiles'
- .functions
- .gitconfig
- .gitignore-global
- .hushlogin
- .ideavimrc
- .npmrc
- .vimrc
- .zshrc

View file

@ -1,31 +1,39 @@
--- ---
homebrew_taps: homebrew_taps:
- caskroom/cask - drud/ddev
- caskroom/fonts - homebrew/cask
- caskroom/versions - homebrew/cask-fonts
- homebrew/cask-versions
- homebrew/services - homebrew/services
homebrew_installed_packages: homebrew_installed_packages:
- bfg
- cairo - cairo
- composer - composer
- ddev
- direnv - direnv
- dnsmasq - dnsmasq
- dockutil
- drupal-code-sniffer - drupal-code-sniffer
- fswatch - fswatch
- fzf
- git-extras - git-extras
- git-flow - git-flow
- git-ftp - git-ftp
- git-sh - git-sh
- htop - htop
- hub - hub
- jq
- lftp - lftp
- mas - mas
- molecule - molecule
- mysql - mysql
- npm
- peco - peco
- phpmd - phpmd
- pv - pv
- python - python
- reattach-to-user-namespace
- ssh-copy-id - ssh-copy-id
- tig - tig
- tmux - tmux
@ -33,39 +41,38 @@ homebrew_installed_packages:
- unison - unison
- watch - watch
- wget - wget
- z - yarn
- zplug
homebrew_cask_apps: homebrew_cask_apps:
- alfred - alfred
- appcleaner - appcleaner
- asciinema
- authy - authy
- avast - avast-security
- balenaetcher - balenaetcher
- bartender
- boxer - boxer
- caffeine - caffeine
- cyberduck - cyberduck
- discord - discord
- docker - docker
- dropbox - dropbox
- filezilla - figma
- firefox - firefox
- font-fira-code - font-fira-code
- font-roboto-mono - font-roboto-mono
- font-source-code-pro - font-source-code-pro
- github - github
- google-chrome - google-chrome
- google-drive
- gpgtools - gpgtools
- iconjar - iconjar
- iterm2 - iterm2
- jq
- karabiner-elements - karabiner-elements
- keybase - keybase
- kitematic - kitematic
- lando
- lastpass - lastpass
- mailplane - mailplane
- moom
- ngrok - ngrok
- nordvpn - nordvpn
- obs - obs
@ -77,11 +84,13 @@ homebrew_cask_apps:
- qlmarkdown - qlmarkdown
- resilio-sync - resilio-sync
- sequel-pro - sequel-pro
- sip
- sizzy
- skype - skype
- slack - slack
- spectacle
- spotify - spotify
- sublime-text - sublime-text
- synergy
- textual - textual
- the-unarchiver - the-unarchiver
- tunnelblick - tunnelblick

View file

@ -1,30 +1,17 @@
mas_signin_dialog: no mas_signin_dialog: no
mas_installed_apps: mas_installed_apps:
- name: 'Bear' - { name: 'Airmail 4', id: 918858936 }
id: 1091189122 - { name: 'Bear', id: 1091189122 }
- name: 'iMovie' - { name: 'Carbonize', id: 1451177988 }
id: 408981434 - { name: 'iA Writer', id: 775737590 }
- name: 'Keynote' - { name: 'iMovie', id: 408981434 }
id: 409183694 - { name: 'Keynote', id: 409183694 }
- name: 'LastPass' - { name: 'LastPass', id: 926036361 }
id: 926036361 - { name: 'Numbers', id: 409203825 }
- name: 'Microsoft Remote Desktop' - { name: 'Pages', id: 409201541 }
id: 715768417 - { name: 'Reeder', id: 880001334 }
- name: 'Numbers' - { name: 'Slack', id: 803453959 }
id: 409203825 - { name: 'Todoist', id: 585829637 }
- name: 'Pages' - { name: 'Tweetbot 3 for Twitter', id: 1384080005 }
id: 409201541 - { name: 'TweetDeck', id: 485812721 }
- name: 'Pocket' - { name: 'Xcode', id: 497799835 }
id: 568494494
- name: 'Reeder'
id: 880001334
- name: 'Slack'
id: 803453959
- name: 'Todoist'
id: 585829637
- name: 'Tweetbot'
id: 557168941
- name: 'TweetDeck'
id: 485812721
- name: 'Xcode'
id: 497799835

View file

@ -1,19 +0,0 @@
users:
- username: opdavies
antigen_libraries:
- name: oh-my-zsh
antigen_bundles:
- name: cd-gitroot
url: https://github.com/mollifier/cd-gitroot
- name: common-aliases
- name: composer
- name: docker
- name: git
- name: github
- name: npm
- name: osx
- name: z
- name: zsh-autosuggestions
url: https://github.com/zsh-users/zsh-autosuggestions
- name: zsh-syntax-highlighting
url: https://github.com/zsh-users/zsh-syntax-highlighting