summaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local')
-rwxr-xr-xbin/.local/bin/statusbar12
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/.local/bin/statusbar b/bin/.local/bin/statusbar
index 020429e..31f9be0 100755
--- a/bin/.local/bin/statusbar
+++ b/bin/.local/bin/statusbar
@@ -14,12 +14,16 @@ bat() {
14} 14}
15 15
16dte() { 16dte() {
17 dte="$(date +"%A, %B %d")" 17 dte=$(date +"%A, %B %d")
18 time="$(date +"%l:%M %p")" 18 echo -e "+@fg=1;date+@fg=0; $dte "
19 echo -e "+@fg=1;date+@fg=0; $dte +@fg=1;time+@fg=0; $time" 19}
20
21tie() {
22 tme=$(date +"%I:%M %p")
23 echo -e "+@fg=1;time+@fg=0; $tme "
20} 24}
21 25
22while :; do 26while :; do
23 echo "$(vol) $(bat) $(dte)" 27 echo "$(vol) $(bat) $(tie) $(dte)"
24 sleep 2 28 sleep 2
25done 29done