Combine on-window-detected
rules
#1029
ivuorinen
started this conversation in
feature-ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there and thanks for the awesome app!
I currently have 17 different
if.app-id
rules in my config with the exactly the samerun
command, it's getting kinda messy. After searching the discussions I couldn't find anything that would help with this problem (only thing closest was the discussion about embedded script language).Would it be possible to have something like
if.app-id-in
rule that would take an array (or is it table in toml parlance?) of app-id's and run the same command to the matched app. I imagine (without looking at the code, so excuse me if I'm getting this wrong) the internals would be looping theif.app-id-in
array and basically doing the same matcher registration asif.app-id
does.For example from this:
to this:
That would help remove extra configuration lines and improve maintainability.
Thanks for considering this!
Beta Was this translation helpful? Give feedback.
All reactions