-
Notifications
You must be signed in to change notification settings - Fork 0
/
macos.yml
131 lines (119 loc) · 2.79 KB
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
- hosts: devmachine
tasks:
- name: homebrew taps
homebrew_tap:
name: "{{ repositories }}"
state: present
vars:
repositories:
- homebrew/cask-fonts
- name: install fundamental tools from brew
homebrew:
name: "{{ packages }}"
state: present
update_homebrew: no
vars:
packages:
- zsh
- tmux
- reattach-to-user-namespace
- terminal-notifier
- gnu-tar
- grep
- git
- git-lfs
- ghq
- peco
- htop
- jq
- pv
- ripgrep
- unar
- lv
- name: install fundamental tools from cask
homebrew_cask:
name: "{{ packages }}"
state: present
update_homebrew: no
vars:
packages:
- bettertouchtool
- karabiner-elements
- dash
- day-o
- google-chrome
- google-japanese-ime
- dropbox
- discord
- emacs
- iterm2
- gpg-suite
- docker
- keycast
- licecap
- blu-ray-player
- vlc
- gimp
- sketch
- name: install fonts
homebrew_cask:
name: "{{ fonts }}"
state: present
update_homebrew: yes
vars:
fonts:
- font-source-code-pro
- font-source-han-code-jp
# general
- name: Show scroll bars
# Automatically based on mouse or trackpad: Automatic
# When scrolling: WhenScrolling
# Always: Always
osx_defaults:
key: AppleShowScrollBars
type: string
value: Automatic
- name: Click in the scroll bar to
# Jump to the next page: 0
# Jump to the spot that's clicked: 1
osx_defaults:
key: AppleScrollerPagingBehavior
type: int
value: 1
# keyboard
# keyboard
- name: Key Repeat
osx_defaults:
key: KeyRepeat
type: int
value: 2
- name: Delay Until Repeat
osx_defaults:
key: InitialKeyRepeat
type: int
value: 15
- name: Use F1, .., keys as standard function keys
osx_defaults:
key: com.apple.keyboard.fnState
type: int
value: 0
# shortcuts
# input sources
# trackpad
- name: Tracking speed
osx_defaults:
key: com.apple.trackpad.scaling
type: float
value: 3
- name: Scroll direction Natural
osx_defaults:
key: com.apple.swipescrolldirection
type: int
value: 0
- name: Removing window shadows with screen capture
osx_defaults:
domain: com.apple.screencapture
key: disable-shadow
type: bool
value: True