dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit bf0b1f74d17398fd59f31d6e6c6f60f972eb01a4
parent b5a3a3f662611a17e9c9cbd627557e3ac5f37404
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun,  4 Oct 2020 18:30:06 -0400

Merge branch 'master' of https://git.sr.ht/~jbauer/dotfiles into master

Diffstat:
M.config/tmux/tmux.conf | 4++--
A.local/bin/tmux-battery.sh | 3+++
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf @@ -65,9 +65,9 @@ set -g status-position bottom set -g status-bg colour236 set -g status-fg colour3 set -g status-left '' -set -g status-right '#[fg=colour233,bg=colour241,bold] %Y-%m-%d #[fg=colour233,bg=colour245,bold] %H:%M:%S ' +set -g status-right 'Batt: #(tmux-battery.sh) #[fg=colour233,bg=colour241,bold] %Y-%m-%d #[fg=colour233,bg=colour245,bold] %H:%M ' set -g status-right-length 50 set -g status-left-length 20 -set -g status-interval 1 +set -g status-interval 5 # }}} diff --git a/.local/bin/tmux-battery.sh b/.local/bin/tmux-battery.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +acpi | head -1 | awk '{print $4}' | tr -d ','