root-tail bar

This commit is contained in:
Berserk2046 2022-10-24 16:22:16 -05:00
parent 30e217876c
commit 5049a345a2
2 changed files with 12 additions and 0 deletions

2
root-tail/bar Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
root-tail -g 1366x13+0+0 -color '#ffffff' --reload 1 "barinfo" /tmp/barinfo

10
root-tail/barinfo Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
vol=$(pamixer --get-volume)
bat=$(battery)
dat=$(date +%H:%M)
output(){
echo "[$bat] - [%$vol] - [$dat]"
}
echo $(output) > /tmp/barinfo