summaryrefslogtreecommitdiff
path: root/i3.conf
diff options
context:
space:
mode:
authorTimo Wilken2022-10-20 20:24:35 +0200
committerTimo Wilken2022-10-20 20:24:35 +0200
commit40409aee8ee79ac25ab5eb6fbd189ad2b763bb10 (patch)
treeb5e7a0b6393c95607112cddf7b9cf13f09f669ea /i3.conf
parent2c05fb998bed67ca8630f304aca35483fbfc8158 (diff)
Declare `$ASYNC_EDITOR` for non-blocking emacsclient
This is useful in a few places, such as the shell and "ranger", the file manager.
Diffstat (limited to 'i3.conf')
-rw-r--r--i3.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/i3.conf b/i3.conf
index c054c889..b9d1b4d4 100644
--- a/i3.conf
+++ b/i3.conf
@@ -48,7 +48,9 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+i exec icecat --new-window
bindsym $mod+shift+i exec icecat --new-tab "$(xclip -out)"
bindsym $mod+e exec $EDITOR
-bindsym $mod+slash exec dolphin --new-window
+# Use ASYNC_EDITOR so I can continue using ranger while the editor
+# remains open in a separate window.
+bindsym $mod+slash exec kitty -o term=xterm-kitty -T ranger env "EDITOR=$ASYNC_EDITOR" ranger
bindsym $mod+semicolon exec --no-startup-id nheko
# bindsym $mod+z exec konsole --fullscreen --profile rga-fzf
bindsym $mod+y exec --no-startup-id connect-headphones.sh connect