diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 17:42:59 -0500 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-10-01 17:42:59 -0500 |
commit | 7b0ea5cbdaaa5b8392777ad207c74cb27411eab1 (patch) | |
tree | 37a3438116ec3c84663133c820808ad9e2acf021 /macos.local | |
parent | 7a347653dfad8c6c33791f7e72a4ec40b8230ac3 (diff) |
the big refactor
Diffstat (limited to 'macos.local')
l--------- | macos.local/.clang-format.org | 1 | ||||
l--------- | macos.local/.config/alacritty | 1 | ||||
l--------- | macos.local/.config/emacs | 1 | ||||
l--------- | macos.local/.config/fastfetch | 1 | ||||
l--------- | macos.local/.config/nvim | 1 | ||||
l--------- | macos.local/.config/sketchybar | 1 | ||||
l--------- | macos.local/.config/skhd | 1 | ||||
l--------- | macos.local/.config/yabai | 1 | ||||
l--------- | macos.local/.gitconfig.org.gpg | 1 | ||||
-rw-r--r-- | macos.local/.gnupg/gpg-agent.org | 6 | ||||
-rwxr-xr-x | macos.local/.local/bin/launcher.org | 13 | ||||
l--------- | macos.local/.local/share/fonts | 1 | ||||
l--------- | macos.local/.profile.org | 1 | ||||
-rw-r--r-- | macos.local/.ssh/config.org | 12 | ||||
l--------- | macos.local/.wallpaper | 1 | ||||
l--------- | macos.local/.zshrc.org | 1 | ||||
-rwxr-xr-x | macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org | 9 |
17 files changed, 53 insertions, 0 deletions
diff --git a/macos.local/.clang-format.org b/macos.local/.clang-format.org new file mode 120000 index 0000000..4b4ef61 --- /dev/null +++ b/macos.local/.clang-format.org @@ -0,0 +1 @@ +../common/.clang-format.org
\ No newline at end of file diff --git a/macos.local/.config/alacritty b/macos.local/.config/alacritty new file mode 120000 index 0000000..bfce794 --- /dev/null +++ b/macos.local/.config/alacritty @@ -0,0 +1 @@ +../../common/.config/alacritty
\ No newline at end of file diff --git a/macos.local/.config/emacs b/macos.local/.config/emacs new file mode 120000 index 0000000..f4e5e56 --- /dev/null +++ b/macos.local/.config/emacs @@ -0,0 +1 @@ +../../common/.config/emacs
\ No newline at end of file diff --git a/macos.local/.config/fastfetch b/macos.local/.config/fastfetch new file mode 120000 index 0000000..a73d684 --- /dev/null +++ b/macos.local/.config/fastfetch @@ -0,0 +1 @@ +../../common/.config/fastfetch
\ No newline at end of file diff --git a/macos.local/.config/nvim b/macos.local/.config/nvim new file mode 120000 index 0000000..a0abd03 --- /dev/null +++ b/macos.local/.config/nvim @@ -0,0 +1 @@ +../../common/.config/nvim
\ No newline at end of file diff --git a/macos.local/.config/sketchybar b/macos.local/.config/sketchybar new file mode 120000 index 0000000..b808184 --- /dev/null +++ b/macos.local/.config/sketchybar @@ -0,0 +1 @@ +../../common/.config/sketchybar
\ No newline at end of file diff --git a/macos.local/.config/skhd b/macos.local/.config/skhd new file mode 120000 index 0000000..3aa80d0 --- /dev/null +++ b/macos.local/.config/skhd @@ -0,0 +1 @@ +../../common/.config/skhd
\ No newline at end of file diff --git a/macos.local/.config/yabai b/macos.local/.config/yabai new file mode 120000 index 0000000..d2b69c5 --- /dev/null +++ b/macos.local/.config/yabai @@ -0,0 +1 @@ +../../common/.config/yabai
\ No newline at end of file diff --git a/macos.local/.gitconfig.org.gpg b/macos.local/.gitconfig.org.gpg new file mode 120000 index 0000000..b4b87c9 --- /dev/null +++ b/macos.local/.gitconfig.org.gpg @@ -0,0 +1 @@ +../common/.gitconfig.org.gpg
\ No newline at end of file diff --git a/macos.local/.gnupg/gpg-agent.org b/macos.local/.gnupg/gpg-agent.org new file mode 100644 index 0000000..8de64d2 --- /dev/null +++ b/macos.local/.gnupg/gpg-agent.org @@ -0,0 +1,6 @@ +#+title: GPG Agent Conf +Add =pinentry= program for Mac OS. + +#+begin_src conf :tangle ~/.gnupg/gpg-agent.conf + pinentry-program /opt/homebrew/bin/pinentry-mac +#+end_src diff --git a/macos.local/.local/bin/launcher.org b/macos.local/.local/bin/launcher.org new file mode 100755 index 0000000..f74d094 --- /dev/null +++ b/macos.local/.local/bin/launcher.org @@ -0,0 +1,13 @@ +#+title: Application Launcher Script + +Search several locations for applications with =choose=. +#+begin_src sh :tangle ~/.local/bin/launcher :mkdirp yes :tangle-mode o755 + #!/bin/sh + app="$(ls /Applications/ /Applications/Utilities/ /System/Applications/ /System/Applications/Utilities/ ~/Applications/ | grep '\.app$' | sed 's/\.app$//g' | choose -f "SauceCodePro Nerd Font" -s 15 -b ece0c9).app" +#+end_src + +Try opening the app in each location. +#+begin_src sh :tangle ~/.local/bin/launcher :mkdirp yes :tangle-mode o755 + open -n "$HOME/Applications/$app" || open -n "/Applications/$app" || open -n "/System/Applications/Utilities/$app" || open -n "/System/Applications/$app" || open -n "/Applications/Utilities/$app" + +#+end_src diff --git a/macos.local/.local/share/fonts b/macos.local/.local/share/fonts new file mode 120000 index 0000000..9ab89c4 --- /dev/null +++ b/macos.local/.local/share/fonts @@ -0,0 +1 @@ +../../../common/.local/share/fonts
\ No newline at end of file diff --git a/macos.local/.profile.org b/macos.local/.profile.org new file mode 120000 index 0000000..6341fcf --- /dev/null +++ b/macos.local/.profile.org @@ -0,0 +1 @@ +../common/.profile.org
\ No newline at end of file diff --git a/macos.local/.ssh/config.org b/macos.local/.ssh/config.org new file mode 100644 index 0000000..e78c4fb --- /dev/null +++ b/macos.local/.ssh/config.org @@ -0,0 +1,12 @@ +#+title: SSH Configuration +Keys should be added to the SSH agent. +#+begin_src conf :tangle ~/.ssh/config :mkdirp yes + Host * + UseKeychain yes + AddKeysToAgent yes + IdentityFile ~/.ssh/id_ed25519 + + Host aviary + HostName aviary.cs.umanitoba.ca + User janzenj2 +#+end_src diff --git a/macos.local/.wallpaper b/macos.local/.wallpaper new file mode 120000 index 0000000..ec41b94 --- /dev/null +++ b/macos.local/.wallpaper @@ -0,0 +1 @@ +../common/.wallpaper
\ No newline at end of file diff --git a/macos.local/.zshrc.org b/macos.local/.zshrc.org new file mode 120000 index 0000000..ccbdc43 --- /dev/null +++ b/macos.local/.zshrc.org @@ -0,0 +1 @@ +../common/.zshrc.org
\ No newline at end of file diff --git a/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org b/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org new file mode 100755 index 0000000..03c5152 --- /dev/null +++ b/macos.local/Applications/Emacs.app/Contents/MacOS/Emacs.org @@ -0,0 +1,9 @@ +#+title: Emacs Client Application + +#+begin_src sh :tangle ~/Applications/Emacs.app/Contents/MacOS/Emacs :mkdirp yes :tangle-mode o755 + #!/bin/sh + if ! ps -e | grep -q '[E]macs --bg-daemon'; then + /opt/homebrew/bin/emacs --daemon + fi + /opt/homebrew/bin/emacsclient -c &> /dev/null +#+end_src |