Initial Commit

This commit is contained in:
2021-04-26 11:20:41 +03:00
commit 5a99cb9e82
125 changed files with 6148 additions and 0 deletions

12
widget/storage.lua Normal file
View File

@@ -0,0 +1,12 @@
local wibox = require('wibox')
local watch = require('awful.widget.watch')
local beautiful = require('beautiful')
local storage = wibox.widget.textbox()
storage.font = beautiful.font
watch('bash -c "df -h $HOME | awk \'/[0-9]/ {print $2-$3}\'"', 30, function(_, stdout)
storage.text = stdout
end)
return storage