liquid.theme~ 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. ####################################
  2. # LIQUID PROMPT DEFAULT THEME FILE #
  3. ####################################
  4. # Special characters
  5. # Be sure to use characters that exists in the font you use. You can use several
  6. # characters at once.
  7. # Below is an example of how to fallback to ascii if the term is not unicode capable.
  8. # Defaults to UTF-8 characters.
  9. if [[ "$(locale -k LC_CTYPE | sed -n 's/^charmap="\(.*\)"/\1/p')" == *"UTF-8"* ]] ; then
  10. # If charset is UTF-8.
  11. LP_MARK_BATTERY="⌁" # in front of the battery charge
  12. LP_MARK_ADAPTER="⏚" # displayed when plugged
  13. LP_MARK_LOAD="⌂" # in front of the load
  14. LP_MARK_PROXY="↥" # indicate a proxy in use
  15. LP_MARK_HG="☿" # prompt mark in hg repositories
  16. LP_MARK_SVN="‡" # prompt mark in svn repositories
  17. LP_MARK_GIT="±" # prompt mark in git repositories
  18. LP_MARK_FOSSIL="⌘" # prompt mark in fossil repositories
  19. LP_MARK_UNTRACKED="*" # if git has untracked files
  20. LP_MARK_STASH="+" # if git has stashs
  21. LP_MARK_SHORTEN_PATH="…" # prompt mark in shortened paths
  22. else
  23. # If charset is anything else, fallback to ASCII chars
  24. LP_MARK_BATTERY="b"
  25. LP_MARK_ADAPTER="p"
  26. LP_MARK_LOAD="c"
  27. LP_MARK_PROXY="^"
  28. LP_MARK_HG="m"
  29. LP_MARK_SVN="="
  30. LP_MARK_GIT="+"
  31. LP_MARK_FOSSIL="f"
  32. LP_MARK_UNTRACKED="*"
  33. LP_MARK_STASH="+"
  34. LP_MARK_SHORTEN_PATH="..."
  35. fi
  36. # Do not prefix the prompt
  37. LP_PS1_PREFIX=""
  38. # Colors
  39. # Available colors are:
  40. # BOLD, BLACK, BOLD_GRAY, WHITE, BOLD_WHITE,
  41. # GREEN, BOLD_GREEN, YELLOW, BOLD_YELLOW, BLUE, BOLD_BLUE, PINK, CYAN, BOLD_CYAN
  42. # RED, BOLD_RED, WARN_RED, CRIT_RED, DANGER_RED,
  43. # Set to a null string "" if you do not want color.
  44. # Current working directory
  45. LP_COLOR_PATH="$BOLD_WHITE" # as normal user
  46. LP_COLOR_PATH_ROOT="$BOLD_YELLOW" # as root
  47. # Color of the proxy mark
  48. LP_COLOR_PROXY="$BOLD_BLUE"
  49. # Jobs count
  50. LP_COLOR_JOB_D="$YELLOW" # Detached (aka screen sessions)
  51. LP_COLOR_JOB_R="$BOLD_YELLOW" # Running (xterm &)
  52. LP_COLOR_JOB_Z="$BOLD_YELLOW" # Sleeping (Ctrl-Z)
  53. # Last error code
  54. LP_COLOR_ERR="$PURPLE"
  55. # Prompt mark
  56. LP_COLOR_MARK="$BOLD_WHITE" # as user
  57. LP_COLOR_MARK_ROOT="$BOLD_RED" # as root
  58. # Current user
  59. LP_COLOR_USER_LOGGED="" # user who logged in
  60. LP_COLOR_USER_ALT="$BOLD" # user but not the one who logged in
  61. LP_COLOR_USER_ROOT="$BOLD_YELLOW" # root
  62. # Hostname
  63. LP_COLOR_HOST="" # local host
  64. LP_COLOR_SSH="$BLUE" # connected via SSH
  65. LP_COLOR_TELNET="$WARN_RED" # connected via telnet
  66. LP_COLOR_X11_ON="$GREEN" # connected with X11 support
  67. LP_COLOR_X11_OFF="$YELLOW" # connected without X11 support
  68. # Separation mark (aka permiison in the working dir)
  69. LP_COLOR_WRITE="$GREEN" # have write permission
  70. LP_COLOR_NOWRITE="$RED" # do not have write permission
  71. # VCS
  72. LP_COLOR_UP="$GREEN" # repository is up to date / a push have been made
  73. LP_COLOR_COMMITS="$YELLOW" # some commits have not been pushed
  74. LP_COLOR_CHANGES="$RED" # there is some changes to commit
  75. LP_COLOR_DIFF="$PURPLE" # number of lines impacted by current changes
  76. # Battery
  77. LP_COLOR_CHARGING_ABOVE="$GREEN" # charging and above threshold
  78. LP_COLOR_CHARGING_UNDER="$YELLOW" # charging but under threshold
  79. LP_COLOR_DISCHARGING_ABOVE="$YELLOW" # discharging but above threshold
  80. LP_COLOR_DISCHARGING_UNDER="$RED" # discharging and under threshold
  81. # Time
  82. LP_COLOR_TIME="$BLUE"
  83. # Color maps (battery and load levels)
  84. # Range from 0 (nothing special) to 9 (alert)
  85. LP_COLORMAP_0=""
  86. LP_COLORMAP_1="$GREEN"
  87. LP_COLORMAP_2="$BOLD_GREEN"
  88. LP_COLORMAP_3="$YELLOW"
  89. LP_COLORMAP_4="$BOLD_YELLOW"
  90. LP_COLORMAP_5="$RED"
  91. LP_COLORMAP_6="$BOLD_RED"
  92. LP_COLORMAP_7="$WARN_RED"
  93. LP_COLORMAP_8="$CRIT_RED"
  94. LP_COLORMAP_9="$DANGER_RED"
  95. # vim: set et sts=4 sw=4 tw=120 ft=sh: