diff options
Diffstat (limited to 'buttons.lua')
-rw-r--r-- | buttons.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/buttons.lua b/buttons.lua index 8b4a867..ff87aae 100644 --- a/buttons.lua +++ b/buttons.lua @@ -1,6 +1,6 @@ local awful = require("awful") local gears = require("gears") -local volume_control = require("widgets.pavolctld") +local pavolctld = require("lib.pavolctld") local super = "Mod4" local alt = "Mod1" @@ -22,7 +22,8 @@ client_buttons = gears.table.join( -- wibar widgets layout_buttons = gears.table.join( - awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused().tags[0]) end) + awful.button({ }, 1, function() awful.layout.inc(1, awful.screen.focused().tags[0]) end), + awful.button({ }, 2, function() if client.focus and not client.focus.prevent_kill then client.focus:kill() end end) ) taglist_buttons = gears.table.join( @@ -42,7 +43,6 @@ tasklist_buttons = gears.table.join( ) volume_buttons = gears.table.join( - awful.button({ }, 4, function() volume_control.volume_inc(5) end), - awful.button({ }, 5, function() volume_control.volume_dec(5) end) + awful.button({ }, 4, function() pavolctld.volume_inc(5) end), + awful.button({ }, 5, function() pavolctld.volume_dec(5) end) ) - |