Skip to content

Commit

Permalink
fix: don't import awful.keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondill committed Jan 21, 2025
1 parent 54fa88b commit 9e8efd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions configuration/keys/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ local require = require("util.rel_require")

local abutton = require("awful.button")
local aclient = require("awful.client")
local akeyboard = require("awful.keyboard")
local amouse = require("awful.mouse")
local atitlebar = require("awful.titlebar")
local awful_key = require("awful.key")
Expand Down Expand Up @@ -102,5 +101,7 @@ capi.client.connect_signal(
"request::default_mousebindings",
function() amouse.append_client_mousebindings(M.buttons) end
)
capi.client.connect_signal("request::default_keybindings", function() akeyboard.append_client_keybindings(M.keys) end)
capi.client.connect_signal("request::default_keybindings", function() -- NOTE: awful.keyboard only exists in v5
require("awful.keyboard").append_client_keybindings(M.keys)
end)
return M

0 comments on commit 9e8efd8

Please sign in to comment.