hyperterm-summon icon indicating copy to clipboard operation
hyperterm-summon copied to clipboard

FR: start minimalized option

Open mwoz123 opened this issue 3 years ago • 6 comments

  • [X] I am on the latest hyperterm-summon version
  • [X] 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.

mwoz123 avatar Apr 30 '22 10:04 mwoz123

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.

dcalhoun avatar May 01 '22 13:05 dcalhoun

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

mwoz123 avatar Jun 04 '22 14:06 mwoz123

@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?

mwoz123 avatar Jul 26 '22 06:07 mwoz123

@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! 🙇🏻

dcalhoun avatar Jul 26 '22 12:07 dcalhoun

https://github.com/soutar/hyperterm-summon/pull/78 here it is

mwoz123 avatar Jul 26 '22 20:07 mwoz123

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: ['xdotool key ctrl+F12' ]

where ctrl+F12 is my keybinding for show/hide hyper

mwoz123 avatar Jan 16 '24 22:01 mwoz123