From 8c2d1c7a400041cfee776ae5924a0d36332336d4 Mon Sep 17 00:00:00 2001 From: Mid Favila Date: Tue, 6 Jul 2021 00:38:36 -0300 Subject: [PATCH] Fix the time function in bar.sh. --- misc/bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/bar.sh b/misc/bar.sh index 851df6a..aee7694 100755 --- a/misc/bar.sh +++ b/misc/bar.sh @@ -4,7 +4,7 @@ FXDE_DIR=/home/midfavila/.config/fxde tme() #Display current time in 24h notation { - date|sed -ne 's/ */ /gp'|cut -d ' ' -f4|sed -ne 's/\([0-9][0-9]\)"\([0-9][0-9]\).*/\1\2/p' + date|sed -ne 's/ */ /gp'|cut -d ' ' -f4|sed -ne 's/\([0-9][0-9]\):\([0-9][0-9]\).*/\1\2/p' } pwr() #Display current battery capacity and whether we're discharging or not.