wmiirc-config.rb

Path: wmiirc-config.rb
Last Update: Fri Nov 17 14:48:03 PST 2006

Ruby-based configuration file for wmii.

Required files

rc  

Constants

FS = Wmii.fs
PROGRAM_MENU = find_programs( ENV['PATH'].squeeze(':').split(':') )   executable programs
ACTION_MENU = find_programs('~/dry/apps/wmii/etc/wmii-3', File.dirname(__FILE__))
MOD_KEY = 'Mod1'   key & shortcut configuration
UP_KEY = 't'
DOWN_KEY = 'n'
LEFT_KEY = 'h'
RIGHT_KEY = 's'
PRIMARY_CLICK = 1
MIDDLE_CLICK = 2
SECONDARY_CLICK = 3
SEQ_PREFIX = "#{MOD_KEY}-Control-"   key sequence prefixed to all shortcuts
FOCUS_SEQ = SEQ_PREFIX
SEND_SEQ = "#{SEQ_PREFIX}m,"
SWAP_SEQ = "#{SEQ_PREFIX}w,"
LAYOUT_SEQ = "#{SEQ_PREFIX}z,"
GROUP_SEQ = "#{SEQ_PREFIX}g,"
MENU_SEQ = SEQ_PREFIX
PROGRAM_SEQ = SEQ_PREFIX
SHORTCUTS = { # focus previous view "#{FOCUS_SEQ}comma" => lambda do cycle_view :left   Shortcut key sequences and their associated logic.

[Validate]