Make project picker have dynamic width
This commit is contained in:
@@ -68,7 +68,6 @@ if -b '~/.config/tmux/check-version.sh ">= 3.2" and "< 3.3"' {
|
||||
bind H display-popup -w 75% -h 75% -E htop
|
||||
bind I display-popup -d '#{pane_current_path}' -E ~/.config/tmux/interpreter.sh
|
||||
bind N display-popup -w 75% -h 90% -E ~/.config/tmux/notes.sh
|
||||
bind P display-popup -w 60 -h 10 -E ~/.config/tmux/project.sh
|
||||
bind S display-popup -w 60 -h 10 -E ~/.config/tmux/session.sh
|
||||
bind T display-popup -d '#{pane_current_path}' -E $SHELL
|
||||
}
|
||||
@@ -79,11 +78,12 @@ if -b '~/.config/tmux/check-version.sh ">= 3.3"' {
|
||||
bind H display-popup -S fg=#54546D -b rounded -w 50% -h 75% -E htop
|
||||
bind I display-popup -S fg=#54546D -b rounded -d '#{pane_current_path}' -E ~/.config/tmux/interpreter.sh
|
||||
bind N display-popup -S fg=#54546D -b rounded -w 75% -h 90% -E ~/.config/tmux/notes.sh
|
||||
bind P display-popup -B -w 60 -h 10 -E ~/.config/tmux/project.sh
|
||||
bind S display-popup -B -w 60 -h 10 -E ~/.config/tmux/session.sh
|
||||
bind T display-popup -S fg=#54546D -d '#{pane_current_path}' -E $SHELL
|
||||
}
|
||||
|
||||
bind P run-shell ~/.config/tmux/project.sh
|
||||
|
||||
# Restore old next/previous window bindings
|
||||
bind C-n next-window
|
||||
bind C-p previous-window
|
||||
|
||||
Reference in New Issue
Block a user