some quick tweaks

This commit is contained in:
Erik Stambaugh 2024-06-11 10:29:05 -07:00
parent 4f16ffe32b
commit 6237b7c2ed
2 changed files with 12 additions and 9 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.swp

View file

@ -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