Update readme
This commit is contained in:
10
README.md
10
README.md
@@ -38,19 +38,11 @@ swayidle-ctrl -off
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Download the source code or clone the repository (if applicable).
|
1. Download the source code or clone the repository (if applicable).
|
||||||
2. Run `go build` to create the executable file (`swayidle-manager`).
|
2. Run `go build` to create the executable file (`swayidle-ctrl`).
|
||||||
3. Place the executable in a directory accessible from your PATH environment variable.
|
3. Place the executable in a directory accessible from your PATH environment variable.
|
||||||
|
|
||||||
**Alternatively, you can run the application directly from the source code using `go run main.go`.**
|
**Alternatively, you can run the application directly from the source code using `go run main.go`.**
|
||||||
|
|
||||||
### Dependencies
|
|
||||||
|
|
||||||
This application requires the following Go package:
|
|
||||||
|
|
||||||
* `github.com/shirou/gopsutil/process` - for process management functionalities.
|
|
||||||
|
|
||||||
**Make sure you have these dependencies installed before running the application.**
|
|
||||||
|
|
||||||
### Additional Notes
|
### Additional Notes
|
||||||
|
|
||||||
* This application uses `sh -c` to execute the swayidle command. You might need to adjust this based on your specific setup.
|
* This application uses `sh -c` to execute the swayidle command. You might need to adjust this based on your specific setup.
|
||||||
|
|||||||
Reference in New Issue
Block a user