a technical notebook
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.

23 lines
778 B

9 years ago
  1. Sunday, January 25, 2015
  2. ========================
  3. background colors for tmux
  4. --------------------------
  5. I'm logged into too many machines. I make an effort to have prompt colors differ
  6. between hosts, but tmux is the same everywhere.
  7. You can do this sort of thing:
  8. brennen@exuberance 11:54:43 /home/brennen/code $ cat ~/.tmux.conf
  9. # Set window notifications
  10. setw -g monitor-activity on
  11. set -g visual-activity on
  12. set -g status-bg blue
  13. set -g status-fg white
  14. ...where `status-bg` and `status-fg` are colors for the status bar.
  15. It seems like there may be ways to conditionalize this, but at this point I'm
  16. tempted to just pull some simple templating system into my [dotfile
  17. stuff][bpb-kit] and generate a subset of config files on a per-host basis.