Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Javascript widget for Übersicht to show available HD space
command: "df -Hl | grep 'disk1' | awk '{print $4\" used/\"$2 \" free (\"$5\" used )\"}'",
refreshFrequency: 60000000,
render: function (output) {
return "<div><h1>" + output + "</h1></div>";
style: " \n\
bottom: 300px \n\
left: 15px \n\
color: #fff \n\
font-family: 'Helvetica Neue' \n\
h1 \n\
display: block \n\
background: rgba(#000, 0.2) \n\
font-size: 18px \n\
font-weight: 300 \n\
padding: 4px 6px 4px 6px \n\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.