diff --git a/bash_scripts/get_bat.sh b/bash_scripts/get_bat.sh new file mode 100755 index 0000000..0b73388 --- /dev/null +++ b/bash_scripts/get_bat.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +acpi -b | cut -d ',' -f 2 + diff --git a/dot/.tmux.conf b/dot/.tmux.conf index 2294126..8bea072 100644 --- a/dot/.tmux.conf +++ b/dot/.tmux.conf @@ -28,7 +28,7 @@ set -g status-position bottom set -g status-justify left set -g status-style fg=colour137,bg=colour241,dim set -g status-left '' -set -g status-right '#[fg=colour232,bg=colour241,bold] %a %m/%d #[fg=colour232,bg=colour240,bold] %l:%M %P ' +set -g status-right '#[fg=colour232,bg=colour241,bold]B:#(~/bin/get_bat.sh) %a %m/%d #[fg=colour232,bg=colour240,bold] %l:%M %P ' set -g status-right-length 50 set -g status-left-length 20 @@ -86,6 +86,6 @@ bind-key -T copy-mode-vi C-l select-pane -R #bind-key -T copy-mode-vi C-\ select-pane -l # start new splits/windows with "pane_current_path" -bind c new-window -c "#{pane_current_path}" +#bind c new-window -c "#{pane_current_path}" bind '%' split-window -h -c "#{pane_current_path}" bind '"' split-window -v -c "#{pane_current_path}"