Session leave and tmux conf changes

This commit is contained in:
Mahesh Asolkar 2020-12-24 22:05:18 -08:00
parent 7ad96623fe
commit 0c694f8b09
2 changed files with 5 additions and 8 deletions

View File

@ -24,11 +24,11 @@ echo $cmd
case "$cmd" in
suspend)
confirm "Suspend"
sudo /usr/sbin/pm-suspend
sudo /usr/sbin/pm-suspend-hybrid
;;
hibernate)
confirm "Hibernate"
sudo /usr/sbin/pm-suspend-hybrid
sudo /usr/sbin/pm-hibernate
;;
reboot)
confirm "Reboot"

View File

@ -7,16 +7,12 @@
unbind-key C-b
bind-key C-a send-prefix
set -as terminal-overrides ",*:U8=0"
set -as terminal-overrides ',*:U8=a0'
set -g mouse on
set -g status-position top
# set -g status-windows-justify middle
# Colors
set -g window-style 'bg=colour236'
set -g window-active-style 'bg=black'
# Package management {{{
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
@ -27,10 +23,11 @@
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'
set -g @plugin 'arcticicestudio/nord-tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'jimeh/tmux-themepack'
set -g @themepack 'powerline/default/gray'
set -g @themepack-status-right-area-left-format "#(~/bin/tmux_status)  %H:%M"
# }}}
# }}}