Ion scripts collection

Here are some scripts for Ion2. All of them are in the public domain unless otherwise mentioned in the source file.

Scripts

bookmarks.lua
Bookmarks support
closeorkill.lua
Kill client on second close try if it did not respond to close
heuristics.lua
Window placement heuristics for tiled workspaces
histcompl.lua
History completion support for the line editor
move_current.lua
Move current window in a frame to another frame in specified direction
mp.lua
Mark next mapped window to be attached to a specified object
detach.lua
Detach a transient at the bottom of a main window to be managed as a top-level window in the main window's frame
collapse.lua
Collapse frames on a WIonWS into a single frame
goto_multihead.lua
A version of WIonWS.goto_dir that may be useful on multihead setups.
go_frame_or_desk.lua
Goes to the frame in the specified direction. If there is no frame in the given direction, it goes to the next workspace in the direction, instead.
alt_resize.lua
Possibly more intuitive resizing bindings.

Styles

look-gtk2.lua
A theme that fits the default GTK+2 colors. It makes use of the terminus and artwiz fonts.
look-qt.lua
A drawing engine configuration file that reads settings from Qt configuration file ~/.qt/qtrc.
look-cleanpastel.lua
Similar to stock look-clean* styles, but greenish.
look-awesome.lua
Inspired by look-clean, comes fully-equipped with big, friendly tabs, tasty single-pixel borders, and a sprinkling of transparency. Makes use of the Terminus font.
look-awesome-sm.lua
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.

Instructions

Downloading a copy

This scripts collection is a darcs repository. You can download a copy of the repository by first installing darcs and then running the following command:
darcs get http://modeemi.fi/~tuomov/ion-scripts/
This will get you a fully functional copy of the repository in the directory ion-scripts.

Contributing

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:
  1. Get a copy of the repository as explained above.
  2. Repeat as many times as you want to:
    1. Make your changes and put new files in the proper directories inside your copy of the repository. Use the command darcs add filename to put newly added files under version control.
    2. Update this index.html to link to any added files.
    3. Record your changes to your local copy of the repository with the command darcs record -a. The first time you do this, darcs will prompt for your email address. You may enter it in the form Your real name <user@host>. Please use a working email address; it is not seen on a linked-to web page. The "name" of the patch is a short one-line description of your changes.
  3. Send a patch bundle of your changes and additions to me by email with the command darcs send. I will apply the changes to the online repository if they look okay, which they should in most cases unless there's an attempt to abuse the repository.

    Only Ion2 scripts in this repository, please. If there is sufficient demand, a separate repository can be created for Ion3 (which is a work-in-progress so that the scripts may stop working between releases).

For more help on using darcs, see the darcs manual.