From: Samir Benmendil Date: Fri, 6 Sep 2013 15:46:11 +0000 (+0200) Subject: move modkey definition to bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/01b1c66006fe0901eeafbcbeaae6185e605df5b9 move modkey definition to bindings --- diff --git a/awesome/bindings.lua b/awesome/bindings.lua index 6d9b130..2597eb2 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -1,3 +1,10 @@ +-- Default modkey. +-- Usually, Mod4 is the key with a logo between Control and Alt. +-- If you do not like this or do not have such a key, +-- I suggest you to remap Mod4 to another key using xmodmap or other tools. +-- However, you can use another modifier like Mod1, but it may interact with others. +modkey = "Mod4" + -- {{{ Mouse bindings root.buttons(awful.util.table.join( awful.button({ }, 3, function () mymainmenu:toggle() end), diff --git a/awesome/rc.lua b/awesome/rc.lua index a8d2440..1e72079 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -45,13 +45,6 @@ terminal = "urxvt" editor = os.getenv("EDITOR") or "vim" editor_cmd = terminal .. " -e " .. editor --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - -- Tags require("tags") -- }}}