Add emacs-everywhere support

This commit is contained in:
Henrik Lissner 2021-02-09 22:06:16 -05:00
parent 0b1ed32aaf
commit f3fc78dc04
2 changed files with 6 additions and 1 deletions

View file

@ -25,6 +25,7 @@ bspc rule -a Firefox split_ratio=0.32
bspc rule -a feh state=fullscreen bspc rule -a feh state=fullscreen
bspc rule -a 'Emacs:org*' state=floating bspc rule -a 'Emacs:org*' state=floating
bspc rule -a 'Emacs:scratch' 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 bspc rule -a '*:scratch' state=floating sticky=on center=on border=off rectangle=1000x800+0+0
# #

View file

@ -25,7 +25,11 @@ super + grave
# Open a disposable scratch buffer in a floating Emacs window, to run arbitrary # Open a disposable scratch buffer in a floating Emacs window, to run arbitrary
# code or quickly note something down. # code or quickly note something down.
super + shift + grave 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 super + space
$DOTFILES/bin/rofi/appmenu $DOTFILES/bin/rofi/appmenu