Skip to content

Commit 7afd813

Browse files
Brock BBrock B
authored andcommitted
config updates
1 parent 3b1b1e2 commit 7afd813

File tree

8 files changed

+90
-44
lines changed

8 files changed

+90
-44
lines changed

.ghostty.config

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#
2+
# look and feel
3+
#
4+
#theme = "wombat"
5+
#theme = "Monokai Remastered"
6+
#theme = "Kolorit"
7+
#theme = "JetBrains Darcula"
8+
#theme = "iTerm2 Pastel Dark Background"
9+
#theme = "Monokai Pro"
10+
theme = "xcodedark"
11+
12+
#
13+
# A value of 1 is fully opaque and a value of 0 is fully transparent
14+
background-opacity = 0.95
15+
background-blur-radius = 20
16+
17+
#
18+
# font
19+
# ghostty +list-fonts
20+
#
21+
#font-family = "Symbols Nerd Font Mono"
22+
#font-family = "MonoLisa Variable"
23+
#font-family = "Iosevka"
24+
#font-family = "Cartograph CF"
25+
#font-family = "MesloLGS NF"
26+
font-family = "MesloLGS NF"
27+
font-size = 16
28+
font-thicken = true
29+
30+
#
31+
# misc
32+
#
33+
#copy-on-select = true
34+
copy-on-select = clipboard
35+
cursor-style = block
36+
desktop-notifications = true
37+
scrollback-limit = 100000000
38+
# example notification
39+
#echo -e "\033]9;your notification message\007"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.DEFAULT_GOAL := help
2-
DOTFILES_DIR=~/code/git/dotfiles
2+
DOTFILES_DIR ?= ~/code/git/dotfiles
33
VENV_DIR=/tmp/venv
44

55
help: ## Show this help message.

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ All configs including the list of libraries that will be installed can be adjust
66

77
### Mac
88

