2024-03-30 19:44:17 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
. "$(dirname "$0")/track_anything.sh"
|
2024-03-30 14:30:52 +00:00
|
|
|
|
2024-03-30 17:04:53 +00:00
|
|
|
poll() {
|
2024-03-30 19:44:17 +00:00
|
|
|
pamixer --get-volume
|
2024-03-30 17:04:53 +00:00
|
|
|
}
|
|
|
|
|
2024-03-30 19:44:17 +00:00
|
|
|
on_volume
|
|
|
|
output_integer
|
|
|
|
poll_interval 10
|
|
|
|
rate_limit .1
|
|
|
|
|
|
|
|
start "$@"
|