Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wybxc/background
Run a command line application in background, while displaying an icon in the system tray.
https://github.com/wybxc/background
tray
Last synced: about 1 month ago
JSON representation
Run a command line application in background, while displaying an icon in the system tray.
- Host: GitHub
- URL: https://github.com/wybxc/background
- Owner: Wybxc
- License: apache-2.0
- Created: 2024-04-17T16:54:16.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-09-09T11:39:27.000Z (4 months ago)
- Last Synced: 2024-09-09T13:52:18.856Z (4 months ago)
- Topics: tray
- Language: Rust
- Homepage:
- Size: 234 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Background
Run a command line application in background, while displaying an icon in the system tray.
## Usage
First, write a configuration file for the application you want to run in background. The configuration file is a JSON file with the following format:
```json
{
"executable": "command to run",
"args": ["list", "of", "arguments"],
"icon": "path to icon file",
}
```Then, start the application in background by running the following command:
```bash
background path/to/config.json
```Now, the application will run in background, and you will see an icon in the system tray. You can click on the icon to open a menu with options to restart or stop the application.
## TODO
- [ ] Check stdout and stderr of the application
- [ ] Multi-platform support (currently only works on Windows)## License
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.