aboutsummaryrefslogtreecommitdiff
path: root/.config/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/tmux/tmux.conf')
-rw-r--r--.config/tmux/tmux.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 394ae34..a731ff1 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -85,10 +85,10 @@ setw -g aggressive-resize on
#bind -n M-g display-popup -E "tmux new-session -A -s scratch"
# Toggle popup scratch session
-bind-key -n M-g if-shell -F '#{==:#{session_name},scratch}' {
+bind-key -n M-g if-shell -F '#{==:#{session_name},note}' {
detach-client
} {
-display-popup -E "tmux new-session -A -s scratch"
+display-popup -E "tmux new-session -A -s note"
}
# Non-popup