Initial revision
[wmaker-crm.git] / WindowMaker / menu.hr
blobeee00642435388f67b6b419f113425628eb7a0f7
1 /* Text below is Croatian ISO-8859-2
2  * Postavke glavnog izbornika za WindowMaker
3  *
4  * Sintaksa:
5  *
6  * <Naslov> <Naredba> <Parametri>
7  *
8  * <Title> is any string to be used as title. Must be enclosed with " if it
9  *      has spaces
10  *
11  * <Command> one of the valid commands: 
12  *      MENU - starts (sub)menu definition
13  *      OPEN_MENU - opens a menu from a file, pipe or directory(ies) contents
14  *                  and eventually precede each with a command.
15  *      END  - end (sub)menu definition
16  *      WORKSPACE_MENU - adds a submenu for workspace operations
17  *      EXEC <program> - executes an external program
18  *      EXIT - exits the window manager
19  *      RESTART [<window manager>] - restarts WindowMaker or start another
20  *                      window manager
21  *      REFRESH - refreshes the desktop
22  *      ARRANGE_ICONS - rearranges the icons on the workspace
23  *      SHUTDOWN - kills all clients (and close the X window session)
24  *      SHOW_ALL - unhides all windows on workspace
25  *      HIDE_OTHERS - hides all windows on the workspace, except the
26  *              focused one (or the last one that received focus)
27  *      SAVE_SESSION - saves the current state of the desktop, which include
28  *                     all running applications, all their hints (geometry,
29  *                     position on screen, workspace they live on, the dock
30  *                     or clip from where they were launched, and
31  *                     if minimized, shaded or hidden. Also saves the current
32  *                     workspace the user is on. All will be restored on every
33  *                     start of windowmaker until another SAVE_SESSION or
34  *                     CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
35  *                     WindowMaker domain file, then saving is automatically
36  *                     done on every windowmaker exit, overwriting any
37  *                     SAVE_SESSION or CLEAR_SESSION (see below).
38  *      CLEAR_SESSION - clears any previous saved session. This will not have
39  *                     any effect if SaveSessionOnExit is True.
40  *
41  * OPEN_MENU syntax:
42  *   1. File menu handling.
43  *      // opens file.menu which must contain a valid menu file and inserts
44  *      // it in current position
45  *      OPEN_MENU file.menu
46  *   2. Pipe menu handling.
47  *      // opens command and uses it's stdout to construct menu.
48  *      // Command's output must be a valid menu description.
49  *      // The space between '|' and command itself is optional.
50  *      OPEN_MENU | command
51  *   3. Directory handling.
52  *      // Opens one or more directories and construct a menu with all
53  *      // the subdirectories and executable files in them sorted
54  *      // alphabetically.
55  *      OPEN_MENU /some/dir [/some/other/dir ...]
56  *   4. Directory handling with command.
57  *      // Opens one or more directories and construct menu with all
58  *      // subdirectories and readable files in them sorted alphabetically,
59  *      // preceding each of them with command.
60  *      OPEN_MENU /some/dir [/some/other/dir ...] WITH command -options
61  *
62  *
63  * <Parameters> is the program to execute.
64  *
65  * ** Options for command line in EXEC:
66  * %s - substitute with current selection
67  * %a(message) - opens a input box with the message and do substitution with
68  *              what you typed
69  * %w - substitute with XID for the current focused window
70  *
71  * You can override special characters (as % and ") with the \ character:
72  * ex: xterm -T "\"Hello World\""
73  *
74  * You can also use character escapes, like \n
75  *
76  * Each MENU statement must have one mathching END statement at the end.
77  *
78  * Example:
79  *
80  * "Test" MENU
81  *      "XTerm" EXEC xterm
82  *              // creates a submenu with the contents of /usr/openwin/bin
83  *      "XView apps" OPEN_MENU "/usr/openwin/bin"
84  *              // some X11 apps in different directories
85  *      "X11 apps" OPEN_MENU /usr/X11/bin ~/bin/X11
86  *              // set some background images
87  *      "Background" OPEN_MENU ~/images /usr/share/images WITH wmsetbg -u -t
88  *              // inserts the style.menu in this entry
89  *      "Style" OPEN_MENU style.menu
90  * "Test" END
91  */
93 #include "wmmacros"
95 "Programi" MENU
96         "Informacije" MENU
97                 "Info Panel..." INFO_PANEL
98                 "Legal..." LEGAL_PANEL
99                 "Sistemska konzola" EXEC xconsole
100                 "Optereæenje sistema" EXEC xosview || xload
101                 "Lista procesa" EXEC xterm -e top
102                 "Pretra¾ivaè manuala" EXEC xman
103         "Informacije" END
104         "XTerm u boji" EXEC nxterm -sb 
105         "Rxvt" EXEC rxvt -bg black -fg white -fn fixed
106         "Xisp" EXEX xisp
107         "Radni prostori" WORKSPACE_MENU
108         "Programi" MENU
109                 "Grafika" MENU
110                         "Gimp" EXEC gimp >/dev/null
111                         "XV" EXEC xv
112                         "XPaint" EXEC xpaint
113                         "XFig" EXEC xfig
114                 "Grafika" END
115                 "X File Manager" EXEC xfm
116                 "OffiX Files" EXEC files
117                 "LyX" EXEC lyx
118                 "Netscape" EXEC netscape 
119                 "Ghostview" EXEC ghostview %a(Enter file to view)
120                 "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
121                 "TkDesk" EXEC tkdesk
122         "Programi" END
123         "Editori" MENU
124                 "XFte" EXEC xfte
125                 "XEmacs" EXEC xemacs || emacs
126                 "XJed" EXEC xjed 
127                 "NEdit" EXEC nedit
128                 "Xedit" EXEC xedit
129                 "VI" EXEC xterm -e vi
130         "Editori" END
131         "Razno" MENU
132                 "Xmcd" EXEC xmcd 2> /dev/null
133                 "Xplaycd" EXEC xplaycd
134                 "Xmixer" EXEC xmixer
135         "Razno" END
136         "Pomoæni programi" MENU
137                 "Kalkulator" EXEC xcalc
138                 "Informacije o prozoru" EXEC xprop | xmessage -center -title 'xprop' -file -
139                 "Biraè fontova" EXEC xfontsel
140                 "Emulator Terminala" EXEC xminicom
141                 "Poveæalo" EXEC xmag
142                 "Colormap" EXEC xcmap
143                 "XKill" EXEC xkill
144                 "ASClock" EXEC asclock -shape
145                 "Clipboard" EXEC xclipboard
146         "Pomoæni programi" END
148         "Odabir" MENU
149                 "Kopiraj" EXEC echo '%s' | wxcopy
150                 "Po¹alji e-po¹tu" EXEC xterm -name mail -T "Pine" -e pine %s
151                 "Otvori web-stranicu" EXEC netscape %s
152                 "Potra¾i u manualu" EXEC MANUAL_SEARCH(%s)
153         "Odabir" END
155         "Radni prostor" MENU
156                 "Sakrij ostale" HIDE_OTHERS
157                 "Poka¾i sve" SHOW_ALL
158                 "Pospremi ikone" ARRANGE_ICONS
159                 "Osvje¾i" REFRESH
160                 "Zakljuèaj" EXEC xlock -allowroot -usefirst
161                 "Snimi session" SAVE_SESSION
162                 "Obri¹i snimljeni session" CLEAR_SESSION
163         "Radni prostor" END
165         "Izgled" MENU
166                 "Teme" OPEN_MENU THEMES_DIR ~/GNUstep/Library/WindowMaker/Themes WITH setstyle
167                 "Stilovi" OPEN_MENU STYLES_DIR ~/GNUstep/Library/WindowMaker/Styles WITH setstyle
168                 "Setovi Ikona" OPEN_MENU ICON_SETS_DIR ~/GNUstep/Library/WindowMaker/IconSets WITH seticons
169                 "Pozadina" MENU
170                         "Boja" MENU
171                                 "Crna" WS_BACK '(solid, black)'
172                                 "Plava"  WS_BACK '(solid, "#505075")'
173                                 "Indigo" WS_BACK '(solid, "#243e6c")'
174                                 "Tamno plava" WS_BACK '(solid, "#180090")'
175                                 "Ljubièasta" WS_BACK '(solid, "#554466")'
176                                 "Krem"  WS_BACK '(solid, "wheat4")'
177                                 "Tamno siva"  WS_BACK '(solid, "#333340")'
178                                 "Vinska" WS_BACK '(solid, "#400020")'
179                         "Boja" END
180                         "Preljev" MENU
181                                 "Zastava" WS_BACK '(mdgradient, green, red, white, green)'
182                                 "Nebo" WS_BACK '(vgradient, blue4, white)'
183                         "Preljev" END
184                         "Slike" OPEN_MENU BACKGROUNDS_DIR ~/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
185                 "Pozadina" END
186                 "Snimi temu" EXEC getstyle -t ~/GNUstep/Library/WindowMaker/Themes/"%a(Theme name)"
187                 "Snimi set ikona" EXEC geticonset ~/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name)"
188         "Izgled" END
190         "Izlaz" MENU
191                 "Ponovo startaj" RESTART
192                 "Startaj AfterStep" RESTART afterstep
193                 "Izlaz"  EXIT
194                 "Izlaz iz sessiona..." SHUTDOWN
195         "Izlaz" END
196 "Programi" END