lpr/liquidpromptrc-dist
2012-08-13 22:28:50 +02:00

50 lines
1.4 KiB
Plaintext

####################################
# LIQUID PROMPT CONFIGURATION FILE #
####################################
# Maximal value under which the battery level is displayed
# Recommended value is 75
LP_BATTERY_THRESHOLD=75
# Minimal value after which the load average is displayed
# Recommended value is 60
LP_LOAD_THRESHOLD=60
# The maximum percentage of the screen width used to display the path
# Recommended value is 35
LP_PATH_LENGTH=35
# How many directories to keep at the beginning of a shortened path
# Recommended value is 2
LP_PATH_KEEP=2
# Do we use reverse colors (black on white) instead of normal theme (white on black)
# Defaults to 0 (normal colors)
# set to 1 if you use black on white
LP_REVERSE=0
# Do you want to display the hostname, even if not connected through network?
# Defaults to 0 (do not display hostname when localy connected)
# set to 1 if you want to always see the hostname
LP_HOSTNAME_ALWAYS=0
# If charset is UTF-8
if [[ $(locale -k LC_CTYPE | sed -n 's/^charmap="\(.*\)"/\1/p') == *"UTF-8"* ]] ; then
LP_BATTERY_MARK="⌁"
LP_ADAPTER_MARK="⏚"
LP_LOAD_MARK="⌂"
LP_PROXY_MARK="↥"
LP_GIT_MARK="±"
LP_MERCURIAL_MARK="☿"
LP_SUBVERSION_MARK="‡"
else
LP_BATTERY_MARK="b"
LP_ADAPTER_MARK="p"
LP_LOAD_MARK="c"
LP_PROXY_MARK="^"
LP_GIT_MARK="+"
LP_MERCURIAL_MARK="m"
LP_SUBVERSION_MARK="="
fi