-
Notifications
You must be signed in to change notification settings - Fork 5
Configuration
;; Use all default values.
mwm := MiguruWM()
;; Overwrite some options.
mwm := MiguruWM({
layout: "floating",
padding: { left: 20, right: 20, top: 10, bottom: 10 },
})| Attribute | Default | Description |
|---|---|---|
|
"" |
See Layouts. |
|
0.5 |
Specifies the ratio that is used to size the primary area. |
|
1 |
Specifies how many windows should be placed in the primary area. |
|
{
left: 0,
top: 0,
right: 0,
bottom: 0,
} |
Specifies the spacing to the monitor edges. |
|
0 |
Specifies the spacing between windows. |
|
500 |
New windows are automatically tiled, except when their width or height is smaller than the respective option (or they fall into one of the ahk window groups) in which case they are floating. |
|
500 |
See above. |
|
"last" |
Specifies where new tiled windows are inserted. Possible values are:
|
|
false |
If true, floating windows are set to be always on top. |
|
false |
If true, uses |
|
false |
If true, move the mouse to the center of a window when calling |
|
false |
If true, calling |
|
false |
If true, calling |
|
true |
Changes the behavior of
|
|
{
retryManage: 100,
retile2ndTime: 200,
windowHidden: 200,
sendMonitorRetile: 100,
pinnedWindowFocused: 100,
onDisplayChange: 1000,
} |
Specifies the delays to wait before doing certain actions. Higher values give more precise window handling, but less nice user experience.
|
|
"" |
Callback that gets called to show popup messages. |
|
"" |
See FocusIndicator. |
GroupAdd("MIGURU_AUTOFLOAT", "Microsoft Teams-Notification ahk_exe Teams.exe")
GroupAdd("MIGURU_DECOLESS", "ahk_exe qutebrowser.exe")-
MIGURU_DECOLESS: Explicitly handle and tile windows that have no title bar like e.g. alacritty or qutebrowser which would get ignored otherwise.
-
MIGURU_IGNORE: New windows that match an entry won’t be picked up but ignored. So they are neither moved/resized nor focused with
mwm.Do("focus-window", …). -
MIGURU_AUTOFLOAT: Float all new windows that match an entry. Floating windows won’t get positioned or resized automatically like tiled windows. They can be set to be always on top with
floatingAlwaysOnTopand come after the tiled ones when iterating through the windows withmwm.Do("focus-window", …).
See the autohotkey docs for information on GroupAdd.