diff options
author | Tom Willemse | 2020-09-02 15:52:01 -0700 |
---|---|---|
committer | Tom Willemse | 2020-12-26 23:17:23 -0800 |
commit | e0ad37a42d8b1b79393526f52441e3201c044e9b (patch) | |
tree | f4dbcdaf260ffe181458dd089c621db3f8889108 | |
parent | c6dd756ce1d972aa257ffa5cc2c2d4550781f795 (diff) | |
download | new-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.
-rwxr-xr-x | herbstluftwm/.config/herbstluftwm/autostart | 3 |
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 |