raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.37k stars 3.07k forks source link

Move the workspace to the specified monitor #12382

Closed owenjuni closed 3 months ago

owenjuni commented 5 months ago

Extension

https://www.raycast.com/limonkufu/aerospace

Description

Similarly, I also hope to be able to assign the current workspace to a certain display through the Raycast script

#!/bin/bash

# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Aerospace 
# @raycast.mode compact
# @raycast.argument1 { "type": "text", "placeholder": "Workspace Name" }

# Optional parameters:
# @raycast.icon 🎬

echo "Running the aerospace CLI command..."
# aerospace workspace "$1"
# aerospace move-node-to-workspace "$1"
aerospace workspace-to-monitor-force-assignment "$1"

aerospace workspace-to-monitor-force-assignment "$1" This instruction is invalid

Who will benefit from this feature?

No response

Anything else?

No response

raycastbot commented 5 months ago

Thank you for opening this issue!

🔔 @limonkufu you might want to have a look.

💡 Author and Contributors commands The author and contributors of `limonkufu/aerospace` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue.
limonkufu commented 5 months ago

@raycastbot assign me

limonkufu commented 5 months ago

@owenjuni please see my other comment: https://github.com/raycast/extensions/issues/12381#issuecomment-2115129930

If this kind of workflow is what you would like (and I can see it might be helpful for one-shot things that you don't have a shortcut for). I can try to add that. Would that help?

raycastbot commented 4 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 3 months ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.