Add htop in display-popup binding
This commit is contained in:
@@ -67,7 +67,8 @@ if -b '[ "`uname`" = "Darwin" ]' \
|
||||
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
||||
|
||||
if -b '~/.config/tmux/check-version.sh ">=" 3.2 && ~/.config/tmux/check-version.sh "<" 3.3' {
|
||||
bind A display-popup -d '#{pane_current_path}' -w 75% -h 90% -E ~/.config/tmux/agent.sh
|
||||
bind A display-popup -d '#{pane_current_path}' -w 50% -h 90% -E ~/.config/tmux/agent.sh
|
||||
bind H display-popup -w 75% -h 75% -E htop
|
||||
bind I display-popup -d '#{pane_current_path}' -E '$SHELL -i ~/.config/tmux/interpreter.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'
|
||||
@@ -75,6 +76,7 @@ if -b '~/.config/tmux/check-version.sh ">=" 3.2 && ~/.config/tmux/check-version.
|
||||
}
|
||||
if -b '~/.config/tmux/check-version.sh ">=" 3.3' {
|
||||
bind A display-popup -S fg=#54546D -b rounded -d '#{pane_current_path}' -w 75% -h 90% -E ~/.config/tmux/agent.sh
|
||||
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 '$SHELL -i ~/.config/tmux/interpreter.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'
|
||||
|
||||
Reference in New Issue
Block a user