From 6237b7c2ed5d8a691c902e874091f3e32aaf048b Mon Sep 17 00:00:00 2001 From: Erik Stambaugh Date: Tue, 11 Jun 2024 10:29:05 -0700 Subject: [PATCH] some quick tweaks --- .gitignore | 1 + .tmux.conf | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/.tmux.conf b/.tmux.conf index be02edb..d9d6028 100755 --- a/.tmux.conf +++ b/.tmux.conf @@ -57,26 +57,28 @@ bind-key M-Right resize-pane -R 10 # Set status bar set-option -g status-bg "#112233" set -g status-fg "#009900" -set -g status-left '#[bg=colour31,fg=colour255] #h #[fg=colour31,bg=#112233] ' +set -g status-left '#[bg=colour31,fg=colour255] #h #[fg=colour31,bg=#112233] ' -set -g status-right '#[fg=#2a2a2a] #[fg=colour205,bg=#2a2a2a] #(printf "%%-3s" `test -e ~/bin/pomodoro && pomodoro status -c`) #[fg=#223388] #[fg=colour140,bg=#223388] #(test -e ~/bin/tmux-diskmon && tmux-diskmon)#[fg=#334499] #[fg=colour140,bg=#334499] #(uptime | sed -e "s/.*: //" -e "s/,//g" -e "s/ 0\./ ./g" -e "s/^0//" -e "s/\\.00/0/g") #[fg=#4455aa]#[fg=colour15,bg=#4455aa] %m/%d %H:%M ' +# disabling pomodoro for now +#set -g status-right '#[fg=#2a2a2a] #[fg=colour205,bg=#2a2a2a] #(printf "%%-3s" `test -e ~/bin/pomodoro && pomodoro status -c`) #[fg=#223388] #[fg=colour140,bg=#223388] #(test -e ~/bin/tmux-diskmon && tmux-diskmon)#[fg=#334499] #[fg=colour140,bg=#334499] #(uptime | sed -e "s/.*: //" -e "s/,//g" -e "s/ 0\./ ./g" -e "s/^0//" -e "s/\\.00/0/g") #[fg=#4455aa]#[fg=colour15,bg=#4455aa] %m/%d %H:%M ' +set -g status-right '#[fg=#2a2a2a] #[fg=colour205,bg=#2a2a2a] #[fg=#223388] #[fg=colour140,bg=#223388] #(test -e ~/bin/tmux-diskmon && tmux-diskmon)#[fg=#334499] #[fg=colour140,bg=#334499] #(uptime | sed -e "s/.*: //" -e "s/,//g" -e "s/ 0\./ ./g" -e "s/^0//" -e "s/\\.00/0/g") #[fg=#4455aa]#[fg=colour15,bg=#4455aa] %m/%d %H:%M ' set -g status-right-length 60 set -g status-left-length 40 -if-shell "uname | grep -q Darwin" "set -g status-left '#[bg=#77ddaa,fg=colour0]  #h #[fg=#77ddaa,bg=#112233] '" -if-shell "uname | grep -q Linux" "set -g status-left '#[bg=colour31,fg=colour255]  #h #[fg=colour31,bg=#112233] '" -if-shell "lsb_release -si | grep -q Ubuntu" "set -g status-left '#[bg=colour130,fg=colour255]  #h #[fg=colour130,bg=#112233] '" -if-shell "lsb_release -si | grep -q Raspbian" "set -g status-left '#[bg=#ff0066,fg=colour255]  #h #[fg=#ff0066,bg=#112233] '" -if-shell "hostname | grep -q lechuck" "set -g status-left '#[bg=#996633,fg=colour255]☠ #h #[fg=#996633,bg=#112233] '" -if-shell "hostname | grep -q meathook" "set -g status-left '#[bg=#1111ff,fg=colour255]👻 #h #[fg=#1111ff,bg=#112233] '" +if-shell "uname | grep -q Darwin" "set -g status-left '#[bg=#77ddaa,fg=colour0]  #h #[fg=#77ddaa,bg=#112233] '" +if-shell "uname | grep -q Linux" "set -g status-left '#[bg=colour31,fg=colour255]  #h #[fg=colour31,bg=#112233] '" +if-shell "lsb_release -si | grep -q Ubuntu" "set -g status-left '#[bg=#5e2750,fg=colour255]  #h #[fg=#5e2750,bg=#112233] '" +if-shell "lsb_release -si | grep -q Raspbian" "set -g status-left '#[bg=#ff0066,fg=colour255]  #h #[fg=#ff0066,bg=#112233] '" +if-shell "hostname | grep -q lechuck" "set -g status-left '#[bg=#996633,fg=colour255]󰚌#h #[fg=#996633,bg=#112233] '" +if-shell "hostname | grep -q meathook" "set -g status-left '#[bg=#1111ff,fg=colour255]👻 #h #[fg=#1111ff,bg=#112233] '" ## 24 bit stuff #set -g default-terminal "xterm-256color" #set -ga terminal-overrides ",xterm-256color:Tc" # Highlight active window -set-window-option -g window-status-current-format "#[bg=#000011,fg=#112233] #[bg=#000011,fg=#bbffbb]#I:#W #[bg=#112233,fg=#000011]" +set-window-option -g window-status-current-format "#[bg=#000011,fg=#112233] #[bg=#000011,fg=#bbffbb]#I:#W #[bg=#112233,fg=#000011]" set-window-option -g window-status-format "#I:#W " # Inactive windows get low-contrast; active window sharper