yoake

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

README

Yoake - A Simple Tool for start up applications

Little cli program for easy and universal application start on login for windows and linux.

Yoake (夜明け) is a noun meaning the dawn in Japanese. This project get started in the early days of the windows operating system.

Install

go install github.com/mitsimi/yoake@latest

Or download the latest release from GitHub Releases and put it into %USERPROFILE%/go/bin for Windows or $HOME/go/bin for Linux. Make sure the directory is added to your PATH. Then you can use yoake command to use the application.


DISCLAIMER

The Linux version depends on the Desktop Environment autostarting applications inside the ~/.config/autostart directory. If your Desktop Environment does not use this directory, you may not be able to use the Linux version without any own work.

If you are using a Window Manager, you must call the program in the init script.


Platforms Supported

  • Windows
  • Linux

Features

  • Initialize yoake
  • Add an application to startup
  • Remove an application from startup
  • List all applications in startup
  • List information of a specific application
  • Enable or disable an application from startup
  • Enable or disable yoake startup
  • Show current set delay for startup applications
  • Change delay for startup applications

Usage

Available Commands
    yoake help

    yoake setup

    yoake add <app_name> <app_path>
    yoake remove <app_name>

    yoake show [app_name]

    yoake enable [app_name]
    yoake disable [app_name]

    yoake delay [delay_time]

Setup the autostart on login

init is an alias for setup

$ yoake setup
$ yoake init
Add an application to startup
$ yoake add <app_name> <app_path>
Remove an application from startup

rm is an alias for remove

$ yoake remove <app_name>
$ yoake rm <app_name>
List all applications in startup

show is aliased as list, ls

$ yoake show

is equivalent to

$ yoake show all
$ yoake list
$ yoake ls
List information about a specific application
$ yoake show <app_name>
$ yoake list <app_name>
$ yoake ls <app_name>
Enable yoake startup

en is an alias for enable

$ yoake enable
$ yoake en
Disable yoake startup

dis is an alias for disable

$ yoake disable
$ yoake dis
Enable an application from startup

en is an alias for enable

$ yoake enable [app_name]
$ yoake en [app_name]
Disable an application from startup

dis is an alias for disable

$ yoake disable [app_name]
$ yoake dis [app_name]
Check current delay for startup

d is an alias for delay

$ yoake delay
Set new delay for startup

delay is in seconds.

$ yoake delay <delay_time>

Defaults


  • Delay is set to 10 seconds
  • Config file config.json is located in the standard location for config files of your operating system.
  • Log file startup.log is in the same directory as the config file.

Default location for config file and log file:

  • Windows: %AppData%
  • Linux: ~/.config

Example Config File


{
    "config": {
        "Enabled": true,
        "Delay": 10
    },
    "apps": {
        "app1": {
            "Enabled": true,
            "Path": "C:\\app1\\app1.exe"
        },
        "app2": {	
            "Enabled": false,
            "Path": "/usr/share/bin/app2"
        }
    }
}

LICENSE


Yoake is released under the GPL-3.0 license. See LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL