aboutsummaryrefslogtreecommitdiff
path: root/SXHkD/.config
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-21 02:03:17 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-21 02:03:17 +0100
commitb1f7292fe0bbe827efab88fa0fc35216c9df2b62 (patch)
tree86a6d5eb2ccf30fd184a1b8d0530c6e1add40d75 /SXHkD/.config
parentdf1af4a9a80a2ac9b81c018a47b3482f41b669fe (diff)
downloaddotfiles-b1f7292fe0bbe827efab88fa0fc35216c9df2b62.tar.gz
dotfiles-b1f7292fe0bbe827efab88fa0fc35216c9df2b62.tar.bz2
dotfiles-b1f7292fe0bbe827efab88fa0fc35216c9df2b62.zip
+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
Diffstat (limited to 'SXHkD/.config')
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc14
1 files changed, 11 insertions, 3 deletions
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