More shortcuts
This commit is contained in:
parent
5cef8f61ea
commit
fb8bfa45fb
|
@ -2,4 +2,5 @@ return {
|
|||
browser="firefox",
|
||||
terminal="alacritty",
|
||||
email="thomas@forgione.fr",
|
||||
email2="thomas@polymny.studio",
|
||||
}
|
||||
|
|
17
rc.lua
17
rc.lua
|
@ -408,9 +408,6 @@ globalkeys = awful.util.table.join(
|
|||
}
|
||||
end,
|
||||
{description = "lua execute prompt", group = "awesome"}),
|
||||
-- Menubar
|
||||
awful.key({ modkey }, "p", function() menubar.show() end,
|
||||
{description = "show the menubar", group = "launcher"}),
|
||||
|
||||
-- Custom shortcuts
|
||||
awful.key({ }, "XF86AudioRaiseVolume", function()
|
||||
|
@ -577,13 +574,25 @@ globalkeys = awful.util.table.join(
|
|||
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
|
||||
end)
|
||||
end, {description="Automatically enters the key to type your secondary email", group="shortcuts"}),
|
||||
|
||||
awful.key({modkey}, "q", function()
|
||||
awful.spawn.easy_async("mailspring", function() end)
|
||||
end, {description="Opens mailspring", group="shortcuts"}),
|
||||
|
||||
awful.key({modkey}, "e", function()
|
||||
awful.spawn.easy_async("emojinput", function() end)
|
||||
end, {description="Starts emojinput", group="shortcuts"})
|
||||
end, {description="Starts emojinput", group="shortcuts"}),
|
||||
|
||||
awful.key({ modkey }, "p", function()
|
||||
awful.spawn.easy_async("pavucontrol", function(e) end)
|
||||
end, {description = "starts pavucontrol", group = "shortcuts"})
|
||||
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue