Skip to content

Commit

Permalink
Update existing extension: Spaces (#2209)
Browse files Browse the repository at this point in the history
* add commands for stripe

* fix author

* fix author

* fix author

* fixes using prettier

* Fix text based on documentation

* Fix text based on documentation

* Add new extension

* Add new extension

* fix using prettier

* Update extensions/quicktime/package.json

Co-authored-by: Per Nielsen Tikær <per@tikaer.dk>

* Update extensions/quicktime/package.json

Co-authored-by: Per Nielsen Tikær <per@tikaer.dk>

* Update extensions/quicktime/package.json

Co-authored-by: Per Nielsen Tikær <per@tikaer.dk>

* added category, screenshot and changelog

* added category, screenshot and changelog

* added category, screenshot and changelog

* added new command

* fix with prettier

* fix command name

* fix command name

* Update extensions/xcode/package.json

* Update extensions/xcode/src/delete-unsupported-simulators.command.ts

* new extension

* added new icons

* Dock: Remove placeholder icon

* new extension

* add changelog

* remove old icon

* new extension

* new update

* Update CHANGELOG.md

* Update package.json

* Removed out commented code.

* Added keywords

* Update CHANGELOG.md

* new extension

* improve

* Update CHANGELOG.md

* new extension

* Update package.json

* Update package.json

* Update checkInstall.ts

* new command

* new command

* fixes

* fixes

* fixes

* add screenshots

* Update extensions/spaces/CHANGELOG.md

Co-authored-by: Daniel Sequeira <daniel@raycast.com>

* remove screenshots

* Update CHANGELOG.md

* Update CHANGELOG.md

* add new command

Co-authored-by: Per Nielsen Tikær <per@tikaer.dk>
Co-authored-by: Sorin Muntean <sxn@users.noreply.github.com>
Co-authored-by: mattisssa <kolevanartem@gmail.com>
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
Co-authored-by: raycastbot <bot@raycast.com>
Co-authored-by: Daniel Sequeira <daniel@raycast.com>
  • Loading branch information
7 people authored Jul 8, 2022
1 parent 5309d26 commit 3b276b0
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 3 deletions.
5 changes: 5 additions & 0 deletions extensions/spaces/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Spaces Changelog

## [New Additions] - 2022-07-08

- A new command "Stop Space" has been introduced that allows you to stop any space that is active.
- Bug fixes.

## [New Additions] - 2022-06-23

In this extension, a new command has been introduced that allows you to access all of your workspaces created from the app directly in Raycast.
Expand Down
4 changes: 2 additions & 2 deletions extensions/spaces/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Spaces

Spaces - It's time to reclaim your desktop on macOS.
Spaces - It's time to declutter and reclaim your desktop on macOS.

You need [this app](https://spacesformac.xyz/) to make the extension work and it should be running on your macOS menu bar.
You need [this app](https://bit.ly/3RcBDOx) to make the extension work and it should be running on your macOS menu bar.
7 changes: 7 additions & 0 deletions extensions/spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
"subtitle": "Spaces",
"description": "It shows list of spaces available from your spaces app.",
"mode": "view"
},
{
"name": "stop-space",
"title": "Stop Space",
"subtitle": "Spaces",
"description": "It stops the space if it is active.",
"mode": "no-view"
}
],
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/spaces/src/checkInstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { getApplications } from "@raycast/api";
export async function isSpacesInstalled() {
const applications = await getApplications();

return applications.some(({ bundleId }) => bundleId === "com.pradeepb28.spacesforraycast");
return applications.some(({ bundleId }) => bundleId === "com.pradeepb28.spacesformacos");
}
13 changes: 13 additions & 0 deletions extensions/spaces/src/stop-space.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import open from "open";
import { closeMainWindow, showHUD } from "@raycast/api";
import { isSpacesInstalled } from "./checkInstall";

export default async () => {
if (await isSpacesInstalled()) {
const url = "spaces://stop";
open(url);
await closeMainWindow();
} else {
await showHUD("Spaces app is not installed");
}
};

0 comments on commit 3b276b0

Please sign in to comment.