From 1ad1e4120700148359b271566ca70aed7ae79321 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 17 Nov 2024 22:48:47 -0600 Subject: pavolctld refactor and audio dropdown initial --- buttons.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'buttons.lua') 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) ) - -- cgit v1.2.3