wmiirc-rumai

git clone git://oldgit.suckless.org/wmiirc-rumai/
Log | Files | Refs | README | LICENSE

commit c42624486a572ad17ea7155a209d0b6c07c471b6
parent 3fb5c77a3592d0dad76cee3c5741248e8fa99208
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date:   Sat, 28 Apr 2007 00:09:54 -0700

change key for toggling of client's grouping from 'g' to 'c'

add shortcuts for grouping by floating and managed areas

Diffstat:
wmiirc-config.rb | 34+++++++++++++++++++++++++++++-----
1 file changed, 29 insertions(+), 5 deletions(-)

diff --git a/wmiirc-config.rb b/wmiirc-config.rb @@ -373,11 +373,11 @@ EOF # client grouping # include/exclude the currently focused client from the grouping - key Key::GROUP + 'g' do + key Key::GROUP + 'c' do current_client.toggle_grouping end - # include all clients in the currently focused view in the grouping + # include all clients in the currently focused view into the grouping key Key::GROUP + 'v' do current_view.group end @@ -387,16 +387,40 @@ EOF current_view.ungroup end - # include all clients in the currently focused column in the grouping - key Key::GROUP + 'c' do + # include all clients in the currently focused area into the grouping + key Key::GROUP + 'a' do current_area.group end # exclude all clients in the currently focused column from the grouping - key Key::GROUP + 'Shift-c' do + key Key::GROUP + 'Shift-a' do current_area.ungroup end + # include all clients in the floating area into the grouping + key Key::GROUP + 'f' do + current_view.floating_area.group + end + + # exclude all clients in the currently focused column from the grouping + key Key::GROUP + 'Shift-f' do + current_view.floating_area.ungroup + end + + # include all clients in the managed areas into the grouping + key Key::GROUP + 'm' do + current_view.columns.each do |c| + c.group + end + end + + # exclude all clients in the managed areas from the grouping + key Key::GROUP + 'Shift-m' do + current_view.columns.each do |c| + c.ungroup + end + end + # invert the grouping in the currently focused view key Key::GROUP + 'i' do current_view.toggle_grouping