-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on macOS 14.0 #139
Comments
In macOS 13, |
@jie17 I've just tested done on macOS 14.0 and both |
I'm having the same issue on macOS 14.0 (23A344).
This gives empty result on my machine. EDIT: after reading the discussion again I found this works: diff --git a/conf.d/done.fish b/conf.d/done.fish
index 7a6cc23..d455fad 100644
--- a/conf.d/done.fish
+++ b/conf.d/done.fish
@@ -78,7 +78,7 @@ end
function __done_get_focused_window_id
if type -q lsappinfo
- lsappinfo info -only bundleID (lsappinfo front) | cut -d '"' -f4
+ lsappinfo info -only bundleID (lsappinfo front | string replace ASN:0x0- 0x) | cut -d '"' -f4
else if test -n "$SWAYSOCK"
and type -q jq
swaymsg --type get_tree | jq '.. | objects | select(.focused == true) | .id' |
@kidonng your proposal works in macOS 13, so we could possibly go with that. I wonder if all apps start with the
Thanks! |
Both commands return nothing in my environment. Also, by calling |
Fixed in v1.17.1 |
This version was tested in macOS 13 and 14. Fixes franciscolourenco#139
I'm not sure if the specs of
lsappinfo
has changed or not.However, in macOS 14.0,
lsappinfo front
returns something likeASN:0x0-14b14b:
.To get the bundle id, the command should be
lsappinfo info -only bundleId 0x14b14b | cut -d '"' -f4
.lsappinfo info -only bundleID (lsappinfo front) | cut -d '"' -f4
is not working.The text was updated successfully, but these errors were encountered: