mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
lain: new commit
This commit is contained in:
parent
2ace94164a
commit
55852641cf
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit 62d5cba13042914027e33814c8fc03906b89aa6b
|
Subproject commit e72deb9de709a9adaa3a239a4e18ed641538de6e
|
|
@ -165,7 +165,7 @@ fshome = lain.widgets.fs({
|
||||||
|
|
||||||
if used >= 90 then
|
if used >= 90 then
|
||||||
fs_header = " Hdd "
|
fs_header = " Hdd "
|
||||||
fs_p = used
|
fs_p = fs_now.used
|
||||||
end
|
end
|
||||||
|
|
||||||
widget:set_markup(markup(gray, fs_header) .. fs_p)
|
widget:set_markup(markup(gray, fs_header) .. fs_p)
|
||||||
|
|
|
@ -165,9 +165,9 @@ fshome = lain.widgets.fs({
|
||||||
fs_header = ""
|
fs_header = ""
|
||||||
fs_p = ""
|
fs_p = ""
|
||||||
|
|
||||||
if used >= 90 then
|
if fs_now.used >= 90 then
|
||||||
fs_header = " Hdd "
|
fs_header = " Hdd "
|
||||||
fs_p = used
|
fs_p = fs_now.used
|
||||||
end
|
end
|
||||||
|
|
||||||
widget:set_markup(markup(gray, fs_header) .. markup(white, fs_p))
|
widget:set_markup(markup(gray, fs_header) .. markup(white, fs_p))
|
||||||
|
|
|
@ -72,7 +72,7 @@ browser = "dwb"
|
||||||
browser2 = "iron"
|
browser2 = "iron"
|
||||||
gui_editor = "gvim"
|
gui_editor = "gvim"
|
||||||
graphics = "gimp"
|
graphics = "gimp"
|
||||||
musicplr = terminal .. " -e ncmpcpp "
|
musiplr = terminal .. " -e ncmpcpp "
|
||||||
|
|
||||||
local layouts = {
|
local layouts = {
|
||||||
awful.layout.suit.floating,
|
awful.layout.suit.floating,
|
||||||
|
|
|
@ -133,7 +133,7 @@ yawn = lain.widgets.yawn(123456, {
|
||||||
fsicon = wibox.widget.imagebox(beautiful.widget_fs)
|
fsicon = wibox.widget.imagebox(beautiful.widget_fs)
|
||||||
fswidget = lain.widgets.fs({
|
fswidget = lain.widgets.fs({
|
||||||
settings = function()
|
settings = function()
|
||||||
widget:set_markup(markup("#80d9d8", used .. "% "))
|
widget:set_markup(markup("#80d9d8", fs_now.used .. "% "))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -191,7 +191,7 @@ tempwidget = lain.widgets.temp({
|
||||||
fsicon = wibox.widget.imagebox(beautiful.widget_hdd)
|
fsicon = wibox.widget.imagebox(beautiful.widget_hdd)
|
||||||
fswidget = lain.widgets.fs({
|
fswidget = lain.widgets.fs({
|
||||||
settings = function()
|
settings = function()
|
||||||
widget:set_text(" " .. used .. "% ")
|
widget:set_text(" " .. fs_now.used .. "% ")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
fswidgetbg = wibox.widget.background(fswidget, "#313131")
|
fswidgetbg = wibox.widget.background(fswidget, "#313131")
|
||||||
|
|
|
@ -176,9 +176,9 @@ fshome = lain.widgets.fs({
|
||||||
hdd = ""
|
hdd = ""
|
||||||
p = ""
|
p = ""
|
||||||
|
|
||||||
if used >= 90 then
|
if fs_now.used >= 90 then
|
||||||
hdd = " Hdd "
|
hdd = " Hdd "
|
||||||
p = used .. " "
|
p = fs_now.used .. " "
|
||||||
end
|
end
|
||||||
|
|
||||||
widget:set_markup(markup(gray, hdd) .. markup(white, p))
|
widget:set_markup(markup(gray, hdd) .. markup(white, p))
|
||||||
|
|
Loading…
Reference in a new issue