mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-27 10:47:13 +08:00
swapped side mouse button bindings for minimize/unminimize
Former-commit-id: 56455cf819
Former-commit-id: ab2c58dcf5add45007878ca69ebfb80791333cc2
Former-commit-id: 65bf6df82a3d2263fd9a2ebb7efc7bd7fed51728
Former-commit-id: b4a42eb48a00b022cecc7a447805fa4631b824fc
This commit is contained in:
parent
587e250115
commit
69349538d6
1 changed files with 2 additions and 2 deletions
|
|
@ -34,12 +34,12 @@ desktop_control:buttons(gears.table.join(
|
|||
awful.client.focus.byidx(1)
|
||||
end),
|
||||
-- Side buttons - Minimize and restore minimized
|
||||
awful.button({ }, 9, function ()
|
||||
awful.button({ }, 8, function ()
|
||||
if client.focus ~= nil then
|
||||
client.focus.minimized = true
|
||||
end
|
||||
end),
|
||||
awful.button({ }, 8, function ()
|
||||
awful.button({ }, 9, function ()
|
||||
local c = awful.client.restore()
|
||||
if c then
|
||||
client.focus = c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue