aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-01-25 19:57:02 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-01-25 19:57:02 +0300
commit8fe1521d21cb826088b87a3e449090979b0458a6 (patch)
tree22c379fa2e51c819188e897403672ec27a4be12b /config
parentf1bb5601fe8b266a61e78c58cbe4e976bd6f83fd (diff)
add swap segment to config templates
Diffstat (limited to 'config')
-rw-r--r--config/p10k-classic.zsh9
-rw-r--r--config/p10k-lean-8colors.zsh9
-rw-r--r--config/p10k-lean.zsh9
-rw-r--r--config/p10k-rainbow.zsh10
4 files changed, 33 insertions, 4 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index d23a09c2..a8133829 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -80,9 +80,10 @@
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
+ # load # CPU load
# disk_usage # disk usage
# ram # free RAM
- # load # CPU load
+ # swap # used swap
todo # todo items (https://github.com/todotxt/todo.txt-cli)
# time # current time
# =========================[ Line #2 ]=========================
@@ -584,6 +585,12 @@
# Custom icon.
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ #####################################[ swap: used swap ]######################################
+ # Swap color.
+ typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
######################################[ load: CPU load ]######################################
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15.
typeset -g POWERLEVEL9K_LOAD_WHICH=5
diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh
index f581155a..b86d8b50 100644
--- a/config/p10k-lean-8colors.zsh
+++ b/config/p10k-lean-8colors.zsh
@@ -79,9 +79,10 @@
vim_shell # vim shell indicator (:sh)
midnight_commander # midnight commander shell (https://midnight-commander.org/)
# vpn_ip # virtual private network indicator
+ # load # CPU load
# disk_usage # disk usage
# ram # free RAM
- # load # CPU load
+ # swap # used swap
todo # todo items (https://github.com/todotxt/todo.txt-cli)
# time # current time
# =========================[ Line #2 ]=========================
@@ -563,6 +564,12 @@
# Custom icon.
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ #####################################[ swap: used swap ]######################################
+ # Swap color.
+ typeset -g POWERLEVEL9K_SWAP_FOREGROUND=3
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
######################################[ load: CPU load ]######################################
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15.
typeset -g POWERLEVEL9K_LOAD_WHICH=5
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 14e92fec..a9da7eec 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -79,9 +79,10 @@
vim_shell # vim shell indicator (:sh)
midnight_commander # midnight commander shell (https://midnight-commander.org/)
# vpn_ip # virtual private network indicator
+ # load # CPU load
# disk_usage # disk usage
# ram # free RAM
- # load # CPU load
+ # swap # used swap
todo # todo items (https://github.com/todotxt/todo.txt-cli)
# time # current time
# =========================[ Line #2 ]=========================
@@ -563,6 +564,12 @@
# Custom icon.
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ #####################################[ swap: used swap ]######################################
+ # Swap color.
+ typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
######################################[ load: CPU load ]######################################
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15.
typeset -g POWERLEVEL9K_LOAD_WHICH=5
diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh
index 5e74496e..5d5180f2 100644
--- a/config/p10k-rainbow.zsh
+++ b/config/p10k-rainbow.zsh
@@ -80,9 +80,10 @@
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
+ # load # CPU load
# disk_usage # disk usage
# ram # free RAM
- # load # CPU load
+ # swap # used swap
todo # todo items (https://github.com/todotxt/todo.txt-cli)
# time # current time
# =========================[ Line #2 ]=========================
@@ -589,6 +590,13 @@
# Custom icon.
# typeset -g POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ #####################################[ swap: used swap ]######################################
+ # Swap color.
+ # typeset -g POWERLEVEL9K_SWAP_FOREGROUND=0
+ # typeset -g POWERLEVEL9K_SWAP_BACKGROUND=3
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
######################################[ load: CPU load ]######################################
# Show average CPU load over this many last minutes. Valid values are 1, 5 and 15.
typeset -g POWERLEVEL9K_LOAD_WHICH=5