summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-04-22 14:08:11 +0000
committerShubham Saini <shubham6405@gmail.com>2020-04-22 14:08:11 +0000
commit46a02ee1d9885fc3c44889742cc512486a0a6a90 (patch)
treec63641bd77e0f6e705174268e53ef3806db67d7c /bin
parent1240ac35a4c62c487218501a905f4754adf65c65 (diff)
massive changes
Diffstat (limited to 'bin')
-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