From b1f7292fe0bbe827efab88fa0fc35216c9df2b62 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 21 Jun 2020 02:03:17 +0100 Subject: +emacs chords to sxhkd hyper + q is the base chord from which these chords exist: 1) base + q - launch emacs 2) base + s - restart emacs server 3) base + d - launch dired --- SXHkD/.config/sxhkd/sxhkdrc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'SXHkD/.config') diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index 499e601..117f227 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -46,9 +46,17 @@ hyper + s qutebrowser; notify-send "Launching qutebrowser"; -hyper + q - notify-send "Launching Emacs"; \ - emacsclient -c -s MAIN -a=emacs +hyper + q; q + emacsclient -c -s MAIN -a=emacs; \ + notify-send "Launching Emacs"; + +hyper + q; s + eserver restart; \ + notify-send "(Re)starting emacs server"; + +hyper + q; d + emacsclient -c -s MAIN -a=emacs --eval '(dired "~")'; \ + notify-send "Launching Dired"; hyper + l $HOME/.local/scripts/lock -- cgit v1.2.3-13-gbd6f