From 200b2343dd47b0f4b8cef1e917f1a9dab216ea88 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 12 Apr 2018 21:15:03 +0700 Subject: Update 2018-04-12 --- awesome/.config/awesome/rc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'awesome/.config') diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index cf31546..647e57c 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -48,6 +48,7 @@ beautiful.init"~/.config/awesome/themes/gruvbox/theme.lua" terminal = "x-terminal-emulator -e dvtm" editor = "gvim" -- And some additional applications +emacserver = "emacs --daemon" root_terminal = "x-terminal-emulator -e sudo -i dvtm" ranger = "x-terminal-emulator -e ranger" ipython = "x-terminal-emulator -e ipython" @@ -373,7 +374,9 @@ globalkeys = awful.util.table.join( {description = "open a root terminal", group = "launcher"}), awful.key({modkey}, "v", function() awful.spawn(editor) end, {description = "open GVim", group = "launcher"}), - awful.key({modkey}, "e", function() awful.spawn("emacs") end, + awful.key({modkey}, "e", function() awful.spawn("emacsclient -c") end, + {description = "open Emacs", group = "launcher"}), + awful.key({modkey, 'Shift'}, "e", function() awful.spawn(emacserver) end, {description = "open Emacs", group = "launcher"}), awful.key({modkey}, "b", function() awful.spawn"luakit" end, {description = "open Luakit", group = "launcher"}), -- cgit 1.4.1