0

To recall the argument of a previous shell command, in the past, with several distros and terminals, I've used those shorcuts:

Alt + . or Esc + _

Now that I'm using Artix with dwm and st, Alt + . doesn't work (in both Bash and Zsh), only Esc + _ does.

Since I'm facing the same issue with both gnome-terminal and konsole, always launched by dmenu from a dwm session, I don't think it's a problem of st, nor of Artix.

Maybe it's a dwm related issue? Does it intercept the Alt + . combination (and does nothing)? Can I change its behaviour or do I risk to break its internal structure?

1 Answer 1

0

Maybe I answered myself:

/usr/src/dwm/config.h

From

#define MODKEY Mod1Mask

to

#define MODKEY Mod4Mask

then

make clean install

and reload dwm.

Now I'm "forced" to use the Win key instead of Alt for Meta (Mod1) in dwm, but in the terminal(s) now Alt behaves as expected.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.