Open aldevv opened 1 year ago
-c
sets the class name of st and not the instance name. Using -c the instance name keeps being "st-256color" or whatever.
You will have to make st change its instance name or you have to change the rule to match the class attribute instead.
didn't wanna necrobump this, but for anyone with having the same issue you can set the name of the instance by passing the -n
flag like this:
local spad = bling.module.scratchpad {
command = "st -c spad -n spad",
...
}
I have the following code in a default awesome wm config:
and I add it to my keybindings like this:
the issue is that each time I press the keybinding a new terminal is opened instead of toggling the same terminal, i tested with alacritty and is working as expected, checked with xprop and the class in st is set correctly.