Skip to content

Instantly share code, notes, and snippets.

@plainOldCode
Created January 22, 2019 09:23
Show Gist options
  • Save plainOldCode/afcd0f011aa690671a379c019e260733 to your computer and use it in GitHub Desktop.
Save plainOldCode/afcd0f011aa690671a379c019e260733 to your computer and use it in GitHub Desktop.
source ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
set-option -g default-terminal "screen-256color"
set-option -g status on
set-option -g status-interval 2
set-option -g status-justify "left"
set-option -g status-left-length 60
set-option -g status-right-length 90
set-option -g status-left "#(~/git/open-source/tmux-powerline/status-left.sh)"
set-option -g status-right "#(~/git/open-source/tmux-powerline/status-right.sh)"
bind C-[ run '~/git/open-source/tmux-powerline/mute_statusbar.sh left' # Mute left statusbar.
bind C-] run '~/git/open-source/tmux-powerline/mute_statusbar.sh right' # Mute right statusbar.
set -g status-right 'Batt: #{battery_icon}#{battery_percentage} #{battery_remain} | #[fg=white]%a%d/%m %H:%M'
#set -g status-right '#{battery_status_bg} Batt: #{battery_icon}#{battery_percentage}#{battery_remain}| %a%h-%d %H:%M '
run-shell ~/git/open-source/tmux-battery/battery.tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment