Replace dmenu_desktopfile with awesome's menubar module
This commit is contained in:
parent
cf870d78a5
commit
71c5527f6a
12
bindings.lua
12
bindings.lua
|
@ -8,6 +8,16 @@ local modkey = conf.modkey or "Mod4"
|
||||||
local mb = require("modalbind")
|
local mb = require("modalbind")
|
||||||
local calendar = require("calendar")
|
local calendar = require("calendar")
|
||||||
|
|
||||||
|
app_folders = {
|
||||||
|
"/usr/share/applications",
|
||||||
|
"/usr/local/share/applications",
|
||||||
|
os.getenv("HOME") .. "/.local/applications",
|
||||||
|
os.getenv("HOME") .. "/Desktop"
|
||||||
|
}
|
||||||
|
local menubar = require("menubar")
|
||||||
|
|
||||||
|
menubar.utils.terminal = conf.cmd.terminal -- Set the terminal for applications that require it
|
||||||
|
|
||||||
local bindings = {modalbind = mb}
|
local bindings = {modalbind = mb}
|
||||||
|
|
||||||
-- {{{ Mouse bindings
|
-- {{{ Mouse bindings
|
||||||
|
@ -120,7 +130,7 @@ function bindings.extend_key_table(globalkeys)
|
||||||
--{{{ Prompt
|
--{{{ Prompt
|
||||||
|
|
||||||
awful.key({ modkey }, "r", conf.cmd.run),
|
awful.key({ modkey }, "r", conf.cmd.run),
|
||||||
awful.key({ modkey, "Shift" }, "r", spawnf("dmenu_desktopfile")),
|
awful.key({ modkey, "Shift" }, "r", menubar.show),
|
||||||
|
|
||||||
awful.key({ modkey }, "s", spawnf("dmsearch")),
|
awful.key({ modkey }, "s", spawnf("dmsearch")),
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue