LPHK icon indicating copy to clipboard operation
LPHK copied to clipboard

Launching Layout and Run minimized on Startup

Open Cesarsk opened this issue 4 years ago • 6 comments

Hello, nice project and congratulations for all the effort put into this.

Two silly things that may be useful and I couldn't find a way to do it..

  • How to load a layout on starting up a program?
  • How to run on startup the program minimized?

These two things may be very helpful since they're seamless so people don't have to do it manually every time they want to set up things.

Cesarsk avatar Nov 18 '20 18:11 Cesarsk

Autostart: https://github.com/nimaid/LPHK/issues/49 Auto layout loading: https://github.com/nimaid/LPHK/issues/65

duncte123 avatar Nov 19 '20 11:11 duncte123

Thank you for your answer.

Regarding Autostart, there's no way of running "minimized" which is what I specified. Working in the Startup folder works tho.

Regarding Auto Layout, it's still unclear to me how to load a default layout, the mentioned issue doesn't help much. Given a shortcut, you add --load and then? A path? A name? Where the file should be located?

I suggest an update of the README.md indicating instructions for the above.

Cesarsk avatar Nov 19 '20 12:11 Cesarsk

The auto load is not merged yet but it would work like this With a filename: it looks in the user_layouts folder With a path: it tries to load the path

duncte123 avatar Nov 19 '20 15:11 duncte123

Whenever that gets merged here's how to run it in the background fully versus just like minimized or in the taskbar image windows task scheduler albeit I can't get it to open after since its completely chucked into the background XD

G-Spawn avatar Nov 21 '20 12:11 G-Spawn

Thank you both.

That is interesting. I forked the project and I'm trying to implement both features in the project. I'll notify you eventually I succeed.

Cesarsk avatar Nov 21 '20 13:11 Cesarsk

Hello, it would be great if auto-load were implemented in a halfwaay user friendly fashion. I am unfamiliar with working with Python+UI+Windows, but would it not be easy to have small json file somewhere in Roaming that can hold some settings, including the last loaded layout, and wether or not to load it on startup?

Another feature I find would be great is the ability to minimize to the tray instead of the taskbar. That way one can still open the window easily when needed, but it doesn't clutter up valuable space in the taskbar when you don't.

mennowo avatar Oct 10 '22 08:10 mennowo