# 1st button - close
Mouse 1 1 $[Mod] Window-Button-Function Button1 /Window-Menu Close
Mouse 2 1 $[Mod] Window-Button-Function Button1 /Window-Menu Nop
Mouse 3 1 $[Mod] Window-Button-Function Button1 /Window-Menu Window-Iconify
Style * Button 1
# 2nd button - various ways to maximize a window
Mouse 1 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Maximize
Mouse 2 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize H100
Mouse 3 2 $[Mod0] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize V100
Mouse 1 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize VHgrow
Mouse 2 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Hgrow
Mouse 3 2 $[Mod1] Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Vgrow
Style * Button 2
# MiniIcon
Mouse 1 3 $[Mod] Window-Raise-MoveRaise
Mouse 2 3 $[Mod] Window-Shade-Resize
Mouse 3 3 $[Mod] Window-Lower-Move
Style * Button 3
# 4th button - iconify
Mouse 1 4 $[Mod] Window-Button-Function Button4 /Window-Menu Window-Iconify
Mouse 2 4 $[Mod] Window-Button-Function Button4 /Window-Menu Nop
Mouse 3 4 $[Mod] Window-Button-Function Button4 /Window-Menu Nop
Style * Button 4
Style * NoButton 5
Style * NoButton 6
Style * NoButton 7
Style * NoButton 8
Style * NoButton 9
Style * NoButton 0