From 94fba6481ad8c3646452fc5d605f22174c8d52ce Mon Sep 17 00:00:00 2001 From: Random936 Date: Sun, 29 Dec 2024 19:17:48 -0800 Subject: [PATCH] Bug fixes: mbsync path, ghostty new process --- dotfiles/.aerospace.toml | 11 ++++++++++- dotfiles/.mbsyncrc | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dotfiles/.aerospace.toml b/dotfiles/.aerospace.toml index 276458c..b949ae5 100644 --- a/dotfiles/.aerospace.toml +++ b/dotfiles/.aerospace.toml @@ -29,7 +29,16 @@ outer.right = 5 [mode.main.binding] # See: https://nikitabobko.github.io/AeroSpace/goodness#open-a-new-window-with-applescript -cmd-enter = 'exec-and-forget open -n -a "Ghostty"' +cmd-enter = '''exec-and-forget osascript << EOF +tell application "Ghostty" + if it is running then + activate + tell application "System Events" to keystroke "n" using {command down} + else + activate + end if +end tell +EOF''' cmd-shift-e = 'exec-and-forget /etc/profiles/per-user/*/bin/emacs' cmd-shift-f = 'exec-and-forget open -n -a "Google Chrome"' cmd-shift-d = 'exec-and-forget open -n -a "Discord"' diff --git a/dotfiles/.mbsyncrc b/dotfiles/.mbsyncrc index 5d1b1ee..f071bb1 100644 --- a/dotfiles/.mbsyncrc +++ b/dotfiles/.mbsyncrc @@ -1,9 +1,9 @@ IMAPAccount gmail Host imap.gmail.com User jadenprovost@gmail.com -PassCmd "bw --session $(cat $HOME/.bw_session) --nointeraction get password 'Emacs Gmail'" -SSLType IMAPS -SSLVersions TLSv1.2 +PassCmd "PATH=/opt/homebrew/bin:$PATH bw --session $(cat $HOME/.bw_session) --nointeraction get password 'Emacs Gmail'" +TLSType IMAPS +TLSVersions +1.2 AuthMechs PLAIN SystemCertificates no CertificateFile /etc/ssl/certs/ca-certificates.crt