Commit 389d4abb2f

389d4abb2fa42111a1ac8a5a1a97d2b146982b23

parent: 84b2059e21

Unsigned

cmc <hello@cleberg.net> · 2024-03-14 01:17 UTC

add dotfiles section to macos wiki page

Layout: unified · split

content/wiki/macos.md +60 −1
@@ -14,9 +14,68 @@ My primary OS. Currently running macOS Sonoma 14. This wiki page contains most o
1414
1515## Configuration
1616
17### Disable System Services
18
1719- [Disabling and Enabling System Integrity Protection](https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection)
1820- Disable Gatekeeper: `sudo spctl --master-disable`
1921
22### Dotfiles
23
24These are probably out of date, but they give a general idea of how I configure my machine.
25
26```config
27# ~/.zshrc
28export PATH="/opt/homebrew/bin:$PATH"
29export PATH="$HOME/.emacs.d/bin:$PATH"
30export EDITOR="/opt/homebrew/bin/emacs -nw"
31ZSH_THEME="bureau"
32plugins=(git zsh-autosuggestions)
33source $ZSH/oh-my-zsh.sh
34```
35
36```config
37# ~/.zprofile
38eval "$(/opt/homebrew/bin/brew shellenv)"
39```
40
41```config
42# ~/.config/skhd/skhdrc
43cmd - return : /Applications/iTerm.app/Contents/MacOS/iTerm2
44cmd + shift - return : /Applications/LibreWolf.app/Contents/MacOS/librewolf
45```
46
47```config
48# ~/.config/yabai/yabairc
49yabai -m config \
50 mouse_follows_focus off \
51 focus_follows_mouse off \
52 window_origin_display default \
53 window_placement second_child \
54 window_zoom_persist on \
55 window_shadow on \
56 window_animation_duration 0.0 \
57 window_animation_frame_rate 120 \
58 window_opacity_duration 0.0 \
59 active_window_opacity 1.0 \
60 normal_window_opacity 0.90 \
61 window_opacity off \
62 insert_feedback_color 0xffd75f5f \
63 split_ratio 0.50 \
64 split_type auto \
65 auto_balance off \
66 top_padding 15 \
67 bottom_padding 15 \
68 left_padding 15 \
69 right_padding 15 \
70 window_gap 10 \
71 layout bsp \
72 mouse_modifier fn \
73 mouse_action1 move \
74 mouse_action2 resize \
75 mouse_drop_action swap
76echo "yabai configuration loaded.."
77```
78
2079## Software
2180
2281### Browsers
@@ -48,7 +107,7 @@ My primary OS. Currently running macOS Sonoma 14. This wiki page contains most o
48107
49108### Editors
50109
51- [Doom Emacs](https://github.com/doomemacs/doomemacs) - An Emacs framework, great for working in `org` files
110- [Doom Emacs](https://github.com/doomemacs/doomemacs) - An Emacs framework, great for working in org-mode
52111- [Obsidian](https://obsidian.md/) [`*`] - A nice Markdown-based editor based on a "vault" structure. Offers a paid sync solution and community extensions
53112- [Standard Notes](https://standardnotes.com/) - A simple text editor focused on privacy and security. Offers a paid sync solution and community extensions
54113- [VSCodium](https://vscodium.com/) [`*`] - VS Code without proprietary blobs