Free disk space widget for /home added.
This commit is contained in:
parent
4dc9d763ba
commit
55ff7d81ac
Binary file not shown.
After Width: | Height: | Size: 194 B |
|
@ -9,7 +9,7 @@ require("awful.autofocus")
|
|||
local wibox = require("wibox")
|
||||
-- Theme handling library
|
||||
local beautiful = require("beautiful")
|
||||
beautiful.init("/home/rat/.config/awesome/themes/default/theme.lua")
|
||||
-- beautiful.init("/home/kolan/.config/awesome/themes/default/theme.lua")
|
||||
-- Notification library
|
||||
local naughty = require("naughty")
|
||||
local menubar = require("menubar")
|
||||
|
|
2
rc.lua
2
rc.lua
|
@ -277,6 +277,8 @@ for s = 1, screen.count() do
|
|||
--right_layout:add(spacer)
|
||||
right_layout:add(memicon)
|
||||
right_layout:add(mem)
|
||||
right_layout:add(diskicon)
|
||||
right_layout:add(disk)
|
||||
--right_layout:add(spacer)
|
||||
--right_layout:add(weatheric)
|
||||
--right_layout:add(weather)
|
||||
|
|
|
@ -110,7 +110,8 @@ theme.awesome_icon = home_path .. '.config/awesome/themes/default/icon/awesome16
|
|||
theme.arch_icon = home_path .. '.config/awesome/themes/default/icon/Arch.png'
|
||||
|
||||
-- {{{ Widgets
|
||||
theme.widget_disk = awful.util.getdir("config") .. "/themes/default/widgets/disk.png"
|
||||
-- theme.widget_disk = awful.util.getdir("config") .. "/themes/default/widgets/disk.png"
|
||||
theme.widget_disk = "/home/kolan/.config/awesome/Icons/16x16/hdd_clear.png"
|
||||
theme.widget_cpu = awful.util.getdir("config") .. "/themes/default/widgets/cpu.png"
|
||||
theme.widget_ac = awful.util.getdir("config") .. "/themes/default/widgets/ac.png"
|
||||
theme.widget_acblink = awful.util.getdir("config") .. "/themes/default/widgets/acblink.png"
|
||||
|
|
9
wi.lua
9
wi.lua
|
@ -173,6 +173,15 @@ memicon:set_image(beautiful.widget_ram)
|
|||
mem = wibox.widget.textbox()
|
||||
vicious.register(mem, vicious.widgets.mem, " $1/$5% ", 2)
|
||||
-- End Mem }}}
|
||||
|
||||
-- {{{ Start Mem
|
||||
diskicon = wibox.widget.imagebox()
|
||||
diskicon:set_image(beautiful.widget_disk)
|
||||
--
|
||||
disk = wibox.widget.textbox()
|
||||
vicious.register(disk, vicious.widgets.fs, "${/home avail_gb}Gb ", 15)
|
||||
-- End Mem }}}
|
||||
|
||||
--
|
||||
-- {{{ Start Gmail
|
||||
--mailicon = wibox.widget.imagebox(beautiful.widget_mail)
|
||||
|
|
Loading…
Reference in New Issue