mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 08:00:06 +00:00
truncate timewarrior task names
This commit is contained in:
parent
12e0d2e7e8
commit
a5cafefa40
4 changed files with 21 additions and 0 deletions
|
@ -629,6 +629,11 @@
|
||||||
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
||||||
# Timewarrior color.
|
# Timewarrior color.
|
||||||
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110
|
||||||
|
# If the tracked task is longer than 24 characters, truncate and append "…".
|
||||||
|
# Tip: To always display tasks without truncation, delete the following parameter.
|
||||||
|
# Tip: To hide task names and display just the icon when time tracking is enabled, set the
|
||||||
|
# value of the following parameter to "".
|
||||||
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}'
|
||||||
|
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -608,6 +608,11 @@
|
||||||
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
||||||
# Timewarrior color.
|
# Timewarrior color.
|
||||||
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=4
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=4
|
||||||
|
# If the tracked task is longer than 24 characters, truncate and append "…".
|
||||||
|
# Tip: To always display tasks without truncation, delete the following parameter.
|
||||||
|
# Tip: To hide task names and display just the icon when time tracking is enabled, set the
|
||||||
|
# value of the following parameter to "".
|
||||||
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}'
|
||||||
|
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -608,6 +608,11 @@
|
||||||
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############
|
||||||
# Timewarrior color.
|
# Timewarrior color.
|
||||||
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=110
|
||||||
|
# If the tracked task is longer than 24 characters, truncate and append "…".
|
||||||
|
# Tip: To always display tasks without truncation, delete the following parameter.
|
||||||
|
# Tip: To hide task names and display just the icon when time tracking is enabled, set the
|
||||||
|
# value of the following parameter to "".
|
||||||
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}'
|
||||||
|
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
|
@ -641,6 +641,12 @@
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=255
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_FOREGROUND=255
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_BACKGROUND=8
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_BACKGROUND=8
|
||||||
|
|
||||||
|
# If the tracked task is longer than 24 characters, truncate and append "…".
|
||||||
|
# Tip: To always display tasks without truncation, delete the following parameter.
|
||||||
|
# Tip: To hide task names and display just the icon when time tracking is enabled, set the
|
||||||
|
# value of the following parameter to "".
|
||||||
|
typeset -g POWERLEVEL9K_TIMEWARRIOR_CONTENT_EXPANSION='${P9K_CONTENT:0:24}${${P9K_CONTENT:24}:+…}'
|
||||||
|
|
||||||
# Custom icon.
|
# Custom icon.
|
||||||
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
# typeset -g POWERLEVEL9K_TIMEWARRIOR_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue