[Sawfish] Beginner Problem |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: sawfish@xxxxxxxxxxxxxxxxxxx
- Subject: [Sawfish] Beginner Problem
- From: Zachary Epps <zactepps@xxxxxxxxx>
- Date: Fri, 25 Oct 2013 13:50:04 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=dgmZtj/DHcTjuQeFgAXvufRRYX6g8m0ovP2e9BEneg0=; b=YwOA1VDTUat1nAGX1ktsxW++G2xuwzU9Dt4og0hVbIkKTSCwwmfMw6LcDtwQJYroUY THtj8sjo3ILXxfW3K2R11Fpy071SYIw5hHM1IfwZdkpW4mzsygSXsT4BIhN8YgI2yp7H aYjMd/v/NORwQLaB7f+6PCoIiPF3wb89TZyAc5Vj8OfEZiziNJMuzODzw3Ui17Y6urgV EnuVqn99XID+qjemAc3zYddRWnbHqIi+sERC0ndpaaKWWvvLBRyjISQj7i8huiBdnJqj 7w55sGd7dCElXluq5DpEJ4nTHMxO8QJS8K+yjk22/dCIJB7UcghkJkbqjtPClGBsltqZ +cRg==
I just found Sawfish earlier this week, and after reading through some
of the info pages I thought I would write a function to resize my Emacs
window when I opened emacsclient. However, I don't know how to make this
happen. Here is what I have (in my .sawfishrc), I just don't know how to make it latch into
the window creation hooks:
(defun resize-emacs-window ()
(let ((emacs (get-window-by-name "emacs@arch-twily")))
(resize-window-with-hints emacs 87 38)
(move-window-to emacs 449 0)))
-Zac
--
Sawfish ML