aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-09-02 15:52:01 -0700
committerGravatar Tom Willemse2020-12-26 23:17:23 -0800
commite0ad37a42d8b1b79393526f52441e3201c044e9b (patch)
treef4dbcdaf260ffe181458dd089c621db3f8889108 /herbstluftwm
parentc6dd756ce1d972aa257ffa5cc2c2d4550781f795 (diff)
downloadnew-dotfiles-e0ad37a42d8b1b79393526f52441e3201c044e9b.tar.gz
new-dotfiles-e0ad37a42d8b1b79393526f52441e3201c044e9b.zip
Don’t start an alternative editor
Sometimes I’m too impatient and will try to start ‘emacsclient’ before the server has finished starting up. This means that it will start another Emacs session and it won’t be obvious to me. Now it’ll just fail to start ‘emacsclient’ and I can try again a few seconds later.
Diffstat (limited to 'herbstluftwm')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart3
1 files changed, 1 insertions, 2 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index f3c8247..6edbc5a 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -73,8 +73,7 @@ hc keybind $Mod-c spawn hlwm-run-or-raise '\(URxvt\|Hyper\|kitty\)' kitty
hc keybind $Mod-b spawn hlwm-run-or-raise '\(Conkeror\|[Ff]irefox\|Chromium\)' firefox
# Switch to a running instance of Emacs, or create an Emacs client
# frame. Start an Emacs daemon if necessary.
-hc keybind $Mod-t spawn hlwm-run-or-raise Emacs \
- emacsclient --create-frame --alternate-editor=''
+hc keybind $Mod-t spawn hlwm-run-or-raise Emacs emacsclient --create-frame
# Lock the screen with C-M-l.
hc keybind Control-Mod1-l spawn i3lock --color 000000
# Swap visible tags