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.
This commit is contained in:
parent
c6dd756ce1
commit
e0ad37a42d
1 changed files with 1 additions and 2 deletions
|
@ -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
|
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
|
# Switch to a running instance of Emacs, or create an Emacs client
|
||||||
# frame. Start an Emacs daemon if necessary.
|
# frame. Start an Emacs daemon if necessary.
|
||||||
hc keybind $Mod-t spawn hlwm-run-or-raise Emacs \
|
hc keybind $Mod-t spawn hlwm-run-or-raise Emacs emacsclient --create-frame
|
||||||
emacsclient --create-frame --alternate-editor=''
|
|
||||||
# Lock the screen with C-M-l.
|
# Lock the screen with C-M-l.
|
||||||
hc keybind Control-Mod1-l spawn i3lock --color 000000
|
hc keybind Control-Mod1-l spawn i3lock --color 000000
|
||||||
# Swap visible tags
|
# Swap visible tags
|
||||||
|
|
Loading…
Reference in a new issue