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.