aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/ui/conductor/init.lua
blob: 1790d0d36d1a918d2354409537e62c6f8ea44503 (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 qui = require "quarrel.ui"
local q = require "quarrel"
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
}