Move tasks from macos file in dotfiles

#8
This commit is contained in:
Oliver Davies 2020-01-15 00:49:18 +00:00
parent af5b3a7565
commit 8d58565563
8 changed files with 83 additions and 4 deletions

View file

@ -1,10 +1,34 @@
--- ---
- 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. - name: Set the icon size of Dock items.
osx_defaults: osx_defaults:
domain: com.apple.dock domain: com.apple.dock
key: tilesize key: tilesize
type: int type: int
value: 20 value: 35
notify: notify:
- killall Dock - 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

@ -2,8 +2,10 @@
- include: apps/vlc.yml - 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: menu-bar.yml
- include: moved-from-tasks.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

@ -19,4 +19,3 @@
key: DateFormat key: DateFormat
type: string type: string
value: 'EEE d MMM HH:mm' value: 'EEE d MMM HH:mm'

View file

@ -47,4 +47,3 @@
key: QuitMenuItem key: QuitMenuItem
type: boolean type: boolean
value: true value: true

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

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