How to extend the lister size when in dual display

Normally when I turn into dual display,for example,click this bottom:image
the lister size will not change,like this:
from

to
Is there a way that the lister size will increase by twice times automatically when in dual display? like this:
from to

The modifier@if may match your request.
try this

@ifset:common
Set DUAL=toggle
@ifset:DUAL=on
Set LISTERSIZE=800,800
@ifset:else
Set LISTERSIZE=1600,800

I edit the button script as you suggest,it is close to what I want!
Is there a way to get the current listersize as a variable {variable1} ,so that I can do like this

@ifset:common
Set DUAL=toggle
@ifset:DUAL=on
Set LISTERSIZE=variable1
@ifset:else
Set LISTERSIZE=variable1*2

Is that possible?
Thank you for your kindness!!