File: Buttons-amigaos

package info (click to toggle)
fvwm-crystal 3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 21,700 kB
  • ctags: 1,494
  • sloc: sh: 3,265; cs: 1,335; python: 875; makefile: 214
file content (75 lines) | stat: -rw-r--r-- 3,077 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Amiga Button Setup
# From the Fvwm-crystal button setup written by Maciej Delmanowski <harnir@linux.net.pl>
# Modified by Dominique Michel in order to reproduce the look and feel
# of the Amiga OS
#
# For the real lock and feel, just buy an Amiga. This is not an exact
# reproduction of the Amiga button setup.
# 
# This is the AmigaOS window button setup. Hold the mouse buttons
# to see the popup menu of a certain button.
#
# Mod : any modifier
# Mod0: no modifier
# Mod1: Meta (Alt)
# Mod2: Shift Alt
# 
# Original Amiga 3.1 button setup
# Button 1: close
# Button 2: raise/lower
# Button 4: minimize|maximize|fullscreen/default (one of 3/default)
# Button 6: iconify (on non transiet window)


# First button - close, destroy, iconify #save default geometry
Mouse 1 1 $[Mod0]	Window-Button-Function Button1 /Window-Menu-Close Close
Mouse 2 1 $[Mod0]	Window-Button-Function Button1 /Window-Menu-Close FvwmIdent
Mouse 2 1 $[Mod1]	Window-Button-Function Button1 /Window-Menu-Close Destroy
Mouse 3 1 $[Mod0]	Window-Button-Function Button1 /Window-Menu-Close Window-Iconify
#SaveWindowGeom
Style * Button 1

# Second button - raise/lower and various ways to maximize a window
Mouse 1 2 $[Mod0]	Window-Button-Function Button2 /Window-Menu-Maximize Fullscreen 
Mouse 2 2 $[Mod0]	Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize V100
Mouse 3 2 $[Mod0]	Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize H100
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 Vgrow
Mouse 3 2 $[Mod1]	Window-Button-Function Button2 /Window-Menu-Maximize Window-Resize Hgrow
Style * Button 2

Style * NoButton 3

# 4th button - minimize, stick and layers
Mouse 1 4 $[Mod0]	Window-Button-Function Button4 /Window-Menu-Layer Window-Resize Minimize
Mouse 1 4 $[Mod1]	Window-Button-Function Button4 /Window-Menu-Layer Stick
Mouse 2 4 $[Mod0]	Window-Button-Function Button4 /Window-Menu-Layer Layer 0 5
Mouse 2 4 $[Mod1]	Window-Button-Function Button4 /Window-Menu-Layer Layer 0 3
Mouse 3 4 $[Mod0]	Window-Button-Function Button4 /Window-Menu-Layer Layer 0 4
Style * Button 4


Style * NoButton 5

# 6th button - iconify, move a window between pages
Mouse 1 6 $[Mod0]	Window-Button-Function Button6 /Window-Menu-Page Window-Iconify
#Mouse 1 6 $[Mod0]	Window-Button-Function Button6 /Window-Menu-Page Window-MoveToPage-Backward
Mouse 2 6 $[Mod0]	Window-Button-Function Button6 /Window-Menu-Page MoveToPage-Focus prev
Mouse 3 6 $[Mod0]	Window-Button-Function Button6 /Window-Menu-Page Window-MoveToPage-Forward
Mouse 1 6 $[Mod1]	Window-Button-Function Button6 /Window-Menu-Page Window-WarpToPage-Backward
Mouse 2 6 $[Mod1]	Window-Button-Function Button6 /Window-Menu-Page WarpToPage prev
Mouse 3 6 $[Mod1]	Window-Button-Function Button6 /Window-Menu-Page Window-WarpToPage-Forward
Style * Button 6

Style * NoButton 7

Style * NoButton 8

Style * NoButton 9

Style * NoButton 0

# NumLock support
Read $./Buttons-amigaos_NumLock

# vim:ft=fvwm