Debian Codegraph @

fvwm/components/functions/Numpad

raw
1 # Numpad
2
3 # ---------------------------------------------------------------------------
4 # Focus functions
5 DestroyFunc Window-FocusInDirection
6 AddToFunc Window-FocusInDirection
7 + I Direction $0 (CurrentPage, AcceptsFocus, !Iconic) Focus
8
9 DestroyFunc Window-FocusAndRaiseInDirection
10 AddToFunc Window-FocusAndRaiseInDirection
11 + I Direction $0 (CurrentPage, AcceptsFocus, !Iconic) Focus
12 + I Current (Focused) Raise
13
14 # ---------------------------------------------------------------------------
15 # Move functions
16 DestroyFunc Window-MPAnimatedMove
17 AddToFunc Window-MPAnimatedMove
18 + I Current (HasPointer) AnimatedMove $0 $1 Warp
19 + I TestRc (NoMatch) AnimatedMove $0 $1
20
21 DestroyFunc Window-Warp-CenterCenter
22 AddToFunc Window-Warp-CenterCenter
23 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p `expr $[wa.height] / 2 - $[w.height] / 2`p'
24
25 DestroyFunc Window-Warp-LeftCenter
26 AddToFunc Window-Warp-LeftCenter
27 + I Current Piperead 'echo Window-MPAnimatedMove $[EWMH_BS_Panel_Left]p `expr $[wa.height] / 2 - $[w.height] / 2`p'
28
29 DestroyFunc Window-Warp-LeftTop
30 AddToFunc Window-Warp-LeftTop
31 + I Current Window-MPAnimatedMove $[EWMH_BS_Panel_Left]p $[EWMH_BS_Panel_Top]p
32
33 DestroyFunc Window-Warp-CenterTop
34 AddToFunc Window-Warp-CenterTop
35 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p $[EWMH_BS_Panel_Top]p'
36
37 DestroyFunc Window-Warp-RightTop
38 AddToFunc Window-Warp-RightTop
39 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p $[EWMH_BS_Panel_Top]p'
40
41 DestroyFunc Window-Warp-RightCenter
42 AddToFunc Window-Warp-RightCenter
43 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p `expr $[wa.height] / 2 - $[w.height] / 2`p'
44
45 DestroyFunc Window-Warp-CenterBottom
46 AddToFunc Window-Warp-CenterBottom
47 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] / 2 - $[w.width] / 2`p `expr $[vp.height] - $[EWMH_BS_Panel_Bottom] - $[w.height]`p'
48
49 DestroyFunc Window-Warp-LeftBottom
50 AddToFunc Window-Warp-LeftBottom
51 + I Current Piperead 'echo Window-MPAnimatedMove $[EWMH_BS_Panel_Left]p `expr $[wa.height] - $[w.height]`p'
52
53 DestroyFunc Window-Warp-RightBottom
54 AddToFunc Window-Warp-RightBottom
55 + I Current Piperead 'echo Window-MPAnimatedMove `expr $[wa.width] - $[w.width]`p `expr $[wa.height] - $[w.height]`p'
56
57 # vim:ft=fvwm