hour display format changed

This commit is contained in:
Frank Villaro-Dixon 2013-07-07 15:06:43 +02:00
parent 83e2cce12b
commit 076593c902

View file

@ -49,7 +49,7 @@ case $1 in
;; ;;
"refresh") "refresh")
DATE=`date +"%A %d, %H:%M - %s"` DATE=`date +"%A %d, %Hh%M - %s"`
BATT_PCT=$(acpi -b | cut -d, -f2 | cut -d" " -f2) BATT_PCT=$(acpi -b | cut -d, -f2 | cut -d" " -f2)
BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2) BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2)
#BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' ) #BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' )