commit 62cc5c03d0e009f052fc61ea9a851a6ad8585180
parent cdfb352abd6a5ac1daac6679b4aa5b144675a0a8
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Sun, 4 Mar 2007 22:02:48 -0800
temp view no longer takes you to existing temp views
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmiirc-config.rb b/wmiirc-config.rb
@@ -520,7 +520,7 @@ SHORTCUTS = {
# Sends grouped clients to temporary view.
MOD_PREFIX + 'b' => lambda do
src = current_tag
- dst = src + '~'
+ dst = src + '~' + Time.now.to_i.to_s
grouped_clients.each do |c|
c.tag dst
@@ -535,7 +535,7 @@ SHORTCUTS = {
MOD_PREFIX + 'Shift-b' => lambda do
t = current_tag
- if t =~ /~$/
+ if t =~ /~\d+$/
grouped_clients.each do |c|
c.with_tags do
delete t