From 88a0ee8d3b675202b9ca06327ae50119ee9c068c Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Sun, 25 Dec 2022 11:03:49 +0100 Subject: [PATCH] Fix --- install.sh | 2 +- starship.toml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 542633f..6c6d046 100644 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ if [ ! -d ~/.oh-my-zsh ]; then fi # 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 fi if [ -n $(sed -n '/source ~\/.p10k.zsh/=' ~/.zshrc) ]; then diff --git a/starship.toml b/starship.toml index 849e879..8aea3b2 100644 --- a/starship.toml +++ b/starship.toml @@ -170,7 +170,7 @@ format = "[ ${ram_pct} $symbol ]($style)" [time] disabled = false time_format = "%R" # Hour:Minute Format -format = '[](fg:white)[ $time  ](fg:black bg:white)' +format = '[](fg:white)[ $time  ](fg:black bg:white)' [battery] full_symbol = ' ' @@ -182,19 +182,19 @@ format = '[](fg:white)[ $symbol$percentage ]($style)' [[battery.display]] threshold = 10 -style = 'bold red bg:white' +style = 'bold red bg:black' [[battery.display]] threshold = 30 -style = 'bold yellow bg:white' +style = 'bold yellow bg:black' [[battery.display]] threshold = 50 -style = 'bold purpel bg:white' +style = 'bold purpel bg:black' [[battery.display]] threshold = 100 -style = 'bold green bg:white' +style = 'bold green bg:black' [aws] symbol = " "