Fix the time function in bar.sh.
This commit is contained in:
parent
a209ff1dc6
commit
8c2d1c7a40
@ -4,7 +4,7 @@ FXDE_DIR=/home/midfavila/.config/fxde
|
|||||||
|
|
||||||
tme() #Display current time in 24h notation
|
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.
|
pwr() #Display current battery capacity and whether we're discharging or not.
|
||||||
|
Loading…
Reference in New Issue
Block a user