Re: [Sawfish] Paste selection to window from lisp |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/sawfish Archives
]
- To: Mario Domenech Goulart <mario.goulart@xxxxxxxxx>
- Subject: Re: [Sawfish] Paste selection to window from lisp
- From: Brett Viren <brett.viren@xxxxxxxxx>
- Date: Sun, 7 Sep 2014 12:16:01 -0400
- Cc: sawfish@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oyf8usN0EjLfnzjVj40kJsPWTX39iT4E9S3avc7pnZ0=; b=wnjcI57YhdViEVh2KKYMbUiAXCprULnamwm6FpkqW/vF8SYJEzN3KXGQmmunP16AbR k5bK3sZKnu586nnYcd950hm5vnYsnWHlZVGNMRQj6kqkbLwbFmxkZWP5zOI/Y/0/bkeB g/BZUuy708gl1VJuh92nOTNjf2ZO53tZvbyqDulfD9B7hpdZZUUWo5YmxkQFtjhoYeX2 f6z128GSGpGtX8V7WEUmFn2853yiLXHq6fdVLFmGM9C9LmJSpa03CqzPds3qpOPfPB0d 0xa3wB4RKUjq0S7mC1eg7YiuXcHJFKgHLgb8WhrA3mV0yAsIe4ifllBBzAC5HUUiqI4q R1AQ==
Hi again, Mario,
On Tue, Sep 2, 2014 at 8:57 AM, Mario Domenech Goulart
<mario.goulart@xxxxxxxxx> wrote:
> I use something similar in
> http://parenteses.org/mario/utils/sawfish-extra-menus#selection-menu
This is great. And, it seems it only needs the external "xclip"
program to do the selection swapping. The actual paste is done with
synthetic events. I had originally looked at how to use this approach
but came up befuddled. My LISP skills are pretty low.
I did maybe find a typo in the quoting of "clip" in the
selection-menu. I also made a new menu to shortcut the action
selection and instead just directly paste. My small mods are here:
https://github.com/brettviren/dot-sawfish/commit/541fc57ccf0178a7038699c966fb2854f0d2b1a
I pasted that line via your code! :)
Thanks for sharing this,
-Brett.
--
Sawfish ML