1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-23 03:32:30 +00:00
This commit is contained in:
dongkc 2017-04-22 14:48:44 +00:00
parent 601e37e61f
commit 85a7edad9f

8
rc.lua
View file

@ -55,7 +55,7 @@ local function run_once(cmd_arr)
end end
end end
run_once({ "urxvtd", "unclutter -root" }) run_once({ "urxvtd", "unclutter -root", "emacs --daemon"})
-- }}} -- }}}
-- {{{ Variable definitions -- {{{ Variable definitions
@ -64,7 +64,7 @@ local modkey = "Mod4"
local altkey = "Mod1" local altkey = "Mod1"
local terminal = "urxvtc" or "xterm" local terminal = "urxvtc" or "xterm"
local editor = os.getenv("EDITOR") or "nano" or "vi" local editor = os.getenv("EDITOR") or "nano" or "vi"
local gui_editor = "gvim" local gui_editor = "emacs"
local browser = "luakit" local browser = "luakit"
awful.util.terminal = terminal awful.util.terminal = terminal
@ -428,8 +428,10 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end), awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end),
-- User programs -- User programs
awful.key({ modkey }, "e", function () awful.spawn(gui_editor) end),
awful.key({ modkey }, "q", function () awful.spawn(browser) end), awful.key({ modkey }, "q", function () awful.spawn(browser) end),
-- awful.key({ modkey }, "2", function () awful.spawn(gui_editor) end),
awful.key({ modkey }, "w", function () awful.spawn(terminal .. " -e emacs -nw -mm") end),
awful.key({ modkey }, "e", function () awful.spawn(terminal .. " -e ranger") end),
-- Default -- Default
--[[ Menubar --[[ Menubar