发布时间:2015-04-12 22:46:53
F1: 移动当前窗口到左边SPACErequire 'totalspaces2'current_spaces = TotalSpaces2.current_spacewindows = TotalSpaces2.window_listif current_spaces > 1 dest_space = current_spaces - 1else dest_space = 4endif !windows.empty? current_space_windows = windows.selec.........【阅读全文】
发布时间:2014-12-20 21:49:34
require 'totalspaces2'def alfred_move_windows(reg) current_space = TotalSpaces2.current_space windows = TotalSpaces2.window_list wx = 0 wxy = 0 if !windows.empty? windows.each{|window| &nbs.........【阅读全文】
发布时间:2014-12-12 22:13:42
!/usr/bin/rubyrequire 'totalspaces2'current_space = TotalSpaces2.current_spacewindows = TotalSpaces2.window_listif current_space < 4dest_space = current_space + 1elsedest_space = 1endif !windows.empty?current_space_windows = windows.select {|window| wind.........【阅读全文】