Skip to content

feat(coffee): status command#9210

Merged
pernielsentikaer merged 10 commits intoraycast:mainfrom
erics118:coffee/status
Nov 14, 2023
Merged

feat(coffee): status command#9210
pernielsentikaer merged 10 commits intoraycast:mainfrom
erics118:coffee/status

Conversation

@erics118
Copy link
Contributor

@erics118 erics118 commented Nov 12, 2023

Description

made a status command to see the current caffeinate status
the menu bar command no longer has its subtitle update to show the status

Screencast

CleanShot 2023-11-11 at 23 48 58

CleanShot 2023-11-11 at 23 49 06

Checklist

const hasLaunchContext = props.launchContext?.caffeinated !== undefined;

const { isLoading, data, mutate } = useExec("ps aux | pgrep caffeinate", [], {
const { isLoading, data, mutate } = useExec("pgrep caffeinate", [], {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the original intention was for it to be ps aux | grep caffeinate, but pgrep caffeinate does the same thing.

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: coffee Issues related to the coffee extension labels Nov 12, 2023
@raycastbot
Copy link
Collaborator

raycastbot commented Nov 12, 2023

Thank you for your contribution! 🎉

🔔 @mooxl @bibixx @GastroGeek you might want to have a look.

@pernielsentikaer
Copy link
Collaborator

Hi @erics118 🔥

You're on fire! Thanks for another awesome update 🚀

I can't enable it from Menubar (anymore?) but only disable it, do you have the same experience?

@pernielsentikaer pernielsentikaer self-assigned this Nov 13, 2023
@erics118
Copy link
Contributor Author

Oops, weird bug with preventing the index command from calling itself. Fixed now

@raycastbot raycastbot added the OP is contributor The OP of the PR is a contributor of the extension label Nov 14, 2023
Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Looks good to me, approved 🔥

@pernielsentikaer pernielsentikaer merged commit e5681bd into raycast:main Nov 14, 2023
@raycastbot
Copy link
Collaborator

Published to the Raycast Store:
https://raycast.com/mooxl/coffee

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@erics118 erics118 deleted the coffee/status branch November 14, 2023 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension: coffee Issues related to the coffee extension extension fix / improvement Label for PRs with extension's fix improvements OP is contributor The OP of the PR is a contributor of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants