Love DankActions! It's been a nice addition in an attempt to replace waybar, but one of the things I am struggling to do is have conditional elements in my dank bar. I think it could be nice to be able to conditionally show/hide actions depending on the exit code of a display command.
I had a quick look around to send a PR instead, but I'm struggling to fully remove the spacing of the hidden item so maybe someone with a better understanding of the layouting can do it more reasonable than me.