Disabled volume and brightness popups

master
mark 2023-09-03 09:27:26 -07:00
parent e78351850e
commit c38530d5a7
4 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ return gears.table.join(
awful.key( {}, "XF86MonBrightnessUp",
function ()
backlight.backlight_up(config.backlight.button_step)
awesome.emit_signal("module::backlight:popup_show")
--awesome.emit_signal("module::backlight:popup_show")
end,
{
description = "Raise brightness",
@ -15,7 +15,7 @@ return gears.table.join(
awful.key( {}, "XF86MonBrightnessDown",
function ()
backlight.backlight_down(config.backlight.button_step)
awesome.emit_signal("module::backlight:popup_show")
--awesome.emit_signal("module::backlight:popup_show")
end,
{
description = "Lower brightness",

View File

@ -21,12 +21,12 @@ widget.widget = wibox.widget {
widget.widget:connect_signal("mouse::enter", function(result)
widget.widget.bg = beautiful.color.bar.hover_bg
awesome.emit_signal("module::backlight:popup_show_stay")
--awesome.emit_signal("module::backlight:popup_show_stay")
end)
widget.widget:connect_signal("mouse::leave", function(result)
widget.widget.bg = beautiful.color.transparent
awesome.emit_signal("module::backlight:popup_show")
--awesome.emit_signal("module::backlight:popup_show")
end)
widget.widget:connect_signal("button::press",
@ -39,7 +39,7 @@ widget.widget:connect_signal("button::press",
backlight.backlight_down(config.backlight.scroll_step)
end
awesome.emit_signal("module::backlight:popup_show_stay")
--awesome.emit_signal("module::backlight:popup_show_stay")
end
)

View File

@ -4,7 +4,7 @@ return gears.table.join(
awful.key( {}, "XF86AudioRaiseVolume",
function ()
volume.volume_up(config.volume.button_step)
awesome.emit_signal("module::volume:popup_show")
--awesome.emit_signal("module::volume:popup_show")
end,
{
description = "Volume up",
@ -15,7 +15,7 @@ return gears.table.join(
awful.key( {}, "XF86AudioLowerVolume",
function ()
volume.volume_down(config.volume.button_step)
awesome.emit_signal("module::volume:popup_show")
--awesome.emit_signal("module::volume:popup_show")
end,
{
description = "Volume down",
@ -26,7 +26,7 @@ return gears.table.join(
awful.key( {}, "XF86AudioMute",
function ()
volume.toggle_mute()
awesome.emit_signal("module::volume:popup_show")
--awesome.emit_signal("module::volume:popup_show")
end,
{
description = "Mute",

View File

@ -21,12 +21,12 @@ widget.widget = wibox.widget {
widget.widget:connect_signal("mouse::enter", function(result)
widget.widget.bg = beautiful.color.bar.hover_bg
awesome.emit_signal("module::volume:popup_show_stay")
--awesome.emit_signal("module::volume:popup_show_stay")
end)
widget.widget:connect_signal("mouse::leave", function(result)
widget.widget.bg = beautiful.color.transparent
awesome.emit_signal("module::volume:popup_show")
--awesome.emit_signal("module::volume:popup_show")
end)
widget.widget:connect_signal("button::press",
@ -44,7 +44,7 @@ widget.widget:connect_signal("button::press",
elseif (button == 5) then
volume.volume_down(config.volume.scroll_step)
end
awesome.emit_signal("module::volume:popup_show_stay")
--awesome.emit_signal("module::volume:popup_show_stay")
end
)