Attach conditions to triggers

I miss the possibility to execute triggers under a condition.

I would like to build something like that:

  • Click on Window+Plus+Button
    • if window more left on screen –> set window to 2/3 width at left edge and 100% height
    • if window more to the left of the screen –> set window to 2/3 width at the right edge and 100% height.

And I would also need the possibility to determine where the window is.