3 os
.execute('arrow-ion-restart')
6 submenu("terminal", "u_term"),
7 submenu("net", "u_net"),
8 submenu("edit", "u_edit"),
9 submenu("media", "u_media"),
10 submenu("game", "u_game"),
11 submenu("system", "u_man"),
12 submenu("emulate", "u_emu"),
13 submenu("compress", "u_comp"),
17 menuentry("arxvt", "os.execute('arxvt &')"),
18 menuentry("pcmanfm", "os.execute('pcmanfm &')"),
19 menuentry("tuxcmd", "os.execute('tuxcmd &')"),
22 menuentry("firefox", "os.execute('firefox &')"),
23 menuentry("mutt", "os.execute('mutt &')"),
24 menuentry("gpscar", "os.execute('gpscar &')"),
25 menuentry("fetchmail", "os.execute('fetchmail &')"),
28 menuentry("gvim", "os.execute('gvim &')"),
29 menuentry("soffice", "os.execute('soffice &')"),
30 menuentry("abiword", "os.execute('abiword &')"),
33 menuentry("xawtv", "os.execute('xawtv &')"),
34 menuentry("xvidcap", "os.execute('xvidcap &')"),
35 menuentry("recordmydesktop","os.execute('recordmydesktop &')"),
36 menuentry("camera_play", "os.execute('mplayer -fps 25 tv:// &')"),
37 menuentry("picture_show", "os.execute('gthumb &')"),
38 menuentry("audio_make", "os.execute('rosegarden &')"),
41 menuentry("tremulous", "os.execute('tremulous &')"),
42 menuentry("wesnoth", "os.execute('wesnoth &')"),
45 menuentry("lxrandr", "os.execute('lxrandr &')"),
48 menuentry("virtualbox", "os.execute('VirtualBox &')"),
49 menuentry("qemu", "os.execute('qemu &')"),
50 menuentry("dosemu", "os.execute('dosemu &')"),
53 menuentry("unrar", "os.execute('unrar &')"),
54 menuentry("tar", "os.execute('tar &')"),
55 menuentry("cabextract", "os.execute('cabextract &')"),
59 defbindings("WScreen", {
60 kpress("XF86AudioRaiseVolume", "os.execute('amixer set Master 4%+')"),
61 kpress("XF86AudioLowerVolume", "os.execute('amixer set Master 4%-')"),
62 kpress("XF86ModeLock", "os.execute('xlock')"),
65 defbindings("WInput", {
66 kpress("Control+bracketleft", "WInput.cancel(_)"),
70 menuentry("Run...", "mod_query.query_exec(_)"),
71 menuentry("Terminal", "ioncore.exec_on(_, XTERM or 'arxvt')"),
72 menuentry("Lock screen", "ioncore.exec_on(_, 'xlock')"),
73 menuentry("Help", "mod_query.query_man(_)"),
74 menuentry("About Ion", "mod_query.show_about_ion(_)"),
75 submenu("Styles", "stylemenu"),
76 submenu("Session", "sessionmenu"),
77 submenu("user", "user"),
82 --[[dopath("tabmenu");
83 ioncore.defbindings("WFrame.toplevel", {
85 kpress("N", "tabmenu.tabmenu(_, _sub, 'next')"),
86 kpress("P", "tabmenu.tabmenu(_, _sub, 'prev')"),
93 -- dopath("statusd_laptopstatus");
94 --dopath("vim-bindings");