mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-02 05:55:16 +00:00
feat(tmux): configure tmux-suspend with F8 key and visual indicator
Enable suspend key (F8) and add @suspend_suspended_options to show a ⏸ indicator in the status bar when session is suspended.
This commit is contained in:
@@ -102,7 +102,11 @@ bind -N "sesh ui" N display-popup -E "sesh ui"
|
|||||||
# Plugin that lets you suspend local tmux session,
|
# Plugin that lets you suspend local tmux session,
|
||||||
# so that you can work with nested remote tmux session painlessly.
|
# so that you can work with nested remote tmux session painlessly.
|
||||||
# https://github.com/MunifTanjim/tmux-suspend
|
# https://github.com/MunifTanjim/tmux-suspend
|
||||||
# set -g @suspend_key 'F8' # Default is F12
|
set -g @suspend_key 'F8' # Default is F12
|
||||||
|
set -g @suspend_suspended_options " \
|
||||||
|
status-left-style::bg=brightblack\\,fg=black, \
|
||||||
|
status-left:: ⏸ , \
|
||||||
|
"
|
||||||
|
|
||||||
# https://github.com/erikw/tmux-dark-notify
|
# https://github.com/erikw/tmux-dark-notify
|
||||||
set -g @dark-notify-theme-path-light "$HOME/.dotfiles/config/tmux/theme-light.conf"
|
set -g @dark-notify-theme-path-light "$HOME/.dotfiles/config/tmux/theme-light.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user