summaryrefslogtreecommitdiff
path: root/fs-widget/fs-widget.lua
diff options
context:
space:
mode:
Diffstat (limited to 'fs-widget/fs-widget.lua')
-rw-r--r--fs-widget/fs-widget.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs-widget/fs-widget.lua b/fs-widget/fs-widget.lua
index 613c472..0c12a3a 100644
--- a/fs-widget/fs-widget.lua
+++ b/fs-widget/fs-widget.lua
@@ -6,8 +6,8 @@ local gears = require("gears")
local storage_bar_widget = {}
-local function worker(args)
- local args = args or {}
+local function worker(user_args)
+ local args = user_args or {}
local mounts = args.mounts or {'/'}
local timeout = args.timeout or 60
@@ -17,7 +17,8 @@ local function worker(args)
forced_width = 35,
paddings = 1,
margins = 4,
- border_width = 0.5,
+ border_width = 1,
+ border_radius = 2,
border_color = beautiful.fg_normal,
background_color = beautiful.bg_normal,
bar_border_width = 1,
@@ -61,8 +62,6 @@ local function worker(args)
offset = { y = 5 },
widget = {}
}
- popup:connect_signal("mouse::enter", function(c) is_update = false end)
- popup:connect_signal("mouse::leave", function(c) is_update = true end)
storage_bar_widget:buttons(
awful.util.table.join(