mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-21 20:00:07 +00:00
add disk_usage to config templates
This commit is contained in:
parent
08f73b27fd
commit
1fb30a62e7
4 changed files with 59 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
|
||||
# vpn_ip # virtual private network indicator
|
||||
# disk_usage # disk usage
|
||||
# ram # free RAM
|
||||
# load # CPU load
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
|
@ -547,6 +548,19 @@
|
|||
# Icon to show when in a midnight commander shell.
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
|
||||
|
||||
##################################[ disk_usgae: disk usage ]##################################
|
||||
# Colors for different levels of disk usage.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160
|
||||
# Thresholds for different levels of disk usage (percentage points).
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
|
||||
# If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
###########[ vi_mode: vi mode (you don't need this if you've enabled prompt_char) ]###########
|
||||
# Text and color for normal (a.k.a. command) vi mode.
|
||||
typeset -g POWERLEVEL9K_VI_COMMAND_MODE_STRING=NORMAL
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
vim_shell # vim shell indicator (:sh)
|
||||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
# vpn_ip # virtual private network indicator
|
||||
# disk_usage # disk usage
|
||||
# ram # free RAM
|
||||
# load # CPU load
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
|
@ -543,6 +544,19 @@
|
|||
# Icon to show when in a midnight commander shell.
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
|
||||
|
||||
##################################[ disk_usgae: disk usage ]##################################
|
||||
# Colors for different levels of disk usage.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=2
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=3
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=1
|
||||
# Thresholds for different levels of disk usage (percentage points).
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
|
||||
# If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
######################################[ ram: free RAM ]#######################################
|
||||
# RAM color.
|
||||
typeset -g POWERLEVEL9K_RAM_FOREGROUND=2
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
vim_shell # vim shell indicator (:sh)
|
||||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
# vpn_ip # virtual private network indicator
|
||||
# disk_usage # disk usage
|
||||
# ram # free RAM
|
||||
# load # CPU load
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
|
@ -543,6 +544,19 @@
|
|||
# Icon to show when in a midnight commander shell.
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
|
||||
|
||||
##################################[ disk_usgae: disk usage ]##################################
|
||||
# Colors for different levels of disk usage.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=35
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=220
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=160
|
||||
# Thresholds for different levels of disk usage (percentage points).
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
|
||||
# If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
######################################[ ram: free RAM ]#######################################
|
||||
# RAM color.
|
||||
typeset -g POWERLEVEL9K_RAM_FOREGROUND=66
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
||||
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
|
||||
# vpn_ip # virtual private network indicator
|
||||
# disk_usage # disk usage
|
||||
# ram # free RAM
|
||||
# load # CPU load
|
||||
todo # todo items (https://github.com/todotxt/todo.txt-cli)
|
||||
|
@ -549,6 +550,22 @@
|
|||
# Icon to show when in a midnight commander shell.
|
||||
typeset -g POWERLEVEL9K_MIDNIGHT_COMMANDER_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'
|
||||
|
||||
##################################[ disk_usgae: disk usage ]##################################
|
||||
# Colors for different levels of disk usage.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_FOREGROUND=3
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_NORMAL_BACKGROUND=0
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_FOREGROUND=0
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_BACKGROUND=3
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_FOREGROUND=7
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_BACKGROUND=1
|
||||
# Thresholds for different levels of disk usage (percentage points).
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95
|
||||
# If set to true, hide disk usage when below $POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL percent.
|
||||
typeset -g POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
###########[ vi_mode: vi mode (you don't need this if you've enabled prompt_char) ]###########
|
||||
# Foreground color.
|
||||
typeset -g POWERLEVEL9K_VI_MODE_FOREGROUND=0
|
||||
|
|
Loading…
Reference in a new issue