1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-23 14:05:11 +00:00

Fixed filestorage widget

This commit is contained in:
7twin 2018-11-29 07:10:54 +00:00 committed by GitHub
parent 5481829112
commit a17f02b5c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,7 +229,7 @@ local tempicon = wibox.widget.imagebox(theme.widget_temp)
-- / fs -- / fs
local fsicon = wibox.widget.imagebox(theme.widget_hdd) local fsicon = wibox.widget.imagebox(theme.widget_hdd)
--[[ commented because it needs Gio/Glib >= 2.54 --[[ commented because it needs Gio/Glib >= 2.54
theme.fs = lain.widget.fs({ local fs = lain.widget.fs({
notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "xos4 Terminus 10" }, notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = "xos4 Terminus 10" },
settings = function() settings = function()
local fsp = string.format(" %3.2f %s ", fs_now["/"].free, fs_now["/"].units) local fsp = string.format(" %3.2f %s ", fs_now["/"].free, fs_now["/"].units)