mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-08 09:47:23 +08:00
Add mousebinds to taglist activator
This commit is contained in:
parent
f4b18c6f82
commit
b425bfc845
1 changed files with 10 additions and 0 deletions
|
|
@ -90,6 +90,16 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
autohide()
|
||||
end)
|
||||
|
||||
s.mywibox_activator:buttons(
|
||||
gears.table.join(
|
||||
awful.button({ }, 4, function ()
|
||||
awful.tag.viewprev()
|
||||
end),
|
||||
awful.button({ }, 5, function ()
|
||||
awful.tag.viewnext()
|
||||
end)
|
||||
))
|
||||
|
||||
s.mywibox:connect_signal("mouse::enter", function ()
|
||||
if popup_timer then
|
||||
popup_timer:stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue