-
-
Notifications
You must be signed in to change notification settings - Fork 634
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
Executing shell script with command not working #381
Comments
This really isn't an issue with yabai. Did you consider looking at the stdout / stderr of the parent process to see why and where this fails? Side note: If your script is named "refresh-ubersicht", then |
don't know enough about system stuff to even know what stdout or stderr is, will look into it.
how? its a shell script not an actively running app. |
what am I doing wrong with syntactically? yabai -m signal --add event=space_changed action="osascript -e 'tell application $(ps ax | grep sicht | awk '{print $5}' | head -1 | cut -d/ -f3 | cut -d. -f1) to refresh'"` trying to get the following working: # refresh primary display workspaces
yabai -m signal --add event=space_changed \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"nibar-spaces-primary-jsx\"'" |
I suggest reading up on how to refresh individual Übersicht widgets using AppleScript, and discussing further in the repository for the bar you're using. There is no concise question in this thread about yabai, and it looks like the troubles you're having are not related to yabai either. |
first attempt (not working)
second attempt (not working)
refresh-ubersicht.sh (chmod +x)
command 1 (not working):
alt - x : '/Users/username/.dotfiles/yabai/refresh-ubersicht.sh'
command 2 (not working):
alt - x : '~/.dotfiles/yabai/refresh-ubersicht.sh'
command 3 (not working):
alt - x : /Users/username/.dotfiles/yabai/refresh-ubersicht.sh
command 4 (not working):
alt - x : ~/.dotfiles/yabai/refresh-ubersicht.sh
zsh alias (working)
The text was updated successfully, but these errors were encountered: