blob: b5ac82bff872da276a25a49bda3ff15252143cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
local awful = require "awful"
local q = require "quarrel"
local qui = require "quarrel.ui"
local qvars = require "quarrel.vars"
awful.keygrabber {
keybindings = {
awful.key {
modifiers = qvars.mods.A,
key = "Tab",
on_press = awful.client.focus.history.previous
},
awful.key {
modifiers = qvars.mods.AS,
key = "Tab",
on_press = awful.client.focus.history.next
},
},
-- Note that it is using the key name and not the modifier name.
stop_key = "Mod1",
stop_event = "release",
-- start_callback = awful.client.focus.history.disable_tracking,
stop_callback = awful.client.focus.history.enable_tracking,
export_keybindings = true,
autostart = true
}
|