Skip to content
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

FR: start minimalized option #77

Open
2 tasks done
mwoz123 opened this issue Apr 30, 2022 · 6 comments
Open
2 tasks done

FR: start minimalized option #77

mwoz123 opened this issue Apr 30, 2022 · 6 comments

Comments

@mwoz123
Copy link
Contributor

mwoz123 commented Apr 30, 2022

  • I am on the latest hyperterm-summon version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Ubuntu 20.04
  • Hyper.app version: 3.2.3
  • hyperterm-summon version: hyperterm-summon (2.0.11)
  • Link of a Gist with the contents of your .hyper.js:
  • Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):

Issue

I've hyper in autostart. I would be great if it had option to already start minimalized.

Steps to Reproduce

N/A

Expected Result

1.start hyper app
2. hyper is starting but once ready is mimialized and can be restored with hotkey

Actual Result

hyper is starting in foreground.

@dcalhoun
Copy link
Collaborator

dcalhoun commented May 1, 2022

I think this is a great idea! Thanks for capturing it in an issue. 🙇🏻

I'd welcome a PR adding a hideOnLaunch configuration option. Test coverage for the new feature would be encouraged as well.

@mwoz123
Copy link
Contributor Author

mwoz123 commented Jun 4, 2022

I don't understand enough the code to do it:( not sure where it should happen and how...

@mwoz123
Copy link
Contributor Author

mwoz123 commented Jul 26, 2022

@dcalhoun I tried toggle(app) , hideWindows(app) in app.js applyConfog() and index.js onApp() and some other tries but none of them had an effect.
Any help?

@dcalhoun
Copy link
Collaborator

@dcalhoun I tried toggle(app) , hideWindows(app) in app.js applyConfog() and index.js onApp() and some other tries but none of them had an effect.
Any help?

Hey @mwoz123. 👋🏻 If you are willing to open a draft PR showcasing your explorations, I would be happy to review and provide feedback/guidance where I can. Your PR could included commented code you attempted and inline comments explaining the reason for the attempt and what outcome, if any, you observed from running the code. Communicating your exploration in this manner with a PR would help tremendously. Thanks! 🙇🏻

@mwoz123
Copy link
Contributor Author

mwoz123 commented Jul 26, 2022

#78 here it is

@mwoz123
Copy link
Contributor Author

mwoz123 commented Jan 16, 2024

My workaround for Ubuntu:

  1. install no overview at startup gnome extension
  2. install xdotool and hyper-startup plugin:
$ sudo apt install xdotool
$ hyper install hyper-startup
  1. add to hyper.js config file :
    commands: ["test $(cut -d '.' -f1 /proc/uptime) -lt 180 && xdotool key ctrl+F12" ]

it basicly runs the ctrl+F12 if it's <180second since linux current boot
where ctrl+F12 is my keybinding for show/hide hyper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants