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
|
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Ion scripts collection</title>
<link href="default.css" title="Default" rel="stylesheet" type="text/css">
</head>
<body>
<div class=title><h1>Ion3 scripts collection</h1></div>
Here are some scripts for Ion3. All of them are in the public domain unless
otherwise mentioned in the source file.
<p>
Scripts that have yet to be converted from Ion2 to Ion3 are
<strike>over-striked</strike>.
<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="#statusd">Ion-statusd monitors</a>
<li><a href="#instructions">Instructions</a> →
<a href="#download">Downloading</a>,
<a href="#contrib">Contributing</a>
</ul>
<h2>Scripts</h2>
<a name="scripts"></a>
<dl>
<!-- Updated scripts first in alphabetical order, please -->
<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/collapse.lua">collapse.lua</a>
<dd> Collapse frames on a WIonWS into a single frame
<dt> <a href="scripts/cwin_sp.lua">cwin_sp.lua</a>
<dd> Create per-clientwin scratchpads
<dt> <a href="scripts/detach.lua">detach.lua</a>
<dd> Fancy management of transcient window. Allows you to manage
transcient windows (and even other) in a floating workspace on top
of your traditional workspace, or in the scratchpad.
<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/go_frame_or_desk.lua">go_frame_or_desk.lua</a>
<dd> 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/min_tabs.lua">min_tabs.lua</a>
<dd> Show tabs precisely when two or more windows in an ion frame
<dt> <a href="scripts/nest-ws.lua">nest-ws.lua</a>
<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/rss_feed.lua">rss_feed.lua</a>
<dd> A simple rss-reader script in lua for ion.
<dt> <a href="scripts/schedule.lua">schedule.lua</a>
<dd> Schedule some messages to show up at specified times in the statusbar.
<dt> <a href="scripts/statusbar_external.lua">statusbar_external.lua</a>
<dd> Show output of external programs or scripts in statusbar.
<dt> <a href="scripts/wcirculate.lua">wcirculate.lua</a>
<dd> Grabbed menu for activation history based cycling of windows.
<dt> <a href="scripts/zoom.lua">zoom.lua</a>
<dd> Simulates larswm-like window zooming.
<dt> <strike><a href="scripts/bookmarks.lua">bookmarks.lua</a></strike>
<dd> Bookmarks support
<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> <strike><a href="scripts/heuristics.lua">heuristics.lua</a></strike>
<dd> Window placement heuristics for tiled workspaces
<dt> <strike><a href="scripts/histcompl.lua">histcompl.lua</a></strike>
<dd> History completion support for the line editor
<dt> <strike><a href="scripts/move_current.lua">move_current.lua</a></strike>
<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> <strike><a href="scripts/goto_multihead.lua">goto_multihead.lua</a></strike>
<dd> A version of <tt>WIonWS.goto_dir</tt> that may be useful on
multihead setups.
<dt> <strike><a href="scripts/alt_resize.lua">alt_resize.lua</a></strike>
<dd> Possibly more intuitive resizing bindings.
</dl>
<h2>Key bindings</h2>
<a name="keybindings"></a>
<dl>
<!-- Updated scripts first in alphabetical order, please -->
<dt> <a href="keybindings/emacs-bindings.lua">emacs-bindings.lua</a>
<dd> Emacs-like keybindings for Ion </dd>
</dl>
<h2>Styles</h2>
<a name="styles"></a>
<dl>
<!-- Updated scripts first in alphabetical order, please -->
<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_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_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> <strike><a href="styles/look-awesome.lua">look-awesome.lua</a></strike>
<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></strike>
font.
<dt> <strike><a href="styles/look-awesome-sm.lua">look-awesome-sm.lua</a></strike>
<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> <strike><a href="styles/look-cleanpastel.lua">look-cleanpastel.lua</a></strike>
<dd> Similar to stock look-clean* styles, but greenish.
<dt> <strike><a href="styles/look-cool.lua">look-cool.lua</a></strike>
<dd> A style based on look-awesome, made to fit the KDE color scheme
"plastic-grey". Made by Steffen Liebergeld (26.08.2004).
<dt> <strike><a href="styles/look-gtk2.lua">look-gtk2.lua</a></strike>
<dd> A theme that fits the default GTK+2 colors. It makes use of the
terminus and artwiz fonts.
<dt> <strike><a href="styles/look-qt.lua">look-qt.lua</a></strike>
<dd> A drawing engine configuration file that reads settings
from <a href="http://trolltech.com/products/qt/">Qt</a></strike>
configuration file ~/.qt/qtrc.
</dl>
<h2>Ion-statusd monitors</h2>
<a name="statusd"></a>
These scripts are for monitoring various system resources and such,
and they are run within in the <tt>ion-statusd</tt> program, not
ion itself, and thus you should not attempt to load them with
<tt>dopath</tt>. They are loaded automatically.
<p>
Note that many of these monitors that monitor system resources
are Linux-specific using files in /proc.
<dl>
<dt> <a href="statusd/statusd_batt.lua">statusd_batt.lua</a>
<dd> Ion-statusd monitor reporting battery status; works with apm.
<dt> <a href="statusd/statusd_cpuspeed.lua">statusd_cpuspeed.lua</a>
<dd> Ion-statusd monitor reporting current cpu speed; works with apm.
<dt> <a href="statusd/statusd_iface.lua">statusd_iface.lua</a>
<dd> Ion-statusd monitor reporting currently used network
interface.
<dt> <a href="statusd/statusd_inet_addr.lua">statusd_inet_addr.lua</a>
<dd> Ion-statusd monitor reporting current IP address from ifconfig.
<dt> <a href="statusd/statusd_iw_info_min.lua">statusd_iw_info_min.lua</a>
<dd> Ion-statusd monitor reporting minimal wireless info.
<dt><a href="statusd/statusd_mpd.lua">statusd_mpd.lua</a>
<dd> Ion-statusd monitor reporting song currently being played by mpd.
<dt><a href="statusd/statusd_sysmon.lua">statusd_sysmon.lua</a>
<dd> Ion-statusd monitor for reporting various system resources.
<dt><a href="statusd/statusd_uptime.lua">statusd_uptime.lua</a>
<dd> Ion-statusd monitor reporting the system uptime.
<dt><a href="statusd/statusd_netmon.lua">statusd_netmon.lua</a>
<dd> Ion-statusd network monitor reporting network activity.
</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>Downloading a copy</h3>
<a name="download"></a>
This scripts collection is a
<a href="http://darcs.net/">darcs</a> repository. You can
download a copy of the repository by first
<a href="http://www.scannedinavian.org/DarcsWiki/CategoryBinaries">installing</a>
darcs and then running the command
<pre>
darcs get http://iki.fi/tuomov/repos/ion-scripts-3/
</pre>
This will get you a fully functional copy of the repository in the
directory <tt>ion-scripts-3</tt>.
<p>
To update a previously downloaded repository, use <tt>darcs pull</tt>.
The command <tt>darcs changes</tt> can be used to view the list of
changes, and there is also an
<a href="http://iki.fi/tuomov/repos/_rss/ion-scripts-3.rss">RSS feed</a>
of the most
<a href="http://iki.fi/tuomov/repos/_log/ion-scripts-3.html.gz">recent changes</a>.
<h3>Contributing</h3>
<a name="contrib"></a>
If you have any scripts that you would like to see added here, or would
like to improve upon the existing scripts, please use the following
procedure:
<ol>
<li> Get a copy of the repository as explained above.
<li> Repeat as many times as you want to:
<ol>
<li> Make your changes and put new files in the proper directories
inside your copy of the repository. Use the command
<tt>darcs add <i>filename</i></tt> to put newly added files under
version control.
<li> Update this <tt>index.html</tt> to link to any added files,
<em>in alphabetical order</em>.
<li> Record your changes to your local copy of the repository with the
command <tt>darcs record -a</tt>.
<p class="note">
The first time you do this, darcs
will prompt for your email address. The preferred format is
<em>Your real name <user@host></em>. The address should
not be visible on a linked-to page unencrypted.
The name of the patch is a short one-line summary of your
changes.
</p>
</ol>
<li> Send your patches to me by email with the command <tt>darcs send</tt>.
I will apply them to the online repository if they look okay.
<p class="note">
If you can't for some reason send this way, use the <tt>-o</tt>
option and send the output normally as an attachment. Please
begin the subject line with 'darcs patch'.
</p>
</ol>
For more help on using darcs, see the
<a href="http://darcs.net/manual/">darcs manual</a>.
</body>
</html>
|