diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config | 14 | ||||
-rw-r--r-- | .config/sway/config | 14 |
2 files changed, 24 insertions, 4 deletions
diff --git a/.config/i3/config b/.config/i3/config index 074a68b4..3034f859 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -48,13 +48,23 @@ mode "C-i-" { # make a fresh Emacs frame -- typically this gets invoked only on # empty workspaces, as otherwise I use commands under `C-x 5` to get # more Emacs frames - bindsym Return exec ~/src/dotfiles/scripts/desktop/emacsclient, mode "default" + bindsym e exec ~/src/dotfiles/scripts/desktop/emacsclient, mode "default" # override the script's usual logic to start a fresh, non-debug daemon - bindsym Shift+Return \ + bindsym Shift+e \ exec ~/src/dotfiles/scripts/desktop/emacsclient --installed, \ mode "default" + # Fresh Emacs frame and get a shell in HOME. Without this it's + # C-i e C-c e h which is too many keys esp. compared to C-i DEL + bindsym Return exec ~/src/dotfiles/scripts/desktop/emacsclient -- -nce \ + "(let ((default-directory (expand-file-name "'"'~/'"'")) \ + (display-buffer-overriding-action \ + '(display-buffer-same-window \ + . ((inhibit-same-window . nil))))) \ + (transient-cycles--spw/eshell-jump-from-here-with-transient-cycling))", \ + mode "default" + # start a terminal emulator bindsym BackSpace exec xfce4-terminal, mode "default" diff --git a/.config/sway/config b/.config/sway/config index 26218142..0e8e893f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -33,13 +33,23 @@ mode "C-i-" { # make a fresh Emacs frame -- typically this gets invoked only on # empty workspaces, as otherwise I use commands under `C-x 5` to get # more Emacs frames - bindsym Return exec ~/src/dotfiles/scripts/desktop/emacsclient, mode "default" + bindsym e exec ~/src/dotfiles/scripts/desktop/emacsclient, mode "default" # override the script's usual logic to start a fresh, non-debug daemon - bindsym Shift+Return \ + bindsym Shift+e \ exec ~/src/dotfiles/scripts/desktop/emacsclient --installed, \ mode "default" + # Fresh Emacs frame and get a shell in HOME. Without this it's + # C-i e C-c e h which is too many keys esp. compared to C-i DEL + bindsym Return exec ~/src/dotfiles/scripts/desktop/emacsclient -- -nce \ + "(let ((default-directory (expand-file-name "'"'~/'"'")) \ + (display-buffer-overriding-action \ + '(display-buffer-same-window \ + . ((inhibit-same-window . nil))))) \ + (transient-cycles--spw/eshell-jump-from-here-with-transient-cycling))", \ + mode "default" + # start a terminal emulator bindsym BackSpace exec foot, mode "default" |