From f3fc78dc0460fc66c1111a9f892b98e5722fed09 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 9 Feb 2021 22:06:16 -0500 Subject: [PATCH] Add emacs-everywhere support --- config/bspwm/bspwmrc | 1 + config/sxhkd/sxhkdrc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index 1f918b0d..b942f75a 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -25,6 +25,7 @@ bspc rule -a Firefox split_ratio=0.32 bspc rule -a feh state=fullscreen bspc rule -a 'Emacs:org*' state=floating bspc rule -a 'Emacs:scratch' state=floating +bspc rule -a 'Emacs:emacs-everywhere' state=floating sticky=on bspc rule -a '*:scratch' state=floating sticky=on center=on border=off rectangle=1000x800+0+0 # diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index c54e2020..957e9bdf 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -25,7 +25,11 @@ super + grave # Open a disposable scratch buffer in a floating Emacs window, to run arbitrary # code or quickly note something down. super + shift + grave - emacsclient -e '(open-scratch-frame)' + emacsclient --eval "(open-scratch-frame)" + +# Invoke emacs-everywhere at point. +super + e + emacsclient --eval "(emacs-everywhere)" super + space $DOTFILES/bin/rofi/appmenu