Window Position: Difference between revisions

From Fvwm Extensions (configs) Archive
Jump to navigation Jump to search
(Created page with "right|140px|link=Window Position|image '''Window Position''' <small>''(functions)''</small> runs after Fvwm has loaded. It places the window or dialog box on the desk that is convenient for the user. <pre> ## FILE 1 ## Functions: winPos.txt ## Window position AddToFunc StartFunction I Module FvwmEvent FvwmEvent-MoveWindow DestroyModuleConfig FvwmEvent-MoveWindow: * *FvwmEvent-MoveWindow: Cmd Function *FvwmEvent-MoveWindow: add_window Mo...")
 
No edit summary
Line 23: Line 23:
----
----
'''Read more:'''<br />
'''Read more:'''<br />
https://www.fvwm.org/Wiki/Config/FunctionTips <br />
https://www.fvwm.org/Wiki/Config/Functions/FunctionTips/ <br />


__NOTOC____NOEDITSECTION__
__NOTOC____NOEDITSECTION__

Revision as of 09:44, 10 July 2025

Window Position (functions) runs after Fvwm has loaded. It places the window or dialog box on the desk that is convenient for the user.

## FILE 1
## Functions: winPos.txt

## Window position

AddToFunc StartFunction I Module FvwmEvent FvwmEvent-MoveWindow

DestroyModuleConfig FvwmEvent-MoveWindow: *
*FvwmEvent-MoveWindow: Cmd Function
*FvwmEvent-MoveWindow: add_window MoveWindow

DestroyFunc MoveWindow
AddToFunc   MoveWindow
+ I ThisWindow ("Calendar*") Move -2 -10
+ I ThisWindow ("Alert*") Move -15 -30

HOW TO: Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read winPos.txt


Read more:
https://www.fvwm.org/Wiki/Config/Functions/FunctionTips/