File: Menu-Position

package info (click to toggle)
fvwm-crystal 3.0.5.dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 16,268 kB
  • ctags: 607
  • sloc: sh: 2,065; python: 875; cs: 648; makefile: 218
file content (27 lines) | stat: -rw-r--r-- 1,384 bytes parent folder | download | duplicates (2)
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
# Written by: Maciej Delmanowski <harnir@linux.net.pl>


# Variables for menus, which are opened from the root window, or when there is
# no other relative position
SetEnv MenuPosition-Above "mouse o100+50m -100m-5p"
SetEnv MenuPosition-Below "mouse o100+50m 15p"
SetEnv MenuPosition-AboveLeft "mouse -100m-5p -100m-5p"
SetEnv MenuPosition-BelowLeft "mouse -100m-5p 15p"
SetEnv MenuPosition-AboveRight "mouse 15p -100m-5p"
SetEnv MenuPosition-BelowRight "mouse 15p 15p"

# Variables for menus opened from buttons
SetEnv MenuPosition-N	"Rectangle $widthx$height+$left+$top@c o50 -100m"
SetEnv MenuPosition-W	"Rectangle $widthx$height+$left+$top@c -100m o50"
SetEnv MenuPosition-E	"Rectangle $widthx$height+$left+$top@c 100 o50"
SetEnv MenuPosition-S	"Rectangle $widthx$height+$left+$top@c o50 100"
SetEnv MenuPosition-NE	"Rectangle $widthx$height+$left+$top@c 0 -100m"
SetEnv MenuPosition-NW	"Rectangle $widthx$height+$left+$top@c o100 -100m"
SetEnv MenuPosition-WN	"Rectangle $widthx$height+$left+$top@c -100m o100"
SetEnv MenuPosition-WS	"Rectangle $widthx$height+$left+$top@c -100m 0"
SetEnv MenuPosition-EN	"Rectangle $widthx$height+$left+$top@c 100 o100"
SetEnv MenuPosition-ES	"Rectangle $widthx$height+$left+$top@c 100 0"
SetEnv MenuPosition-SE	"Rectangle $widthx$height+$left+$top@c 0 100"
SetEnv MenuPosition-SW	"Rectangle $widthx$height+$left+$top@c o100 100"

# vim:ft=fvwm