summaryrefslogtreecommitdiff
path: root/experiments/logout-widget/logout.lua
diff options
context:
space:
mode:
Diffstat (limited to 'experiments/logout-widget/logout.lua')
-rw-r--r--experiments/logout-widget/logout.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/experiments/logout-widget/logout.lua b/experiments/logout-widget/logout.lua
index 3b15274..c68506b 100644
--- a/experiments/logout-widget/logout.lua
+++ b/experiments/logout-widget/logout.lua
@@ -17,7 +17,6 @@ local fancybuttons = require("awesome-buttons.awesome-buttons")
local HOME_DIR = os.getenv("HOME")
local WIDGET_DIR = HOME_DIR .. '/.config/awesome/awesome-wm-widgets/experiments/logout-widget'
-local ICONS_DIR = WIDGET_DIR .. '/icons/'
local w = wibox {
@@ -39,7 +38,7 @@ local action = wibox.widget {
local function create_button(icon_name, action_name, color, onclick)
- local button = fancybuttons.with_icon{ type = 'basic', shape = 'rectangle', icon = icon_name, color = color, onclick = onclick }
+ local button = fancybuttons.with_icon{ type = 'basic', icon = icon_name, color = color, onclick = onclick }
button:connect_signal("mouse::enter", function(c) action:set_text(action_name) end)
button:connect_signal("mouse::leave", function(c) action:set_text(' ') end)
return button