From fe52291edaf95653de045e3b6cada967d62a53b4 Mon Sep 17 00:00:00 2001 From: Narvin Singh Date: Tue, 26 Oct 2021 09:18:04 -0400 Subject: [PATCH] Feat: Example to update all daemons --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7442b41..aa14334 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,8 @@ Then schedule the CPU and memory usage to be updated every 5 seconds. avds 'cpu mem' 5000 true & ``` -Finally, you can add these commmands to your volume and brightness keybindings -to update the status when those keys are pressed. Note that these jobs don't +You can add these commmands to your volume and brightness keybindings to +update the status when those keys are pressed. Note that these jobs don't need to be backgrounded since they run immediately and exit. ```Shell @@ -76,6 +76,15 @@ avds vol-amixer avds bl ``` +In case you have multiple daemons running, e.g., in different login sessions, +you can update them all simultaneously. This would have all running daemons +update the volume and backlight sections of their statuses at once. + +``Shell +avds '>>* vol-amixer' +avds '>>* bl' +``` + You can also bind keys to commands like those in the `cmd` directory to perform actions and also update the status bar. For instance, you can bind keys to these commands to control the backlight and volume while also updating