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 131 deletions

View file

@ -1,4 +0,0 @@
all:
hosts:
localhost:
ansible_connection: local

View file

@ -9,18 +9,16 @@
- vars/misc.yml
tasks:
- include: tasks/sudoers.yml
tags: ['osx']
- include: tasks/sublime.yml
tags: ['sublime']
- include: tasks/macos.yml
tags: ['macos']
tags: [sublime]
roles:
- role: geerlingguy.dotfiles
tags: ['dotfiles']
- role: karlmdavis.rcm-dotfiles
tags: [dotfiles]
- role: geerlingguy.homebrew
tags: ['homebrew']
tags: [homebrew]
- role: geerlingguy.mas
when: mas_installed_apps
tags: ['mas']
tags: [macos, mas]
- role: ./roles/macos
tags: [macos]

View file

@ -1,7 +1,6 @@
---
- src: 'geerlingguy.dotfiles'
version: '1.2.0'
- src: 'karlmdavis.rcm-dotfiles'
- src: 'geerlingguy.homebrew'
version: '2.9.0'
version: '3.1.0'
- src: 'geerlingguy.mas'
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
notify:
- 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: finder.yml
- include: global.yml
- include: keyboard.yml
- include: menu-bar.yml
- include: moved-from-tasks.yml
- include: screensaver.yml
- include: trackpad.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
osx_defaults:
domain: com.apple.SoftwareUpdate
@ -54,10 +47,3 @@
key: QuitMenuItem
type: boolean
value: true
- name: Kill affected applications
command: 'killall {{ item }}'
with_items:
- Dock
- Finder
- SystemUIServer

View file

@ -10,5 +10,5 @@
osx_defaults:
domain: com.apple.screensaver
key: askForPasswordDelay
type: float
type: int
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"
dotfiles_repo_local_destination: "~/.dotfiles"
dotfiles_files:
- .aliases
- .functions
- .gitconfig
- .gitignore-global
- .hushlogin
- .ideavimrc
- .npmrc
- .vimrc
- .zshrc
rcm_user: opdavies
rcm_repos:
- repo: 'https://github.com/opdavies/dotfiles'
dest: '/Users/opdavies/dotfiles'

View file

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

View file

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