diff --git a/plugins/storagestat.koplugin/main.lua b/plugins/storagestat.koplugin/main.lua index 2f8ed5723..41bad65d0 100644 --- a/plugins/storagestat.koplugin/main.lua +++ b/plugins/storagestat.koplugin/main.lua @@ -24,8 +24,8 @@ local StorageStat = WidgetContainer:new{ callback = function() local std_out = io.popen( "df -h | sed -r 's/ +/ /g' | grep " .. filter .. - " | cut -d ' ' -f 3,4,5,6 | " .. - "awk '{print $4 \" U\" $1 \" F\" $2 \" P\" $3}'" + " | cut -d ' ' -f 2,3,4,5 | " .. + "awk '{print \"Internal Storage: \\n Available: \" $3\"/\" $1 \"\\n Used: \" $4}'" ) local msg if std_out then