Fix
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ if [ ! -d ~/.oh-my-zsh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# remove Powerlevel10k zshrc integration (works only with my installation otherwise)
|
# remove Powerlevel10k zshrc integration (works only with my installation otherwise)
|
||||||
if [ -n $(sed -n '/Enable Powerlevel10k instant prompt/=' ~/.zshrc) ]; then
|
if [ $(sed -n '/^# Enable Powerlevel10k instant prompt/=' ~/.zshrc) ]; then
|
||||||
sed -i '1,6d' ~/.zshrc
|
sed -i '1,6d' ~/.zshrc
|
||||||
fi
|
fi
|
||||||
if [ -n $(sed -n '/source ~\/.p10k.zsh/=' ~/.zshrc) ]; then
|
if [ -n $(sed -n '/source ~\/.p10k.zsh/=' ~/.zshrc) ]; then
|
||||||
|
|||||||
+5
-5
@@ -170,7 +170,7 @@ format = "[ ${ram_pct} $symbol ]($style)"
|
|||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R" # Hour:Minute Format
|
time_format = "%R" # Hour:Minute Format
|
||||||
format = '[](fg:white)[ $time ](fg:black bg:white)'
|
format = '[](fg:white)[ $time ](fg:black bg:white)'
|
||||||
|
|
||||||
[battery]
|
[battery]
|
||||||
full_symbol = ' '
|
full_symbol = ' '
|
||||||
@@ -182,19 +182,19 @@ format = '[](fg:white)[ $symbol$percentage ]($style)'
|
|||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 10
|
threshold = 10
|
||||||
style = 'bold red bg:white'
|
style = 'bold red bg:black'
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 30
|
threshold = 30
|
||||||
style = 'bold yellow bg:white'
|
style = 'bold yellow bg:black'
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 50
|
threshold = 50
|
||||||
style = 'bold purpel bg:white'
|
style = 'bold purpel bg:black'
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 100
|
threshold = 100
|
||||||
style = 'bold green bg:white'
|
style = 'bold green bg:black'
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|||||||
Reference in New Issue
Block a user