15 lines
878 B
Markdown
15 lines
878 B
Markdown
|
|
# budget
|
||
|
|
|
||
|
|
Resource limits for desktop apps and terminal workloads. Requires Linux, cgroup v2, a systemd user session, and Go 1.26+.
|
||
|
|
|
||
|
|
Copy `profiles.example.toml` to `~/.config/budget/profiles.toml` and edit limits, app IDs, and terminal prefixes.
|
||
|
|
|
||
|
|
| Action | Command |
|
||
|
|
| ------------------------------ | -------------------------------- |
|
||
|
|
| Install and apply | `./install.sh` |
|
||
|
|
| Apply configuration edits | `budget apply` |
|
||
|
|
| Show configuration | `budget status` |
|
||
|
|
| Launch with a profile | `budget run compute -- COMMAND` |
|
||
|
|
| Override a running app or unit | `budget set unrestricted TARGET` |
|
||
|
|
| Test | `go test -race ./...` |
|
||
|
|
| Lint | `golangci-lint run` |
|