an example using SoX/play
This commit is contained in:
parent
5f18ecf6fc
commit
14945af56e
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ duplicated across remaining groups.
|
||||||
* Notify the desktop every time a user logs in or out:
|
* Notify the desktop every time a user logs in or out:
|
||||||
`tail -n 2 -f /var/log/auth.log | paternoster --group ".*session (opened|closed) for user ([^\s]+)\s*" "notify-send '%s %s'"`
|
`tail -n 2 -f /var/log/auth.log | paternoster --group ".*session (opened|closed) for user ([^\s]+)\s*" "notify-send '%s %s'"`
|
||||||
|
|
||||||
|
* Play a sound corresponding to the status of the battery every time it is updated
|
||||||
|
`tail -f battery-stats | paternoster --group "^[0-9]{7}([0-9]{3})" "play -n synth sin %s trim 0 0.05"
|
||||||
|
|
||||||
## CREDITS
|
## CREDITS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue