From 7e77b603ade5982f17c2bdf622f4059bf001fcb8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 18 Apr 2024 10:30:15 +0100 Subject: (Scripts)~datetime script uses different icon --- Scripts/.local/scripts/status/datetime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/status') diff --git a/Scripts/.local/scripts/status/datetime b/Scripts/.local/scripts/status/datetime index c688bb5..65ebe14 100755 --- a/Scripts/.local/scripts/status/datetime +++ b/Scripts/.local/scripts/status/datetime @@ -1,2 +1,2 @@ #!/usr/bin/env bash -echo " $(date +'%A %d %b %R')" +echo " $(date +'%A %d %b %R')" -- cgit v1.2.3-13-gbd6f From c76475e427c788ae24e12e283cb07607f89c6526 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 19 Apr 2024 04:39:42 +0530 Subject: (Emacs/*)~cleaning up --- Scripts/.local/scripts/status/memory | 2 +- Scripts/.local/scripts/status/volume | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Scripts/.local/scripts/status') diff --git a/Scripts/.local/scripts/status/memory b/Scripts/.local/scripts/status/memory index fae4dea..2d1c328 100755 --- a/Scripts/.local/scripts/status/memory +++ b/Scripts/.local/scripts/status/memory @@ -11,4 +11,4 @@ then emacs="N/A" fi -echo "⾎ $(printf "%dMB" $used) $value% ->  $emacs" +echo "⾝ $(printf "%dMB" $used) $value% -> $emacs" diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume index eedd657..4355094 100755 --- a/Scripts/.local/scripts/status/volume +++ b/Scripts/.local/scripts/status/volume @@ -1,2 +1,2 @@ #!/usr/bin/env bash -echo "" $(pamixer --get-volume-human) +echo " $(pamixer --get-volume-human)" -- cgit v1.2.3-13-gbd6f From ae73ed6dc63ad182ffcfecdf2a464bede4b33ff0 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 23 Apr 2024 17:06:01 +0530 Subject: (Scripts/status)~bluetooth-status now prints battery info if found --- Scripts/.local/scripts/status/bluetooth-status | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/status') diff --git a/Scripts/.local/scripts/status/bluetooth-status b/Scripts/.local/scripts/status/bluetooth-status index c34694c..6de5422 100755 --- a/Scripts/.local/scripts/status/bluetooth-status +++ b/Scripts/.local/scripts/status/bluetooth-status @@ -1,9 +1,15 @@ #!/usr/bin/env sh name=$(bluetoothctl info | grep "Name" | sed 's/.*Name: //') +battery=$(bluetoothctl info | grep "Battery" | sed 's/.*(//;s/)//') if [ ! "$name" ] then echo "" else - echo "" $name; + echo -n "" $name; + if [ "$battery" ] + then + echo -n " ($battery%)" + fi + echo "" fi -- cgit v1.2.3-13-gbd6f