From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.50.47 with SMTP id y35csp214986yhb; Mon, 7 May 2012 21:20:03 -0700 (PDT) Received: by 10.229.47.206 with SMTP id o14mr8541370qcf.16.1336450803562; Mon, 07 May 2012 21:20:03 -0700 (PDT) Return-Path: <9front+bncCP2Z1en5GxDyvaL9BBoE7Sw7lA@googlegroups.com> Received: from mail-qc0-f191.google.com (mail-qc0-f191.google.com [209.85.216.191]) by mx.google.com with ESMTPS id fj7si764542qab.69.2012.05.07.21.20.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 May 2012 21:20:03 -0700 (PDT) Received-SPF: pass (google.com: domain of 9front+bncCP2Z1en5GxDyvaL9BBoE7Sw7lA@googlegroups.com designates 209.85.216.191 as permitted sender) client-ip=209.85.216.191; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9front+bncCP2Z1en5GxDyvaL9BBoE7Sw7lA@googlegroups.com designates 209.85.216.191 as permitted sender) smtp.mail=9front+bncCP2Z1en5GxDyvaL9BBoE7Sw7lA@googlegroups.com; dkim=pass header.i=@googlegroups.com Received: by qcsx40 with SMTP id x40sf236795qcs.28 for ; Mon, 07 May 2012 21:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=+nXCyk2ftSpxu6VHPbrZxTVQmJsEwSy3qqmLdWiHHwo=; b=5C7FrfIUUG3RzELDai4iaSYrWLRxR2DzcEo//Yjgzrve+/Ed0mmdGz5jmrbF6i0PZg sJ5iDF5wGSXDitMVyD3BvF2ZHCeUMS2Gpt+wBY1iB9TBiq74ZD6jJTicPkbOg15k9Vaa s4brvIeS3YXXN0KPj45VnKXa5fKbV8wUVgaP8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:mime-version:date:user-agent:x-http-useragent :message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type:x-gm-message-state; bh=+nXCyk2ftSpxu6VHPbrZxTVQmJsEwSy3qqmLdWiHHwo=; b=h2rj2Xe1O/TY/vUOyNQJOrEoMxNUmN7VpEo/EW6U1EZDgQ6GeN5nPYIzxdP0imATjw rkkeU7rQBs64iO+qRrFINvj/HRLbX8JpkFje86v66fPlpCBswWwJoQONGkbyb5LBSbVy 6VvY1QHMaBHO9qy+9XnhghUumDrhZ7J76R42Wqh09HxliEJOuWlh+0nvOv+dKG2kSVrG YgCBIFXaekb9nVQBPiIi7vHCaI900hvCSzQySFY5rYi04sEc557/nHmG9yTkuGeu5/85 TrSIfkcEP4PCJ4tRHHz01epGPMYCUCAz9HODzJlc3N9iaFLrsYbXLPlGHtJwnDuyNv99 3RLw== Received: by 10.68.221.194 with SMTP id qg2mr111065pbc.15.1336450802791; Mon, 07 May 2012 21:20:02 -0700 (PDT) X-BeenThere: 9front@googlegroups.com Received: by 10.68.222.193 with SMTP id qo1ls14961711pbc.9.gmail; Mon, 07 May 2012 21:20:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.203.226 with SMTP id kt2mr104286pbc.6.1336450802453; Mon, 07 May 2012 21:20:02 -0700 (PDT) Received: by a8g2000pbe.googlegroups.com with HTTP; Mon, 7 May 2012 21:20:02 -0700 (PDT) Date: Mon, 7 May 2012 21:20:02 -0700 (PDT) User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.229 Version/11.62,gzip(gfe) Message-ID: <49d65526-613f-4864-85b0-59ec42b674f8@a8g2000pbe.googlegroups.com> Subject: tiling script for rio From: vrtra <9@vrtra.net> To: 9front <9front@googlegroups.com> X-Original-Sender: 9@vrtra.net X-Original-Authentication-Results: ls.google.com; spf=pass (google.com: domain of 9@vrtra.net designates internal as permitted sender) smtp.mail=9@vrtra.net; dkim=pass header.i=@vrtra.net Reply-To: 9front@googlegroups.com Precedence: list Mailing-list: list 9front@googlegroups.com; contact 9front+owners@googlegroups.com List-ID: <9front.googlegroups.com> X-Google-Group-Id: 831096995978 List-Post: , List-Help: , List-Archive: Sender: 9front@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnTTYm2sE2hW8h+T2QOEXIkRD/tPUvQaRhsDy9393sIoYSXlQMzLj5mT8WdHh9W+mk4uC1t Hi, I was motivated to try my hand at tiling from yesterdays request. and sl's response. The results are in this gist https://gist.github.com/2632515 It is invoked thus. % tile.rc using tile.rc save will show the commands to save current window position tile.rc tall tiles the windows in a 'tall' configuration. The window from which the command is invoked is used as the main window. More over, the width of Tall window is maintained and used as the width of the main half. Rows is similar. Since this is my first attempt, I would really appreciate to get some feedback. :) is this useful? does a better thing exist elsewhere? (perhaps I can tie it with rio so that moving the window border automatically retiles?), and how does my code look? v