commit ef0aab47a1b19319ee8fde1e880db28ced047649
parent 960242ad7c50d932ccc4ba60d12690b2b637f11c
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Thu, 14 Sep 2006 09:08:35 -0700
[project @ d95703e6ae2f3166effc228d5cda2808288324f2]
[project @ 94]
add shortcut for swap col#
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/wmiirc-config.rb b/wmiirc-config.rb
@@ -354,6 +354,11 @@ SHORTCUTS = {
Wmii.focus_area i
end
+ # swap the currently focused client with the one in _i_th area
+ SHORTCUTS["#{SWAP_SEQ}#{i}"] = lambda do
+ Wmii.current_client.ctl = "swap #{i}"
+ end
+
# send selection to _i_th view
SHORTCUTS["#{SEND_SEQ}#{i}"] = lambda do
Wmii.selected_clients.each do |c|