add shortcut to launch terminal in home dir

This commit is contained in:
Thomas Avé 2023-10-10 19:19:19 +02:00
parent 7edb4d6e5b
commit 13b16e595b
1 changed files with 7 additions and 0 deletions

View File

@ -173,6 +173,13 @@ keys.globalkeys = gears.table.join(
end, end,
{description = "open a terminal", group = "launcher"} {description = "open a terminal", group = "launcher"}
), ),
-- Spawn terminal
awful.key({modkey, "Shift"}, "Return",
function()
awful.spawn('bash -c "WINIT_X11_SCALE_FACTOR=1 alacritty"')
end,
{description = "open a terminal", group = "launcher"}
),
-- Spawn browser -- Spawn browser
awful.key({modkey}, "b", awful.key({modkey}, "b",
function() function()