Re: Resize windows like MS Windows
Rohit Haldipur <[email protected]> Tue, 2 Feb 2016 02:39:21 +0530
| Newsgroups | gmane.comp.window-managers.fluxbox.user |
|---|---|
| Message-ID | <CAH=GFqO=pSj8d+wtV=pnvxkisqwuzBK61QNvvuo0pDxTEWrnxg@mail.gmail.com> |
> I'd like to resize the windows like it is done in
>
> MS Windows 7 and
> above.
>
> For now I have this:
>
> Mod4 Up :Maximize
> Mod4 Left :MacroCmd {ResizeTo 638 100%} {MoveTo 0 * Left}
> {MaximizeVertical}
> Mod4 Right :MacroCmd {ResizeTo 638 100%} {MoveTo 0 * Right}
> {MaximizeVertical}
> Mod4 Down :ResizeTo 638 50%
>
> But it would be nice to have `Mod4 Down` to resize and move the window
> back to its original size and position.
>
> Any ideas?
>
Hey Thomas,
It didnt take too long to discover `xdotool` is *the* tool for the job.
I've written a script around it that mostly does the job. Since it doesn't
contain fluxbox-specific script, I'd reckon it would work just as well (or
badly) with any other window manager.
I've put it up here for anyone interested
https://github.com/rohit-h/window-resizer/blob/master/resizer.sh
Do report bugs/improvements. I'm interested to see what use cases others
might have.
Cheers!
Rohit
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Fluxbox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fluxbox-users