Disabled volume and brightness popups
parent
e78351850e
commit
c38530d5a7
|
@ -4,7 +4,7 @@ return gears.table.join(
|
||||||
awful.key( {}, "XF86MonBrightnessUp",
|
awful.key( {}, "XF86MonBrightnessUp",
|
||||||
function ()
|
function ()
|
||||||
backlight.backlight_up(config.backlight.button_step)
|
backlight.backlight_up(config.backlight.button_step)
|
||||||
awesome.emit_signal("module::backlight:popup_show")
|
--awesome.emit_signal("module::backlight:popup_show")
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Raise brightness",
|
description = "Raise brightness",
|
||||||
|
@ -15,7 +15,7 @@ return gears.table.join(
|
||||||
awful.key( {}, "XF86MonBrightnessDown",
|
awful.key( {}, "XF86MonBrightnessDown",
|
||||||
function ()
|
function ()
|
||||||
backlight.backlight_down(config.backlight.button_step)
|
backlight.backlight_down(config.backlight.button_step)
|
||||||
awesome.emit_signal("module::backlight:popup_show")
|
--awesome.emit_signal("module::backlight:popup_show")
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Lower brightness",
|
description = "Lower brightness",
|
||||||
|
|
|
@ -21,12 +21,12 @@ widget.widget = wibox.widget {
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::enter", function(result)
|
widget.widget:connect_signal("mouse::enter", function(result)
|
||||||
widget.widget.bg = beautiful.color.bar.hover_bg
|
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)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::leave", function(result)
|
widget.widget:connect_signal("mouse::leave", function(result)
|
||||||
widget.widget.bg = beautiful.color.transparent
|
widget.widget.bg = beautiful.color.transparent
|
||||||
awesome.emit_signal("module::backlight:popup_show")
|
--awesome.emit_signal("module::backlight:popup_show")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("button::press",
|
widget.widget:connect_signal("button::press",
|
||||||
|
@ -39,7 +39,7 @@ widget.widget:connect_signal("button::press",
|
||||||
backlight.backlight_down(config.backlight.scroll_step)
|
backlight.backlight_down(config.backlight.scroll_step)
|
||||||
end
|
end
|
||||||
|
|
||||||
awesome.emit_signal("module::backlight:popup_show_stay")
|
--awesome.emit_signal("module::backlight:popup_show_stay")
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ return gears.table.join(
|
||||||
awful.key( {}, "XF86AudioRaiseVolume",
|
awful.key( {}, "XF86AudioRaiseVolume",
|
||||||
function ()
|
function ()
|
||||||
volume.volume_up(config.volume.button_step)
|
volume.volume_up(config.volume.button_step)
|
||||||
awesome.emit_signal("module::volume:popup_show")
|
--awesome.emit_signal("module::volume:popup_show")
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Volume up",
|
description = "Volume up",
|
||||||
|
@ -15,7 +15,7 @@ return gears.table.join(
|
||||||
awful.key( {}, "XF86AudioLowerVolume",
|
awful.key( {}, "XF86AudioLowerVolume",
|
||||||
function ()
|
function ()
|
||||||
volume.volume_down(config.volume.button_step)
|
volume.volume_down(config.volume.button_step)
|
||||||
awesome.emit_signal("module::volume:popup_show")
|
--awesome.emit_signal("module::volume:popup_show")
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Volume down",
|
description = "Volume down",
|
||||||
|
@ -26,7 +26,7 @@ return gears.table.join(
|
||||||
awful.key( {}, "XF86AudioMute",
|
awful.key( {}, "XF86AudioMute",
|
||||||
function ()
|
function ()
|
||||||
volume.toggle_mute()
|
volume.toggle_mute()
|
||||||
awesome.emit_signal("module::volume:popup_show")
|
--awesome.emit_signal("module::volume:popup_show")
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Mute",
|
description = "Mute",
|
||||||
|
|
|
@ -21,12 +21,12 @@ widget.widget = wibox.widget {
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::enter", function(result)
|
widget.widget:connect_signal("mouse::enter", function(result)
|
||||||
widget.widget.bg = beautiful.color.bar.hover_bg
|
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)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("mouse::leave", function(result)
|
widget.widget:connect_signal("mouse::leave", function(result)
|
||||||
widget.widget.bg = beautiful.color.transparent
|
widget.widget.bg = beautiful.color.transparent
|
||||||
awesome.emit_signal("module::volume:popup_show")
|
--awesome.emit_signal("module::volume:popup_show")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget.widget:connect_signal("button::press",
|
widget.widget:connect_signal("button::press",
|
||||||
|
@ -44,7 +44,7 @@ widget.widget:connect_signal("button::press",
|
||||||
elseif (button == 5) then
|
elseif (button == 5) then
|
||||||
volume.volume_down(config.volume.scroll_step)
|
volume.volume_down(config.volume.scroll_step)
|
||||||
end
|
end
|
||||||
awesome.emit_signal("module::volume:popup_show_stay")
|
--awesome.emit_signal("module::volume:popup_show_stay")
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue