Added keybind to lauhcher
parent
13b39f0953
commit
36ee880a0a
|
@ -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)
|
||||||
|
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue