On 25 Nov 2005 08:38:51 +0000, Nick Fortune wrote:
> 
> Cool. How about something like...
> 
>       DestroyFunc func_change_resolution
>       AddToFunc func_change_resolution
>       + I Exec xrandr -s $0
>       + I Restart

Yes, seems good to have, but I would use a bit more correct form:

        + I PipeRead `xrandr -s $0 && echo GotoPage 0 0 && echo Restart`

And if someone only wants to emulate fullscreen for a program that does
not normally supports it, then Restart is not needed, just a wrapper:

        xrandr -s 800x600
        some_prog            # Style some_prog !Borders, !Title
        xrandr -s 1280x1024

Regards,
Mikhael.

Reply via email to