Added keybind to lauhcher

master
Mark 2022-07-16 17:10:03 -07:00
parent 13b39f0953
commit 36ee880a0a
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
3 changed files with 18 additions and 12 deletions

View File

@ -57,17 +57,6 @@ return gears.table.join(
} }
), ),
awful.key( {"Mod4"}, "Tab",
function ()
bin.rofi.launcher()
end,
{
description = "Open Launcher",
group = "Launcher"
}
),
awful.key( {"Mod4"}, "Return", awful.key( {"Mod4"}, "Return",
function () function ()
awful.spawn(terminal) awful.spawn(terminal)

View File

@ -1,5 +1,7 @@
return { return {
widgets = { widgets = {
launcher = require("modules.launcher.widget").widget launcher = require("modules.launcher.widget").widget
} },
keybinds = require("modules.launcher.keybinds")
} }

View File

@ -0,0 +1,15 @@
local launcher = req_rel(..., "util")
return gears.table.join(
awful.key( {"Mod4"}, "Tab",
function ()
launcher.launcher()
end,
{
description = "Open Launcher",
group = "Launcher"
}
)
)