From a6cfb2b8aa1386504cde5dff1286e45711a45387 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Wed, 8 Mar 2017 11:41:09 +0100 Subject: [PATCH] Added shortcut to input email adress --- awesome/rc.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index 2650196..aa27d54 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -422,7 +422,14 @@ globalkeys = awful.util.table.join( awful.key({modkey}, "#90", function() os.execute("tv.sh disable") - end, {description="lol", group="custom"}) + end, {description="lol", group="custom"}), + + awful.key({modkey, "Shift"}, "m", function() + os.execute('sleep 0.5') + for i = 1, #options.email do + os.execute('xdotool type --clearmodifiers ' .. options.email:sub(i,i)) + end + end, {description="lol", group="autoinput"}) ) clientkeys = awful.util.table.join(