All of my important config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.3 KiB

  1. #!/bin/bash
  2. tm_icon="♟"
  3. tm_color_background=colour234
  4. tm_color_active=colour118
  5. tm_color_inactive=colour241
  6. tm_color_feature=colour4
  7. tm_color_music=colour203
  8. # separators
  9. tm_left_separator=''
  10. tm_left_separator_black=''
  11. tm_right_separator=''
  12. tm_right_separator_black=''
  13. tm_session_symbol=''
  14. set -g status-left-length 32
  15. set -g status-right-length 150
  16. set -g status-interval 5
  17. # default statusbar colors
  18. # set-option -g status-bg colour0
  19. set-option -g status-fg $tm_color_active
  20. set-option -g status-bg default
  21. set-option -g status-attr default
  22. # default window title colors
  23. set-window-option -g window-status-fg $tm_color_inactive
  24. set-window-option -g window-status-bg default
  25. set -g window-status-format "#I #W"
  26. # active window title colors
  27. set-window-option -g window-status-current-format "#[fg=$tm_color_background,bg=$tm_color_active]$tm_left_separator_black #[fg=colour0,bg=$tm_color_active,bold]#I #W #[bg=$tm_color_background,fg=$tm_color_active]$tm_left_separator_black "
  28. # pane border
  29. set-option -g pane-border-fg $tm_color_inactive
  30. set-option -g pane-active-border-fg $tm_color_active
  31. # message text
  32. set-option -g message-bg default
  33. set-option -g message-fg $tm_color_active
  34. # pane number display
  35. set-option -g display-panes-active-colour $tm_color_active
  36. set-option -g display-panes-colour $tm_color_inactive
  37. tm_spotify="#[fg=$tm_color_background,bg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/spotify.scpt)"
  38. tm_itunes="#[fg=$tm_color_music,bg=$tm_color_background]$tm_right_separator_black#[fg=$tm_color_background,bg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/itunes.scpt)"
  39. tm_rdio="#[fg=$tm_color_background,bg=$tm_color_music]#(osascript ~/.dotfiles/applescripts/rdio.scpt)"
  40. tm_battery="#[fg=colour255,bg=$tm_color_music]$tm_right_separator_black#[bg=colour255]#(~/.dotfiles/bin/battery_indicator.sh)"
  41. tm_date="#[bg=colour255,fg=$tm_color_inactive]$tm_right_separator_black#[bg=$tm_color_inactive,fg=$tm_color_background] %R %d %b"
  42. tm_host="#[bg=$tm_color_inactive,fg=$tm_color_feature]$tm_right_separator_black#[bg=$tm_color_feature,fg=$tm_color_background,bold] #h "
  43. tm_session_name="#[bg=$tm_color_feature,fg=$tm_color_background,bold]$tm_icon #S #[fg=$tm_color_feature,bg=default,nobold]$tm_left_separator_black"
  44. set -g status-left $tm_session_name
  45. set -g status-right $tm_itunes' '$tm_rdio' '$tm_battery' '$tm_date' '$tm_host