Skip to content

Commit

Permalink
add tmux plugin to suspend session
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Apr 4, 2023
1 parent d995f36 commit 6b722cf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'MunifTanjim/tmux-suspend'
# set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'Morantron/tmux-fingers'
set -g @plugin 'laktak/extrakto'
Expand All @@ -178,6 +179,17 @@ set -g @plugin 'tmux-plugins/tmux-battery'
#########################
# Plugin Config

set -g @suspend_suspended_options " \
status-left-style::bg=colour3\\,fg=colour235 bold dim, \
status-left::[ SUSPENDED ], \
status-right-style::fg=black dim, \
window-status-style:gw:fg=colour7 dim, \
window-status-current-style:gw:fg=colour7 dim, \
"
set -g @suspend_on_resume_command "tmux set status"
set -g @suspend_on_suspend_command "tmux set status"


set -g @batt_icon_status_charged ' '
set -g @batt_icon_status_charging '#[fg=green,bold]⚡#[fg=default,default]'
set -g @batt_icon_status_discharging ' '
Expand Down
2 changes: 1 addition & 1 deletion .tmux/tpm
Submodule tpm updated 1 files
+9 −3 docs/tpm_not_working.md

0 comments on commit 6b722cf

Please sign in to comment.