diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-04-12 21:15:03 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-04-12 21:15:03 +0700 |
commit | 200b2343dd47b0f4b8cef1e917f1a9dab216ea88 (patch) | |
tree | ce9a2ef4a72fcd0320688211eb3b500166f61d74 /awesome | |
parent | c44d937f2c6a6a077da17d9fb73de6cae6075169 (diff) | |
download | dotfiles-200b2343dd47b0f4b8cef1e917f1a9dab216ea88.tar.gz |
Update 2018-04-12
Diffstat (limited to 'awesome')
-rw-r--r-- | awesome/.config/awesome/rc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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"}), |