| 1 |
# Amiga Button Setup |
| 2 |
# From the Fvwm-crystal button setup written by Maciej Delmanowski <[email protected]> |
| 3 |
# Modified by Dominique Michel in order to reproduce the look and feel |
| 4 |
# of the Amiga OS |
| 5 |
# |
| 6 |
# For the real lock and feel, just buy an Amiga. This is not an exact |
| 7 |
# reproduction of the Amiga button setup. |
| 8 |
# |
| 9 |
# This is the AmigaOS window button setup. Hold the mouse buttons |
| 10 |
# to see the popup menu of a certain button. |
| 11 |
# |
| 12 |
# Mod : any modifier |
| 13 |
# Mod0: no modifier |
| 14 |
# Mod1: Meta (Alt) |
| 15 |
# Mod2: Shift Alt |
| 16 |
# |
| 17 |
# Original Amiga 3.1 button setup |
| 18 |
# Button 1: close |
| 19 |
# Button 2: raise/lower |
| 20 |
# Button 4: minimize|maximize|fullscreen/default (one of 3/default) |
| 21 |
# Button 6: iconify (on non transiet window) |
| 22 |
|
| 23 |
|
| 24 |
# First button - close, destroy, iconify #save default geometry |
| 25 |
Mouse 1 1 $[Mod0] Window-Button-Function Button1 /Window-Menu-Close Close |
| 26 |
Mouse 2 1 $[Mod0] Window-Button-Function Button1 /Window-Menu-Close FvwmIdent |
| 27 |
Mouse 2 1 $[Mod1] Window-Button-Function Button1 /Window-Menu-Close Destroy |
| 28 |
Mouse 3 1 $[Mod0] Window-Button-Function Button1 /Window-Menu-Close Window-Iconify |
| 29 |
#SaveWindowGeom |
| 30 |
Style * Button 1 |
| 31 |
|
| 32 |
# Second button - raise/lower and various ways to maximize a window |
| 33 |
Mouse 1 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Fullscreen |
| 34 |
Mouse 2 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize V100 |
| 35 |
Mouse 3 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize H100 |
| 36 |
Mouse 1 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize VHgrow |
| 37 |
Mouse 2 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Vgrow |
| 38 |
Mouse 3 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Hgrow |
| 39 |
Style * Button 2 |
| 40 |
|
| 41 |
Style * NoButton 3 |
| 42 |
|
| 43 |
# 4th button - minimize, stick and layers |
| 44 |
Mouse 1 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Layer Window-Resize Minimize |
| 45 |
Mouse 1 4 $[Mod1] Window-Button-Function Button4 /Window-Menu-Layer Stick |
| 46 |
Mouse 2 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Layer Layer 0 5 |
| 47 |
Mouse 2 4 $[Mod1] Window-Button-Function Button4 /Window-Menu-Layer Layer 0 3 |
| 48 |
Mouse 3 4 $[Mod0] Window-Button-Function Button4 /Window-Menu-Layer Layer 0 4 |
| 49 |
Style * Button 4 |
| 50 |
|
| 51 |
|
| 52 |
Style * NoButton 5 |
| 53 |
|
| 54 |
# 6th button - iconify, move a window between pages |
| 55 |
Mouse 1 6 $[Mod0] Window-Button-Function Button6 /Window-Menu-Page Window-Iconify |
| 56 |
#Mouse 1 6 $[Mod0] Window-Button-Function Button6 /Window-Menu-Page Window-MoveToPage-Backward |
| 57 |
Mouse 2 6 $[Mod0] Window-Button-Function Button6 /Window-Menu-Page MoveToPage-Focus prev |
| 58 |
Mouse 3 6 $[Mod0] Window-Button-Function Button6 /Window-Menu-Page Window-MoveToPage-Forward |
| 59 |
Mouse 1 6 $[Mod1] Window-Button-Function Button6 /Window-Menu-Page Window-WarpToPage-Backward |
| 60 |
Mouse 2 6 $[Mod1] Window-Button-Function Button6 /Window-Menu-Page WarpToPage prev |
| 61 |
Mouse 3 6 $[Mod1] Window-Button-Function Button6 /Window-Menu-Page Window-WarpToPage-Forward |
| 62 |
Style * Button 6 |
| 63 |
|
| 64 |
Style * NoButton 7 |
| 65 |
|
| 66 |
Style * NoButton 8 |
| 67 |
|
| 68 |
Style * NoButton 9 |
| 69 |
|
| 70 |
Style * NoButton 0 |
| 71 |
|
| 72 |
# NumLock support |
| 73 |
Read $./Buttons-amigaos_NumLock |
| 74 |
|
| 75 |
# vim:ft=fvwm |