Better xdotool
This commit is contained in:
parent
d986312dd4
commit
3bf01d1b04
8
rc.lua
8
rc.lua
|
@ -605,17 +605,13 @@ globalkeys = awful.util.table.join(
|
|||
|
||||
awful.key({modkey, "Shift"}, "m", function()
|
||||
awful.spawn.easy_async('sleep 0.5', function()
|
||||
for i = 1, #options.email do
|
||||
os.execute('xdotool type --clearmodifiers ' .. options.email:sub(i,i))
|
||||
end
|
||||
os.execute('xdotool type --clearmodifiers ' .. options.email)
|
||||
end)
|
||||
end, {description="Automatically enters the key to type your email", group="shortcuts"}),
|
||||
|
||||
awful.key({modkey, "Shift"}, "ù", function()
|
||||
awful.spawn.easy_async('sleep 0.5', function()
|
||||
for i = 1, #options.email2 do
|
||||
os.execute('xdotool type --clearmodifiers ' .. options.email2:sub(i,i))
|
||||
end
|
||||
os.execute('xdotool type --clearmodifiers ' .. options.email2)
|
||||
end)
|
||||
end, {description="Automatically enters the key to type your secondary email", group="shortcuts"}),
|
||||
|
||||
|
|
Loading…
Reference in New Issue