repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d26c31
)
free space in bar
author
Mart Lubbers
<mart@martlubbers.net>
Thu, 28 Jun 2018 10:20:02 +0000
(12:20 +0200)
committer
Mart Lubbers
<mart@martlubbers.net>
Thu, 28 Jun 2018 10:20:02 +0000
(12:20 +0200)
x/.local/bin/bar
patch
|
blob
|
history
diff --git
a/x/.local/bin/bar
b/x/.local/bin/bar
index
ddff365
..
8d8d053
100755
(executable)
--- a/
x/.local/bin/bar
+++ b/
x/.local/bin/bar
@@
-1,3
+1,4
@@
#!/bin/sh
-echo -n \
- $(date +"%Y-%m-%d %H:%M:%S")
+echo \
+ "$(date +"%Y-%m-%d %H:%M:%S")"\
+ " $(df -h | grep '/$' | awk '{print $4"/"$2}')"