-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexemple.menu
72 lines (57 loc) · 1.21 KB
/
exemple.menu
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
mqm_config
x: mouse
y: mouse
shell: bash -c
terminal: urxvt -e
term_hold: urxvt --hold -e bash -c
iconsize: 8
# This is a comment
Firefox
icon: /usr/share/pixmaps/firefox.png
Thunderbird
icon_cmd: echo '/usr/share/pixmaps/thunderbird.png'
/tmp/check_test ?
type:check
status_cmd:du /tmp/check_test 2> /dev/null
checked_title_cmd: du -h /tmp/check_test | cut -f 1
unchecked_title: /tmp/check_test does not exist
check_cmd: echo 1 > /tmp/check_test
uncheck_cmd: rm /tmp/check_test
title: Run:
type:text
phtxt:Type a command...
button: GO!
cmd: %s
title: Browser
type:combo
combo_values: firefox google-chrome opera
combo_texts: Firefox "Google Chrome" Opera
default_index: 1
--- SUBMENUS AHEAD
Submenu
loop: inside
loop_var: i
loop_values: firefox thunderbird
icon: /usr/share/pixmaps/firefox.png
$i
icon_cmd: echo /usr/share/pixmaps/$i.png
cmd: $i
Submenu 2
loop: outside
loop_var: i
loop_values: firefox thunderbird
icon: /usr/share/pixmaps/$i.png
$i
icon: /usr/share/pixmaps/$i.png
Subsub
loop: inside
loop_var: j
loop_values: firefox thunderbird
$j
icon: /usr/share/pixmaps/$j.png
Submenu 3
loop: inside_out
loop_var: i
loop_values: firefox thunderbird
$i
icon: /usr/share/pixmaps/$i.png