summaryrefslogtreecommitdiff
path: root/emacs-anywhere
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-03-17 14:50:01 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-03-17 14:50:01 +0300
commit1b1d98a40f06426f4e2349b744d3e533e364f133 (patch)
tree00a3815e7ebfdb00b102b74d52d67bb1a20675f7 /emacs-anywhere
parentInitial commit. (diff)
downloademacs-anywhere-mode-1b1d98a40f06426f4e2349b744d3e533e364f133.tar.gz
Add guix.scm.
* guix.scm: New file. * emacs-anywhere.sh: Rename to 'emacs-anywhere'.
Diffstat (limited to 'emacs-anywhere')
-rwxr-xr-xemacs-anywhere8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs-anywhere b/emacs-anywhere
new file mode 100755
index 0000000..396f643
--- /dev/null
+++ b/emacs-anywhere
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+emacsclient -c -e '(anywhere-create)' "$@"
+
+xdotool=@XDOTOOL_BIN@
+
+$xdotool windowactivate --sync "$($xdotool getactivewindow)"
+$xdotool key --clearmodifiers ctrl+v