fixes focus issue when starting emacsclient via raycast
This commit is contained in:
parent
0209b67930
commit
bf831df642
3 changed files with 7 additions and 0 deletions
2
.dir-locals.el
Normal file
2
.dir-locals.el
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
;; Global options
|
||||||
|
((nil . ((compile-command . "sudo just mre"))))
|
||||||
|
|
@ -64,6 +64,7 @@
|
||||||
# Packages necessary for vterm
|
# Packages necessary for vterm
|
||||||
cmake
|
cmake
|
||||||
libtool
|
libtool
|
||||||
|
emacs-lsp-booster
|
||||||
];
|
];
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
|
|
|
||||||
|
|
@ -14,3 +14,7 @@
|
||||||
# @raycast.authorURL https://raycast.com/dnsc
|
# @raycast.authorURL https://raycast.com/dnsc
|
||||||
|
|
||||||
emacsclient -a "" -c
|
emacsclient -a "" -c
|
||||||
|
gsleep 1s
|
||||||
|
|
||||||
|
client_window=$(aerospace list-windows --workspace focused | gcut -d " " -f1)
|
||||||
|
aerospace focus --window-id $client_window
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue