correct tmux theme script and update colors
* update colors and correct variable usage in tmux theme file * update colors in battery indicator script
This commit is contained in:
@@ -17,10 +17,10 @@ if [[ $charged_slots -gt 3 ]]; then
|
||||
charged_slots=3
|
||||
fi
|
||||
|
||||
echo -n '#[fg=red]'
|
||||
echo -n '#[fg=colour196]'
|
||||
for i in `seq 1 $charged_slots`; do echo -n "$HEART"; done
|
||||
|
||||
if [[ $charged_slots -lt 3 ]]; then
|
||||
echo -n '#[fg=white]'
|
||||
echo -n '#[fg=colour254]'
|
||||
for i in `seq 1 $(echo "3-$charged_slots" | bc)`; do echo -n "$HEART"; done
|
||||
fi
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
#### COLOUR
|
||||
|
||||
tm_color_active=colour201
|
||||
tm_icon="♟"
|
||||
tm_color_active=colour118
|
||||
tm_color_inactive=colour241
|
||||
tm_color_feature=colour202
|
||||
tm_color_feature=colour4
|
||||
tm_color_music=colour203
|
||||
|
||||
# separators
|
||||
tm_separator_left_bold="◀"
|
||||
@@ -46,14 +48,14 @@ set-option -g display-panes-colour $tm_color_inactive
|
||||
# clock
|
||||
set-window-option -g clock-mode-colour $tm_color_active
|
||||
|
||||
tm_spotify='#[fg=$tm_color_feature]#(osascript ~/.dotfiles/applescripts/spotify.scpt)'
|
||||
tm_itunes='#[fg=$tm_color_feature]#(osascript ~/.dotfiles/applescripts/itunes.scpt)'
|
||||
tm_rdio='#[fg=$tm_color_feature]#(osascript ~/.dotfiles/applescripts/rdio.scpt)'
|
||||
tm_battery='#(~/.dotfiles/bin/battery_indicator.sh)'
|
||||
tm_spotify="#[fg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/spotify.scpt)"
|
||||
tm_itunes="#[fg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/itunes.scpt)"
|
||||
tm_rdio="#[fg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/rdio.scpt)"
|
||||
tm_battery="#(~/.dotfiles/bin/battery_indicator.sh)"
|
||||
|
||||
tm_date='#[fg=$tm_color_inactive] %R %d %b'
|
||||
tm_host='#[fg=colour202,bold]#h'
|
||||
tm_session_name="#[fg=$tm_color_feature,bold]$tm_separator_right_thin #S"
|
||||
tm_date="#[fg=$tm_color_inactive] %R %d %b"
|
||||
tm_host="#[fg=$tm_color_feature,bold]#h"
|
||||
tm_session_name="#[fg=$tm_color_feature,bold]$tm_icon #S"
|
||||
|
||||
set -g status-left $tm_session_name
|
||||
set -g status-right $tm_itunes' '$tm_rdio' '$tm_battery' '$tm_date
|
||||
set -g status-right $tm_itunes' '$tm_rdio' '$tm_battery' '$tm_date' '$tm_host
|
||||
|
||||
Reference in New Issue
Block a user