raycast / extensions

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

Add Additional Toggle #9837

Closed itsfatal closed 7 months ago

itsfatal commented 8 months ago

Extension

https://www.raycast.com/iamyeizi/toggle-menu-bar

Description

A toggle for never <-> full screen only would be a great addition. Iā€™m constantly toggling this when watching video or productivity work in full screen apps.

Who will benefit from this feature?

All users of the extensions.

Anything else?

No response

raycastbot commented 8 months ago

Thank you for opening this issue!

šŸ”” @iamyeizi you might want to have a look.

šŸ’” Author and Contributors commands The author and contributors of `iamyeizi/toggle-menu-bar` 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` Reopen the issue.
iamyeizi commented 7 months ago

soon šŸ¤ 

itsfatal commented 7 months ago

@iamyeizi i really hope we have the same definition of soon šŸ˜…

iamyeizi commented 7 months ago

very soon šŸ‘€

CleanShot 2024-01-31 at 2ā€Æ 01 53

itsfatal commented 7 months ago

Literally perfect

iamyeizi commented 7 months ago

@raycastbot close this issue

nileane commented 7 months ago

I just tried the updated extension, but it doesn't seem to work properly. The setting does change in System Settings but it doesn't take effect for already opened windows. I have to re-open current windows to be able to fullscreen them with the new menu bar visibility.

Is that expected? Is there a way to force the setting update?

itsfatal commented 7 months ago

@nileane it works perfect for me. Are you sure you have the automation enabled?

SCR-20240202-lyxn
nileane commented 7 months ago

Yep, it's enabled System Settings - 2024-02-02 aĢ€ 19 24@2x

Your extension does work to update the menu bar setting. But I have to re-open an app before I put it in fullscreen for it to take the updated setting into account.

itsfatal commented 7 months ago

It's actually @iamyeizi 's app, perhaps he can help here

iamyeizi commented 7 months ago

Hi @nileane šŸ‘‹šŸ½, that, I need to find out more about what else macOS does when applying the drop down options of "Automatically hide and show menu bar", the setting when changing it from Control Center I know it throws a trigger to the UI to refresh, I need to find out if it is possible to do this and if it is possible to do it through an app like Raycast.

As I only use Always > Full Screen Only, I don't have this problem.

I have to inform that momentarily it's necessary to make the change with the command before opening the app to put in full screen or if the command is applied afterwards, it's necessary to reopen the app, if using Never or On Desktop Only.