diff options
| author | delta <darkussdelta@gmail.com> | 2023-01-29 09:59:52 +0100 |
|---|---|---|
| committer | delta <darkussdelta@gmail.com> | 2023-01-29 10:02:22 +0100 |
| commit | a0f8b5fa6acdd1c2477fb1881dd9067956bf0ae6 (patch) | |
| tree | 04500ca0a4c97f85b1a2d875d8285effda7b57fe /.config/awesome/components/keybinds/client.lua | |
init dots
Diffstat (limited to '.config/awesome/components/keybinds/client.lua')
| -rw-r--r-- | .config/awesome/components/keybinds/client.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/awesome/components/keybinds/client.lua b/.config/awesome/components/keybinds/client.lua new file mode 100644 index 0000000..35680c4 --- /dev/null +++ b/.config/awesome/components/keybinds/client.lua @@ -0,0 +1,15 @@ +local awful = require "awful" + +client.connect_signal("request::default_mousebindings", function() + awful.mouse.append_client_mousebindings({ + awful.button({ }, 1, function (c) + c:activate { context = "mouse_click" } + end), + awful.button({ modkey }, 1, function (c) + c:activate { context = "mouse_click", action = "mouse_move" } + end), + awful.button({ modkey }, 3, function (c) + c:activate { context = "mouse_click", action = "mouse_resize" } + end) + }) +end) |
