Closed sampaio23 closed 4 years ago
Hi!
Suppose I have a script in which I create some modules, like:
volume() { echo "something" } clock() { echo "date +%H:%M:%S" } ip4addr() { echo "something else" }
and I want to put them in my bar, like:
while true; do BAR_INPUT="$(ip4addr) | Volume: $(volume) | $(clock)" echo $BAR_INPUT sleep 1000 done
In this case:
Is there a way to do this?
Thanks in advance! Best regards!
You could take a look at Captain for some advanced shell script that does just that.
Hi!
Suppose I have a script in which I create some modules, like:
and I want to put them in my bar, like:
In this case:
Is there a way to do this?
Thanks in advance! Best regards!