From 0c694f8b09907ff326f1f7a82cdd5d68098d4cd9 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Thu, 24 Dec 2020 22:05:18 -0800 Subject: [PATCH] Session leave and tmux conf changes --- leave_session.laptop.sh | 4 ++-- user.tmux.conf | 9 +++------ 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/leave_session.laptop.sh b/leave_session.laptop.sh index a3a1359..a5446ce 100755 --- a/leave_session.laptop.sh +++ b/leave_session.laptop.sh @@ -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" diff --git a/user.tmux.conf b/user.tmux.conf index a312ae9..cd5ba1c 100644 --- a/user.tmux.conf +++ b/user.tmux.conf @@ -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" # }}} # }}}