From 13b16e595b3fc12234c857c589dab9d411097b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 10 Oct 2023 19:19:19 +0200 Subject: [PATCH] add shortcut to launch terminal in home dir --- awesome/keys.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/awesome/keys.lua b/awesome/keys.lua index 9916241..575dfa8 100644 --- a/awesome/keys.lua +++ b/awesome/keys.lua @@ -173,6 +173,13 @@ keys.globalkeys = gears.table.join( end, {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 awful.key({modkey}, "b", function()