+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
This commit is contained in:
dx
2020-06-21 02:03:17 +01:00
parent df1af4a9a8
commit b1f7292fe0

View File

@@ -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