edit bindings

This commit is contained in:
Noella
2024-03-04 22:48:37 -07:00
parent 5babd2e2bc
commit 44ab8019bc
4 changed files with 26 additions and 139 deletions

View File

@@ -6,7 +6,7 @@ local hotkeys_popup = require("awful.hotkeys_popup")
local _M = {}
function _M.get()
globalkeys = gears.table.join(
local globalkeys = gears.table.join(
awful.key({ RC.vars.modkey }, "s", hotkeys_popup.show_help, { description = "show help", group = "awesome" }),
awful.key({ RC.vars.modkey }, "Left", awful.tag.viewprev, { description = "view previous", group = "tag" }),
awful.key({ RC.vars.modkey }, "Right", awful.tag.viewnext, { description = "view next", group = "tag" }),
@@ -55,7 +55,6 @@ function _M.get()
awesome.restart,
{ description = "reload awesome", group = "awesome" }
),
awful.key({ RC.vars.modkey, "Shift" }, "q", awesome.quit, { description = "quit awesome", group = "awesome" }),
awful.key({ RC.vars.modkey }, "l", function()
awful.tag.incmwfact(0.05)
@@ -92,7 +91,7 @@ function _M.get()
-- Prompt
awful.key({ RC.vars.modkey }, "r", function()
awful.screen.focused().mypromptbox:run()
awful.spawn("rofi -show drun")
end, { description = "run prompt", group = "launcher" }),
awful.key({ RC.vars.modkey }, "x", function()