-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
619 lines (455 loc) · 27.9 KB
/
index.html
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Notion scripts collection</title>
<link href="default.css" title="Default" rel="stylesheet" type="text/css">
</head>
<body>
<div class=title><h1>Notion scripts collection</h1></div>
Here are some scripts for Notion. All of them are in the public domain unless
otherwise mentioned in the source file.
<p>
Please note that some of the scripts are not up to date, and do
not work with the latest version. Those that are known to need
working, are <strike>over-striked</strike>. Please fix them,
if you need them.
<p>
<ul class="contents">
<li><a href="#scripts">Scripts</a>
<li><a href="#keybindings">Key bindings</a>
<li><a href="#styles">Styles</a>
<li><a href="#statusbar">Statusbar monitors</a>
<li><a href="#instructions">Instructions</a> →
<a href="#using">Using</a>,
<a href="#download">Downloading</a>,
<a href="#contrib">Contributing</a>
</ul>
<h2>Scripts</h2>
<a name="scripts"></a>
<dl>
<!-- New scripts in alphabetical order, please -->
<dt> <a href="scripts/adapt_menus.lua">adapt_menus.lua</a>
<dd> Functions for creating a hierarchy of menus for various clients
available. Key features are an attempt to organise by type hints (from
the window titles) and collapse submenus when they contain only a few items.
<dt> <strike><a href="scripts/alt_resize.lua">alt_resize.lua</a></strike>
<dd> Possibly more intuitive resizing bindings.
<dt> <a href="scripts/app.lua">app.lua</a>
<dd> Start an application if it's not running, but go to it if it's
already started. There's also a function to replace query_editfile
which will use a running emacs instance (starting it if necessary,
of course).
<dt> <a href="scripts/autoprop.lua">autoprop.lua</a>
<dd> Automatically create a winprop for the given client targeted to
the given frame. Allows them to be saved and reloaded automatically.
<dt> <a href="scripts/bindsearch.lua">bindsearch.lua</a>
<dd> Search the current bindings table by key or by command.
<dt> <a href="scripts/bookmarks.lua">bookmarks.lua</a>
<dd> Bookmarks support
<dt> <a href="scripts/cfg_dock2.lua">cfg_dock2.lua</a>
<dd> A dock configuration with lots of added control.
<dt> <strike><a href="scripts/closeorkill.lua">closeorkill.lua</a></strike>
<dd> Kill client on second close try if it did not respond to close
<dt> <a href="scripts/collapse.lua">collapse.lua</a>
<dd> Collapse frames on a WTiling into a single frame
<dt> <a href="scripts/ctrl_statusbar.lua">ctrl_statusbar.lua</a>
<dd> Menu-driven controller for the statusbar. Modules can be enabled/
disabled from the menu, without requiring to edit the configuration file.
<dt> <a href="scripts/cwin_sp.lua">cwin_sp.lua</a>
<dd> Create per-clientwin scratchpads
<dt> <a href="scripts/document_menus.lua">document_menus.lua</a>
<dd> Navigate the filesystem using notion menus.
<dt> <a href="scripts/enumerate.lua">enumerate.lua</a>
<dd> Adds "X." in front of the client windows, which may make switching
between client-windows with MOD+n a little easier .
<dt> <a href="scripts/environment_placement_hook.lua">environment_placement_hook.lua</a>
<dd> Linux-only placement hook which detects the presence of an ION_USE_WS
environment variable in the processes of new windows, and uses that to
determine where to place them.
<dt> <a href="scripts/exec_show.lua">exec_show.lua</a>
<dd> Execute some shell-command (tail, head, grep etc) and display the result.
<dt> <a href="scripts/float-sb.lua">float-sb.lua</a>
<dd> Example of a floating toggleable statusbar.
<dt> <a href="scripts/frame_client_menu.lua">frame_client_menu.lua</a>
<dd> Adds a 'Client windows' submenu to a frame's context menu, the menu contains all the clients in the current frame.
<dt> <strike><a href="scripts/go_frame_or_desk.lua">go_frame_or_desk.lua</a></strike>
<dd> DEPRECATED. Use wrap_workspace_or_screen instead. (selects frame in the specified direction. If there is
no frame at that location, instead the next workspace
in the direction becomes active)
<dt> <a href="scripts/goto_by_tag.lua">goto_by_tag.lua</a>
<dd> Sets focus to the first client with a given tag. This tag is defined
using a winprop. For example you might give the tag "B" to your browser and
then use the binding META+U B to directly jump to your browser.
<dt> <a href="scripts/goto_multihead.lua">goto_multihead.lua</a>
<dd> A version of <tt>goto_dir</tt> that may be useful on
multihead setups.
<dt> <strike><a href="scripts/heuristics.lua">heuristics.lua</a></strike>
<dd> Window placement heuristics for tiled workspaces
<dt> <a href="scripts/histcompl.lua">histcompl.lua</a>
<dd> History completion support for the line editor
<dt> <a href="scripts/lock_frame.lua">lock_frame.lua</a>
<dd> 'Lock' selected frames so they don't close via the keyboard.
<dt> <a href="scripts/min_tabs.lua">min_tabs.lua</a>
<dd> Show tabs precisely when two or more windows in an notion frame
<dt> <a href="scripts/move_current.lua">move_current.lua</a>
<dd> Move current window in a frame to another frame in specified
direction
<dt> <strike><a href="scripts/mp.lua">mp.lua</a></strike>
<dd> Mark next mapped window to be attached to a specified object
<dt> <a href="scripts/mpd.lua">mpd.lua</a>
<dd> Control a MusicPD server
<dt> <a href="scripts/named_floating_groupws.lua">named_floating_groupws.lua</a>
<dd> Toggle (and create) floating WGroupWS:s by name.
<dt> <a href="scripts/named_scratchpad.lua">named_scratchpad.lua</a>
<dd> Toggle (and create) scratchpads by name.
<dt> <a href="scripts/net_client_list.lua">net_client_list.lua</a>
<dd> Maintain the _NET_CLIENT_LIST property (and the
_NET_CLIENT_LIST_STACKING property incorrectly) on the root window.
<dt> <strike><a href="scripts/nest_ws.lua">nest_ws.lua</a></strike>
<dd> Attach workspaces to windows, to e.g. have a WIonWS inside a
WFloatWS, or vice versa
<dt> <a href="scripts/nextact.lua">nextact.lua</a>
<dd> Go to first found region with activity flag set.
<dt> <a href="scripts/notifybox.lua">notifybox.lua</a>
<dd> Show notification boxes, similar to the activity notification.
<dt> <a href="scripts/nowarp_scratchpad.lua">nowarp_scratchpad.lua</a>
<dd> Keeps notion from warping the pointer when activating a scratchpad
region.
<dt> <a href="scripts/panel.lua">panel.lua</a>
<dd> Facilitates placing arbitrary windows with the <tt>is_panel</tt>
winprop set to true, as the stdisp.
<dt> <a href="scripts/query_url.lua">query_url.lua</a>
<dd> Open a URL, completing on Opera bookmark file. Should be easy to
support other browsers.
<dt> <a href="scripts/rotate_statusbar.lua">rotate_statusbar.lua</a>
<dd> Rotate the statusbar between different templates. This will
automatically load all of the modules for notion-statusd.
<dt> <a href="scripts/rss_feed.lua">rss_feed.lua</a>
<dd> A simple rss-reader script
<dt> <a href="scripts/rss_feed_hh.lua">rss_feed_hh.lua</a>
<dd> Some small improvements to match rss_feed my personal taste.
<dt> <a href="scripts/schedule.lua">schedule.lua</a>
<dd> Schedule some messages to show up at specified times in the statusbar.
<dt> <strike><a href="scripts/send_to_ws.lua">send_to_ws.lua</a></strike>
<dd> Quickly send to another workspace.
<dt> <a href="scripts/show_submap.lua">show_submap.lua</a></dt>
<dd> Displays an infowin with the currently active submap.</dd>
<dt> <a href="scripts/simple_bindings.lua">simple_bindings.lua</a></dt>
<dd> Add a first pass at the simple bindings script.</dd>
<dt> <a href="scripts/stock.lua">stock.lua</a></dt>
<dd> An applet for retrieving and displaying stock market information
from <a href="http://finance.yahoo.com">http://finance.yahoo.com.</a>
You can set up a portfolio and monitor its intraday performance.</dd>
<dt> <a href="scripts/switch_bindings.lua">switch_bindings.lua</a>
<dd> Switch between key-bindings. You can temporarily disable keybindings and
restore them later when necessary.
<dt> <a href="scripts/tabmenu.lua">tabmenu.lua</a>
<dd> A grabmenu-based alternative to tabs.
<dt> <strike><a href="scripts/weather.lua">weather.lua</a></strike></dt>
<dd> This script allows you to retreive weather information from one or more
weather observation stations and display it in the statusbar.</dd>
<dt> <a href="scripts/wrap_workspace_or_screen.lua">wrap_workspace_or_screen.lua</a></dt>
<dd> When switching focus over the border of a workspace, wrap to the next
workspace or screen.</dd>
<dt> <strike><a href="scripts/xinerama_switcher.lua">xinerama_switcher.lua</a></strike></dt>
<dd> DEPRECATED. Use wrap_workspace_or_screen instead. (This is similar to (and base on) <a
href="scripts/go_frame_or_desk.lua">go_frame_or_desk.lua</a> but adds
the ability to move between screens too. Left/right switch between
screens, up/down between workspaces.)</dd>
<dt> <a href="scripts/xkbion.lua">xkbion.lua</a></dt>
<dd> This script allows you to use independent keyboard layouts for different windows in Notion.
It uses a window property to store the XKB groups, so you can restart Notion without losing
settings for each window.</dd>
<dt> <a href="scripts/zoom.lua">zoom.lua</a>
<dd> Simulates larswm-like window zooming.
</dl>
<h2>Key bindings</h2>
<a name="keybindings"></a>
<dl>
<!-- New scripts in alphabetical order, please -->
<dt> <a href="keybindings/cfg_mouse.lua">cfg_mouse.lua</a>
<dd> Make the mouse pull its weight. </dd>
<dt> <a href="keybindings/dans_bindings.lua">dans_bindings.lua</a>
<dd> Keybindings for more intuitive WIonWS navigation.</dd>
<dt> <a href="keybindings/emacs_bindings.lua">emacs_bindings.lua</a>
<dd> Emacs-like keybindings </dd>
<dt> <a href="keybindings/vim_bindings.lua">vim_bindings.lua</a>
<dd> Vim-like keybindings for Notion queries.</dd>
</dl>
<h2>Styles</h2>
<a name="styles"></a>
<dl>
<!-- New scripts in alphabetical order, please -->
<dt> <a href="styles/look_alex.lua">look_alex.lua</a>
<dd> Black tabs, green text and borders.
<dt> <a href="styles/look_asm.lua">look_asm.lua</a></dt>
<dd> A clean grey-blue theme with not too big tabs.</dd>
<dt> <a href="styles/look_atme.lua">look_atme.lua</a>
<dd> A style which just looks nice.
<dt> <a href="styles/look_awesome.lua">look_awesome.lua</a>
<dd> Inspired by look_clean, comes fully-equipped with big, friendly
tabs, tasty single-pixel borders, and a sprinkling of transparency.
Makes use of the
<a href="http://www.is-vn.bg/hamster/jimmy-en.html">Terminus</a>
font.
<dt> <a href="styles/look_awesome_sm.lua">look_awesome_sm.lua</a>
<dd> A style based on look_awesome above, but with smaller
fonts and paddings and no transparency by default.
This style makes use of the 'nexus' font for tabs.
<dt> <a href="styles/look_awesome_yaarg.lua">look_awesome_yaarg.lua</a>
<dd> A style based on look-awesome-sm above, but with darker colours
to give a more somber feel.
<dt> <a href="styles/look_bas.lua">look_bas.lua</a>
<dd> A style which colors fit the mozilla-bb background. It makes
use of the techy artwiz font.
<dt> <a href="styles/look_blue.lua">look_blue.lua</a>
<dd> A blue/gray theme based on look_violet.lua, with a nice clean look.
<dt> <a href="styles/look_bluecurve.lua">look_bluecurve.lua</a>
<dd> A theme that fits the colors of the bluecurve-theme by
<a href="http://www.redhat.com">Redhat</a>
<dt> <a href="styles/look_cleanpastel.lua">look_cleanpastel.lua</a>
<dd> Similar to stock look-clean* styles, but greenish.
<dt> <a href="styles/look_cleansteel.lua">look_cleansteel.lua</a>
<dd> The stock look-brownsteel style with borders removed on tiled
workspaces for cleaner look.
<dt> <a href="styles/look_cleansteel_trans.lua">look_cleansteel_trans.lua</a>
<dd> Based on look_cleansteel, but with transparent backgrounds,
smaller font sizes, and a coloured notification.
<dt> <a href="styles/look_cleanwhite.lua">look_cleanwhite.lua</a>
<dd> A bright theme that fits white terminals and white Emacs
windows.
<dt> <a href="styles/look_cool.lua">look_cool.lua</a>
<dd> A style based on look-awesome, made to fit the KDE color scheme
"plastic-grey". Made by Steffen Liebergeld (26.08.2004).
<dt> <a href="styles/look_gtk2.lua">look_gtk2.lua</a>
<dd> A theme that fits the default GTK+2 colors. It makes use of the
terminus and artwiz fonts.
<dt> <a href="styles/look_minimalist.lua">look_minimalist.lua</a>
<dd> A simple gold/red style with relatively large frame borders
designed to increase usability with the minimal tabs modification.
<dt> <a href="styles/look_moy.lua">look_moy.lua</a>
<dd> Grey and violet simple theme.
<dt> <a href="styles/look_ootput.lua">look_ootput.lua</a>
<dd> A non-obtrusive style with clear distinctions between active borders
and less active borders. This style makes use of the
<a href="http://www.tobias-jung.de/seekingprofont/index.html">Profont</a> font.
<dt> <a href="styles/look_ootput_dark.lua">look_ootput_dark.lua</a>
<dd> A darker version of look_ootput that is easier on the eyes.
<dt> <a href="styles/look_outback.lua">look_outback.lua</a>
<dd> A warm style with sandy hints and distinctive contrast.
<a href="http://www.csh.rit.edu/~apox/images/screenshots/20080408.png">Screenshot</a>.
<dt> <a href="styles/look_qt.lua">look_qt.lua</a>
<dd> A drawing engine configuration file that reads settings
from <a href="http://trolltech.com/products/qt/">Qt</a>
configuration file ~/.qt/qtrc.
<dt> <a href="styles/look_tibi.lua">look_tibi.lua</a>
<dd> A style which clearly emphasizes active elements and thus
lets you quickly recognize them. The `accent' color is
configurable.
<dt> <a href="styles/look_tiny.lua">look_tiny.lua</a>
<dd> A major modification of look_minimalist, aiming to keep
everything small while not making anything unattractive.
<dt> <a href="styles/look_tiny_min_tabs.lua">look_tiny_min_tabs.lua</a>
<dd> A major modification of look_minimalist, aiming to keep
everything small while not making anything unattractive.
For use with min_tabs.
<dt> <a href="styles/look_whitecode.lua">look_whitecode.lua</a>
<dd> Clean white/light grey theme. Comes handy for glare displays as
reflection is not as evil as with a dark theming.
I recommend background color #808080 for a cool look in floating
workspaces.
<small>(Tested only on my LCD, so no idea what it looks like on a CRT)</small>
</dl>
<h2>Statusbar</h2>
<a name="statusbar"></a>
All statusbar monitors are loaded automatically based on the statusbar
template. <strong>Do not attempt to load them manually</strong> (especially
not the statusd scripts). Please see <a href="#instructions">instructions</a>
below for more information.
<h3>Internal monitors</h3>
<a name="statusbar-internal"></a>
<dl>
<!-- New scripts in alphabetical order, please -->
<dt> <a href="statusbar/statusbar_act.lua">statusbar_act.lua</a>
<dd> Activity (urgency flag, new unacted-upon transients, etc.)
display for the statusbar.
<dt> <a href="statusbar/statusbar_external.lua">statusbar_external.lua</a>
<dd> Show output of external programs or scripts in statusbar. If you are using ion-3ds-20060107 or later, using <a href="statusd/statusd_exec.lua">statusd_exec.lua</a> instead of this old version is suggested.
<dt> <a href="statusbar/statusbar_fname.lua">statusbar_fname.lua</a>
<dd> Show the focused frame name in the statusbar.
<dt> <a href="statusbar/statusbar_workspace.lua">statusbar_workspace.lua</a>
<dd> Show current workspace name in statusbar, or a list of workspace numbers with the active one indicated.
<dt> <a href="statusbar/statusbar_wsname.lua">statusbar_wsname.lua</a>
<dd> Shows the current workspace name in the statusbar, can also show a list of workspaces and indicate the current one. The current workspace indicator is customizable. This script also allows for per-head workspace information.
</dl>
<h3>Notion-statusd monitors</h3>
<a name="statusd"></a>
These monitors are run within the separate <tt>notion-statusd</tt> program.
Note that many of them depend on the Linux <tt>/proc</tt> filesystem and
thus will not work on other systems.
<dl>
<!-- New scripts in alphabetical order, please -->
<dt> <a href="statusd/statusd_amarok.lua">statusd_amarok.lua</a>
<dd> Notion-statusd monitor reporting the current song from <a href="http://amarok.kde.org/">Amarok</a>.
<dt> <a href="statusd/statusd_apm.lua">statusd_apm.lua</a>
<dd> Notion-statusd monitor reporting APM status; works on OpenBSD 4.0 by executing
external program every minute. Now with hints for battery state and
external A/C connection.
<dt> <a href="statusd/statusd_apm2.lua">statusd_apm2.lua</a>
<dd> Notion-statusd monitor reporting APM status; works on FreeBSD by executing apm as an external program every minute. Added hints for a bit more color. Even though this is apm2, save it as statusd_apm.lua.
<dt> <a href="statusd/statusd_batt.lua">statusd_batt.lua</a>
<dd> Notion-statusd monitor reporting battery status; works with apm.
<dt> <a href="statusd/statusd_binclock.lua">statusd_binclock.lua</a>
<dd> Notion-statusd binary clock in two possible modes: Plain binary (numbers) and character mode (dots, lines, etc).
<dt> <a href="statusd/statusd_bitcoin.lua">statusd_bitcoin.lua</a>
<dd> Notion-statusd monitor reporting bitcoin speed in khash/s and balance
<dt> <a href="statusd/statusd_bsdbatt.lua">statusd_bsdbatt.lua</a>
<dd> Notion-statusd monitor for FreeBSD ACPI CMBATT status. Uses the sysctl interface.</dd>
<dt> <a href="statusd/statusd_cpufreq.lua">statusd_cpufreq.lua</a>
<dd> Notion-statusd monitor reporting current CPU speed in KHz, MHz, or GHz. Uses the <code>/proc</code> filesystem and <code>cpufreq</code>.
<dt> <a href="statusd/statusd_cpuspeed.lua">statusd_cpuspeed.lua</a>
<dd> Notion-statusd monitor reporting current CPU speed; works with apm.
<dt> <a href="statusd/statusd_cpustat.lua">statusd_cpustat.lua</a>
<dd> Notion-statusd monitor reporting current CPU stats using the Linux <code>/proc/stat</code> interface.
<dt> <a href="statusd/statusd_df.lua">statusd_df.lua</a>
<dd> Notion-statusd monitor reporting free disk space. Depends on <code>df</code>.
<dt> <a href="statusd/statusd_dgs.lua">statusd_dgs.lua</a>
<dd> Notion-statusd monitor reporting on any games waiting for a move
on <a href="www.dragongoserver.net">www.dragongoserver.net</a>.
<dt> <a href="statusd/statusd_drives.lua">statusd_drives.lua</a>
<dd> Notion-statusd monitor reporting on connected drives
<dt> <a href="statusd/statusd_exec.lua">statusd_exec.lua</a>
<dd> Show output of external programs or scripts in statusbar. Uses non-blocking reads and can be used with both continously outputting and periodically run programs. Allows highlighting with regexp matching.
<dt> <a href="statusd/statusd_flashing.lua">statusd_flashing.lua</a>
<dd> Notion-statusd multi-purpose monitor. Show blinking alarms when some defined files or directories have changed. It can be used to monitor email inboxes, security logs, etc.
<dt> <a href="statusd/statusd_fortune.lua">statusd_fortune.lua</a>
<dd> Notion-statusd monitor displaying fortunes.
<dt> <a href="statusd/statusd_iface.lua">statusd_iface.lua</a>
<dd> Notion-statusd monitor reporting currently used network
interface.
<dt> <a href="statusd/statusd_inetaddr.lua">statusd_inetaddr.lua</a>
<dd> Notion-statusd monitor reporting current IP address from ifconfig.
<dt> <a href="statusd/statusd_info.lua">statusd_info.lua</a>
<dd> Notion-statusd monitor reporting current CPU, RAM, and swap usage. Depends on <code>top</code> and <code>free</code>.
<dt> <a href="statusd/statusd_iwinfo.lua">statusd_iwinfo.lua</a>
<dd> Notion-statusd monitor reporting minimal wireless info.
<dt><a href="statusd/statusd_laptopstatus.lua">statusd_laptopstatus.lua</a>
<dd> Notion-statusd monitor reporting CPU speed & temperature and battery status; works with acpi.
<dt><a href="statusd/statusd_linuxbatt.lua">statusd_linuxbatt.lua</a>
<dd> Notion-statusd monitor reporting battery percentage and status using the Linux <code>/proc/acpi</code> interface.
<dt><a href="statusd/statusd_maildir.lua">statusd_maildir.lua</a>
<dd> Notion-statusd monitor showing mailcount of a Maildir.
<dt><a href="statusd/statusd_mcpu.lua">statusd_mcpu.lua</a>
<dd> Notion-statusd monitor reporting multiple CPUs usage (average and per-CPU); works with <code>/proc/stat</code>.
<dt><a href="statusd/statusd_mem.lua">statusd_mem.lua</a>
<dd> Notion-statusd monitor reporting current memory usage with selective alarms and non blocking I/O. Depends on Linux <code>free</code> command.
<dt><a href="statusd/statusd_meminfo.lua">statusd_meminfo.lua</a>
<dd> Notion-statusd monitor reporting current memory and swap usage. Depends on the Linux <code>/proc/meminfo</code> interface.
<dt><a href="statusd/statusd_moc.lua">statusd_moc.lua</a>
<dd> Notion-statusd monitor reporting <a href="http://moc.daper.net">moc</a> information and status.
<dt> <a href="statusd/statusd_mocmon.lua">statusd_mocmon.lua</a>
<dd> Notion-statusd monitor reporting <a href="http://moc.daper.net">moc</a> information. This is actually
just a modification of <a href="statusd/statusd_xmmsip.lua">statusd_xmmsip.lua</a> using the idea of
non-blocking I/O as shown in <a href="statusd/statusd_mocp.lua">statusd_mocp.lua</a>.
<dt><a href="statusd/statusd_mocp.lua">statusd_mocp.lua</a>
<dd> Notion-statusd monitor reporting <a href="http://moc.daper.net">moc</a>
status. This is a stripped down, non-blocking I/O version of the
above. It is useful with
<a href="scripts/rotate_statusbar.lua">rotate_statusbar.lua</a>.
<dt><a href="statusd/statusd_mpd-socket.lua">statusd_mpd-socket.lua</a>
<dd> Notion-statusd monitor reporting <a href="http://www.musicpd.org">mpd</a> information and status. Uses a socket interface to avoid some performance issues with the original.
<dt><a href="statusd/statusd_mpd.lua">statusd_mpd.lua</a>
<dd> Notion-statusd monitor reporting <a href="http://www.musicpd.org">mpd</a> information and status.
<dt><a href="statusd/statusd_netmon.lua">statusd_netmon.lua</a>
<dd> Notion-statusd network monitor reporting network activity.
<dt><a href="statusd/statusd_nginfo.lua">statusd_nginfo.lua</a>
<dd> Notion-statusd monitor reporting Nagios server(s) status.
<dt><a href="statusd/statusd_nmaild.lua">statusd_nmaild.lua</a>
<dd> Notion-statusd Maildir monitor with selective alarms, counters for different filters and optional command launcher when a new email is detected.
<dt><a href="statusd/statusd_orpheus.lua">statusd_orpheus.lua</a>
<dd> Notion-statusd monitor reporting song currently being played by orpheus.
<dt><a href="statusd/statusd_pytone.lua">statusd_pytone.lua</a>
<dd> Notion-statusd monitor reporting song currently being played by pytone.
<dt><a href="statusd/statusd_sysmon.lua">statusd_sysmon.lua</a>
<dd> Notion-statusd monitor for reporting various system resources.
<dt><a href="statusd/statusd_ticker.lua">statusd_ticker.lua</a>
<dd> Notion-statusd monitor which scrolls the output of specified programs.
<dt><a href="statusd/statusd_uname.lua">statusd_uname.lua</a>
<dd> Notion-statusd monitor for reporting uname. It is primarily a simple
example of how to use statusd.popen_bgread() with coroutines for
non-blocking I/O.
<dt><a href="statusd/statusd_uptime.lua">statusd_uptime.lua</a>
<dd> Notion-statusd monitor reporting the system uptime.
<dt><a href="statusd/statusd_volume.lua">statusd_volume.lua</a>
<dd> Notion-statusd monitor reporting sound volume values (currently, master and pcm). Depends on aumix.
<dt><a href="statusd/statusd_volume2.lua">statusd_volume2.lua</a>
<dd> Notion-statusd monitor reporting master sound volume and state (on or muted). Depends on <code>amixer</code>. Despite being named "statusd_volume2.lua", the script needs to be relabeled "statusd_volume.lua" to work.
<dt><a href="statusd/statusd_weather.lua">statusd_weather.lua</a>
<dd> Notion-statusd monitor reporting weather.
<dt><a href="statusd/statusd_xmms.lua">statusd_xmms.lua</a>
<dd> Notion-statusd monitor reporting song currently selected in xmms' playlist.
<dt> <a href="statusd/statusd_xmms2.lua">statusd_xmms2.lua</a>
<dd> Song as "Artist - Title"
<dt> <a href="statusd/statusd_xmmsip.lua">statusd_xmmsip.lua</a>
<dd> Notion-statusd monitor(s) reporting information from a xmms-infopipe-plugin's pipe.
Can be customized in various ways.
</dl>
<!--See the Wiki for
<a href="http://wiki.ael.be/ion/index.php/LuaScripts">more</a> scripts,
and add your own.-->
<h2>Instructions</h2>
<a name="instructions"></a>
<h3>Using</h3>
<a name="using"></a>
To use any of the scripts, follow these directions.
<ol>
<li>Create the directory <tt>~/.notion/</tt>, if it does not exist yet.
<li>Copy the script in this directory.
<li>Depending on the type of script, do the following.
<dl>
<!-- Extra space in tag to not confuse verify_index.pl hack -->
<dt >Proper scripts
<dd>Copy <tt>cfg_notion.lua</tt> in <tt>~/.notion/</tt>, if it does not
contain one already. This file can usually be found in either
<tt>/usr/local/etc/notion/</tt> or <tt>/etc/X11/notion/</tt>.
Then add the suitably modified line
<pre>
dopath("name of script without extension")
</pre>
at the end of the file (in <tt>~/.notion/</tt>).
<dt >Statusbar
<dd>Make sure you have <tt>cfg_statusbar.lua</tt> in <tt>~/.notion/</tt>,
and add one of the monitors provided by the script in the template
<em>without</em> the <tt>statusd_</tt> or such prefix.
<dt >Styles
<dd>That's it. You can choose <tt>styles/refresh-list</tt> from
the <b>F12</b> main menu to have a running instance of Ion
find it, and then choose the style from the same menu.
</dl>
</ol>
Some scripts may need further setup. For more information, see
the scripts themselves, and the
<a href="http://notion.sourceforge.net/notionconf"
>documentation</a>.
<h3>Downloading a copy</h3>
<a name="download"></a>
A copy of this collection is shipped with each release of Notion.
If you really need the latest version get it from git:
<pre>
git clone git://notion.git.sourceforge.net/gitroot/notion/contrib
</pre>
This will get you a fully functional copy of the repository in the
directory <tt>contrib</tt>.
<p>
To update a previously downloaded repository, use <tt>git pull</tt>.
The command <tt>git log </tt> can be used to view the list of
changes, and there is also an
<a href="http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/contrib;a=atom">RSS feed</a>
of the most
<a href="http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/contrib;a=summary">recent changes</a>.
<h3>Contributing</h3>
<a name="contrib"></a>
This section needs to be improved. For now, create a patch and submit it to the <a href="http://sourceforge.net/tracker/?group_id=314802&atid=1324530">sf.net patches tracker</a>, publish it on the <a href="http://sourceforge.net/mail/?group_id=314802">mailinglists</a>, or both.
</body>
</html>