diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-17 22:48:47 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-17 22:48:47 -0600 |
commit | 1ad1e4120700148359b271566ca70aed7ae79321 (patch) | |
tree | 8a7955e5d40bcaf51a2ca2044637532dcf850341 /buttons.lua | |
parent | 25013359a29e76693e908af1395ae31b0cf15c26 (diff) | |
download | awesome-1ad1e4120700148359b271566ca70aed7ae79321.tar.xz awesome-1ad1e4120700148359b271566ca70aed7ae79321.zip |
pavolctld refactor and audio dropdown initial
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) ) - |