Commit 389d4abb2f
Unsigned
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 | |||
| 14 | 14 | ||
| 15 | ## Configuration | 15 | ## Configuration |
| 16 | 16 | ||
| 17 | ### Disable System Services | ||
| 18 | |||
| 17 | - [Disabling and Enabling System Integrity Protection](https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection) | 19 | - [Disabling and Enabling System Integrity Protection](https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection) |
| 18 | - Disable Gatekeeper: `sudo spctl --master-disable` | 20 | - Disable Gatekeeper: `sudo spctl --master-disable` |
| 19 | 21 | ||
| 22 | ### Dotfiles | ||
| 23 | |||
| 24 | These are probably out of date, but they give a general idea of how I configure my machine. | ||
| 25 | |||
| 26 | ```config | ||
| 27 | # ~/.zshrc | ||
| 28 | export PATH="/opt/homebrew/bin:$PATH" | ||
| 29 | export PATH="$HOME/.emacs.d/bin:$PATH" | ||
| 30 | export EDITOR="/opt/homebrew/bin/emacs -nw" | ||
| 31 | ZSH_THEME="bureau" | ||
| 32 | plugins=(git zsh-autosuggestions) | ||
| 33 | source $ZSH/oh-my-zsh.sh | ||
| 34 | ``` | ||
| 35 | |||
| 36 | ```config | ||
| 37 | # ~/.zprofile | ||
| 38 | eval "$(/opt/homebrew/bin/brew shellenv)" | ||
| 39 | ``` | ||
| 40 | |||
| 41 | ```config | ||
| 42 | # ~/.config/skhd/skhdrc | ||
| 43 | cmd - return : /Applications/iTerm.app/Contents/MacOS/iTerm2 | ||
| 44 | cmd + shift - return : /Applications/LibreWolf.app/Contents/MacOS/librewolf | ||
| 45 | ``` | ||
| 46 | |||
| 47 | ```config | ||
| 48 | # ~/.config/yabai/yabairc | ||
| 49 | yabai -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 | ||
| 76 | echo "yabai configuration loaded.." | ||
| 77 | ``` | ||
| 78 | |||
| 20 | ## Software | 79 | ## Software |
| 21 | 80 | ||
| 22 | ### Browsers | 81 | ### Browsers |
| @@ -48,7 +107,7 @@ My primary OS. Currently running macOS Sonoma 14. This wiki page contains most o | |||
| 48 | 107 | ||
| 49 | ### Editors | 108 | ### Editors |
| 50 | 109 | ||
| 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 |
| 52 | - [Obsidian](https://obsidian.md/) [`*`] - A nice Markdown-based editor based on a "vault" structure. Offers a paid sync solution and community extensions | 111 | - [Obsidian](https://obsidian.md/) [`*`] - A nice Markdown-based editor based on a "vault" structure. Offers a paid sync solution and community extensions |
| 53 | - [Standard Notes](https://standardnotes.com/) - A simple text editor focused on privacy and security. Offers a paid sync solution and community extensions | 112 | - [Standard Notes](https://standardnotes.com/) - A simple text editor focused on privacy and security. Offers a paid sync solution and community extensions |
| 54 | - [VSCodium](https://vscodium.com/) [`*`] - VS Code without proprietary blobs | 113 | - [VSCodium](https://vscodium.com/) [`*`] - VS Code without proprietary blobs |