This file is indexed.

/etc/menu-methods/sapphire is in sapphire 0.15.8-9build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
#!/usr/bin/install-menu
#
# menu-method for Sapphire window manager
# Copyright (C) 2001 Chris Boyle
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# On Debian systems, the complete text of the GNU General Public
# License can be found in /usr/share/common-licenses/GPL
#

!include menu.h

outputencoding="ASCII"

function item($i, $t, $c) = \
	nstring(add("1",level()),"	") $i " (" esc($t,"(){}[]") ") {" \ 
	esc($c,"(){}[]") "}\n"

supported
	x11=	item("exec",	$title, $command)
#	wm=	item("exec",	$title, "sh -c 'skill sapphire; exec " $command "'")
	wm=	item("wmexec",	$title, $command)
	text=	item("exec",	$title, "x-terminal-emulator -T '" $title "' -e " $command)
endsupported

treewalk="(cm)"
startmenu= \
	nstring(add("1",level()),"	") "submenu (" $title ")\n" \
	nstring(add("1",level()),"	") "{\n"
endmenu=nstring(add("1",level()),"	") "}\n"
submenutitle=""

# no comment support?!?
preoutput=""

# user's version won't actually be read (yet)
userprefix=".sapphire/menu"
rootprefix="/etc/X11/sapphire/menu"
genmenu="menu-defs.hook"
examplercfile="default-menu"
rcfile="default"