mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
multicolor: fs widget usage updated; #235
This commit is contained in:
parent
18918df4e9
commit
0e14c92e25
|
@ -95,7 +95,7 @@ local markup = lain.util.markup
|
||||||
-- Textclock
|
-- Textclock
|
||||||
os.setlocale(os.getenv("LANG")) -- to localize the clock
|
os.setlocale(os.getenv("LANG")) -- to localize the clock
|
||||||
local clockicon = wibox.widget.imagebox(theme.widget_clock)
|
local clockicon = wibox.widget.imagebox(theme.widget_clock)
|
||||||
local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M "))
|
local mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#ab7367", ">") .. markup("#de5e1e", " %H:%M "))
|
||||||
mytextclock.font = theme.font
|
mytextclock.font = theme.font
|
||||||
|
|
||||||
-- Calendar
|
-- Calendar
|
||||||
|
@ -126,7 +126,7 @@ local fsicon = wibox.widget.imagebox(theme.widget_fs)
|
||||||
theme.fs = lain.widget.fs({
|
theme.fs = lain.widget.fs({
|
||||||
notification_preset = { font = "xos4 Terminus 10", fg = theme.fg_normal },
|
notification_preset = { font = "xos4 Terminus 10", fg = theme.fg_normal },
|
||||||
settings = function()
|
settings = function()
|
||||||
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", fs_now.used .. "% "))
|
widget:set_markup(markup.fontfg(theme.font, "#80d9d8", string.format("%.1f", fs_now["/"].used) .. "% "))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue