Macros: Condensing Your Physical Keys

Hello, I’m trying to create a macro for my death grip, chains of ice, aspyxiate etc. What I’m trying to do is make it to where I can cast Death Grip on my current target, but also if I hold down alt cast Death Grip on my focus target.
Example: My Death Grip is on keybind r, I want to be able to cast death grip on my current target with r, and also be able to get death grip on my focus target with alt+r, without having to use two different keybinds. This is what I tried and wasn’t successful…
#showtooltip Death Grip
/cast [@target] Death Grip
/cast [mod:alt] [@focus] Death Grip.
Can you please tell me where I’m going wrong? thanks for the help and the guide!