From 405541f53445ed8f5c48abf26f9f2bcfc4c7afef Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 7 Jun 2019 13:40:00 -0700 Subject: [PATCH] update for new tmux --- .tmux.conf | 12 ++++-------- .xinitrc | 2 +- bin/run_terminal | 12 ++++++------ 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 6cef0d0..a04b44b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -42,20 +42,16 @@ set -g status-fg white set -g status-bg default # default window title colors -set-window-option -g window-status-fg white -set-window-option -g window-status-bg default -set-window-option -g window-status-attr dim +set-window-option -g window-status-style fg=white,bg=default,dim # active window title colors -set-window-option -g window-status-current-fg cyan -set-window-option -g window-status-current-bg default -set-window-option -g window-status-current-attr bright +set-window-option -g window-status-current-style fg=cyan,bg=default,bright set -g status-left '#[fg=green][ #H ][ ' -set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[fg=green]]' +set -g status-right '#[fg=green]][ #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]' # Notifying if other windows has activities setw -g monitor-activity on set -g visual-activity on # Highlighting the active window in status bar -setw -g window-status-current-bg red +setw -g window-status-current-style bg=red,bright diff --git a/.xinitrc b/.xinitrc index 1e0f577..5222099 100755 --- a/.xinitrc +++ b/.xinitrc @@ -18,7 +18,7 @@ xrdb -merge .Xdefaults & #gnome-settings-daemon & #xscreensaver -no-splash & #kupfer --no-splash & -#rofi -key-run control-space -fuzzy -terminal run_terminal & +rofi -key-run control-space -fuzzy -terminal run_terminal & #nm-applet & #gnome-sound-applet & remmina -i & diff --git a/bin/run_terminal b/bin/run_terminal index 3a5df40..de6d438 100755 --- a/bin/run_terminal +++ b/bin/run_terminal @@ -1,11 +1,11 @@ #!/usr/bin/env bash -if [ -n "`which terminator`" ]; then - terminator -elif [ -n "`which gnome-terminal`" ]; then - gnome-terminal +if [ -n "`which gnome-terminal`" ]; then + gnome-terminal $@ +elif [ -n "`which terminator`" ]; then + terminator $@ elif [ -n "`which urxvt`" ]; then - urxvt + urxvt $@ else - xterm + xterm $@ fi