9-
1. Clone or download this repo.
10-
2. Install [homebrew](https://brew.sh/)
11-
3. Run the ansible playbook via: `make setup`
9+
1. Clone or download this repo to a directory
10+
2. Set the `DOTFILES_DIR` environment variable to that directory with: `export DOTFILES_DIR=/path/to/dotfiles` or update the variable of the same name in the `Makefile`
11+
3. Install [homebrew](https://brew.sh/)
12+
4. Run the ansible playbook via: `make setup`
1213
- This will create a python virtual environment using the system python and install ansible
1314
- And then run the playbook
1415

1516
### Linux
1617

17-
1. Clone or download this repo.
18+
1. Clone or download this repo to a directory
19+
2. Set the `DOTFILES_DIR` environment variable to that directory with: `export DOTFILES_DIR=/path/to/dotfiles` or update the variable of the same name in the `Makefile`
1820
2. Add the current user to the sudoers file with `sudo visudo` and `username ALL=(ALL:ALL) NOPASSWD:ALL`. Note that the entry *must* be appended to the end of the file.
1921
3. Run the ansible playbook via: `make setup`
2022
- This will create a python virtual environment using the system python, and install ansible

ansible/roles/linux/tasks/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@
101101
tags:
102102
- linux
103103

104-
- name: neovim setup
105-
block:
106-
- name: "download neovim version {{ neovim['version'] }}"
107-
ansible.builtin.get_url:
108-
url: "https://github.com/neovim/neovim/releases/download/v{{ neovim['version'] }}/nvim-linux64.tar.gz"
109-
dest: ~/.local/lib/
110-
checksum: "sha256: {{ neovim['sha256'] }}"
104+
# - name: neovim setup
105+
# block:
106+
# - name: "download neovim version {{ neovim['version'] }}"
107+
# ansible.builtin.get_url:
108+
# url: "https://github.com/neovim/neovim/releases/download/v{{ neovim['version'] }}/nvim-linux64.tar.gz"
109+
# dest: ~/.local/lib/
110+
# checksum: "sha256: {{ neovim['sha256'] }}"
111111

112112
- name: "create nvim symlink 🔗"
113113
ignore_errors: true

ansible/roles/mac/tasks/main.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212
name: '{{ item }}'
1313
state: installed
1414
tags:
15+
1516
- brew
1617
loop: "{{ homebrew_cask_packages }}"
17-
1818
- name: modify macOS 🍎 user defaults
1919
community.general.osx_defaults:
20-
domain: com.microsoft.VSCode
21-
key: ApplePressAndHoldEnabled
22-
type: bool
23-
value: false
24-
state: present
20+
domain: "{{ item.domain }}"
21+
key: "{{ item.key }}"
22+
type: "{{ item.type }}"
23+
value: "{{ item.value }}"
24+
state: "{{ item.state }}"
25+
loop: "{{ macos_defaults }}"
26+
tags:
27+
- macos_defaults

ansible/roles/misc/tasks/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
# - misc
1818
# - pipx
1919

20-
- name: Install vim plugins 🔌
21-
ansible.builtin.git:
22-
repo: "{{ item.plugin_git_source }}"
23-
dest: "{{ item.plugin_target_path }}"
24-
loop: "{{ vim_plugins }}"
25-
tags:
26-
- misc
27-
- vim-plugins
20+
# - name: Install vim plugins 🔌
21+
# ansible.builtin.git:
22+
# repo: "{{ item.plugin_git_source }}"
23+
# dest: "{{ item.plugin_target_path }}"
24+
# loop: "{{ vim_plugins }}"
25+
# tags:
26+
# - misc
27+
# - vim-plugins
2828

2929
- name: zsh plugins 🔌
3030
ansible.builtin.get_url:

ansible/vars/default_config.yaml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ dotfiles:
44
- .ansible.cfg
55
- .bash_profile
66
- .bashrc
7-
- .condarc
87
- .exports
98
# - .gitconfig
109
- .gitignore.global
@@ -19,6 +18,7 @@ dotfiles:
1918
base_directory_structure:
2019
- .cache
2120
- .config
21+
- .config/ghostty
2222
- .hammerspoon
2323
- .local/bin
2424
- .local/lib
@@ -63,6 +63,17 @@ homebrew_cask_packages:
6363
- rectangle
6464
- visual-studio-code
6565

66+
macos_defaults:
67+
# Makes the cpu history monitor the default
68+
- { domain: com.apple.activitymonitor, key: IconType, type: int, value: 6, state: present }
69+
- { domain: com.apple.dock, key: show-recents, type: bool, value: false, state: present }
70+
- { domain: com.apple.dock, key: tilesize, type: float, value: 48, state: present }
71+
- { domain: com.apple.finder, key: FXDefaultSearchScope, type: string, value: SCcf, state: present }
72+
- { domain: com.apple.menuextra.clock, key: DateFormat, type: string, value: "\"EEE HH:mm:ss\"", state: present }
73+
- { domain: com.microsoft.VSCode, key: ApplePressAndHoldEnabled, type: bool, value: false, state: present }
74+
- { domain: NSGlobalDomain, key: ApplePressAndHoldEnabled, type: bool, value: false, state: present }
75+
- { domain: NSGlobalDomain, key: AppleShowAllExtensions, type: bool, value: true, state: present }
76+
6677
apt_packages:
6778
- bat # https://github.com/sharkdp/bat
6879
- curl
@@ -90,15 +101,6 @@ apt_packages:
90101
- xclip
91102
- zsh
92103

93-
# pipx_packages:
94-
# - black
95-
# - bpytop
96-
# - httpie # https://github.com/httpie/httpie
97-
# - pre-commit
98-
#- 'maestral[gui]'
99-
# - parquet-tools
100-
# - tldr
101-
102104
# snap_packages:
103105
# - { package: auto-cpufreq, classic: no } # https://github.com/AdnanHodzic/auto-cpufreq
104106
# - { package: docker, classic: no }
@@ -117,10 +119,10 @@ git_repos:
117119
- { repo: "https://github.com/zsh-users/zsh-syntax-highlighting.git", target_path: ~/.zsh/zsh-syntax-highlighting }
118120
- { repo: "https://github.com/zsh-users/zsh-completions.git", target_path: ~/.zsh/zsh-completions }
119121
- { repo: "https://github.com/romkatv/powerlevel10k.git", target_path: ~/.config/powerlevel10k }
122+
- { repo: "https://github.com/nvim-lua/kickstart.nvim.git", target_path: ~/.config/.nvim }
120123

121124
vim_plugins:
122125
- { plugin_git_source: "https://github.com/itchyny/lightline.vim", plugin_target_path: ~/.vim/pack/plugins/start/lightline }
123-
- { plugin_git_source: "https://github.com/flazz/vim-colorschemes.git", plugin_target_path: ~/.vim/pack/plugins/start/colorschemes }
124126
- { plugin_git_source: "https://github.com/preservim/nerdtree.git", plugin_target_path: ~/.vim/pack/vendor/start/nerdtree }
125127
- { plugin_git_source: "https://github.com/justinmk/vim-sneak.git", plugin_target_path: ~/.vim/pack/plugins/start/vim-sneak }
126128
- { plugin_git_source: "https://github.com/easymotion/vim-easymotion.git", plugin_target_path: ~/.vim/pack/plugins/start/vim-easymotion }
@@ -131,6 +133,6 @@ zsh_plugins:
131133
- { plugin_git_source: "https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/lib/history.zsh", plugin_target_path: ~/.zsh/history.zsh }
132134
- { plugin_git_source: "https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/z/z.plugin.zsh", plugin_target_path: ~/.zsh/z.plugin.zsh }
133135

134-
neovim:
135-
version: 0.10.2
136-
sha256: 9f696e635d503b844e4e78e88a22bcf512a78f288bf471379afc3d0004e15217
136+
# neovim:
137+
# version: 0.10.2
138+
# sha256: 9f696e635d503b844e4e78e88a22bcf512a78f288bf471379afc3d0004e15217

vscode/extensions.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# grep -v '^#' extensions.txt | xargs -n 1 code --install-extension
22

3-
hashicorp.terraform
3+
#hashicorp.terraform
44
ms-python.python
5-
ms-toolsai.jupyter
6-
ms-toolsai.jupyter-keymap
7-
ms-toolsai.jupyter-renderers
5+
#ms-toolsai.jupyter
6+
#ms-toolsai.jupyter-keymap
7+
#ms-toolsai.jupyter-renderers
88
PKief.material-icon-theme
99
vscodevim.vim
1010
yzhang.markdown-all-in-one

0 commit comments

Comments
 (0)