From 574149456957953e6d42a15fb8cf058dcf4c11f2 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Thu, 1 Jan 2026 19:19:34 +0100 Subject: cleaned up `fish_right_prompt` function Signed-off-by: czjstmax --- cfg/fish/fish_right_prompt.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cfg/fish/fish_right_prompt.fish') diff --git a/cfg/fish/fish_right_prompt.fish b/cfg/fish/fish_right_prompt.fish index aa38473..df41686 100644 --- a/cfg/fish/fish_right_prompt.fish +++ b/cfg/fish/fish_right_prompt.fish @@ -16,7 +16,7 @@ function fish_right_prompt end # set date in dt - set dt $(date '+%Y-%m-%d') + #set dt $(date '+%Y-%m-%d') # set battery capacity in bat set bat $(cat /sys/class/power_supply/BAT0/capacity) @@ -24,9 +24,9 @@ function fish_right_prompt # move up a line echo -e "\e[1A" # print prompt - echo -e (set_color $colorInverse)"( "(set_color $color)"$last_status"(set_color $colorInverse)" | " \ - (set_color $color)"bat.$bat%"(set_color $colorInverse) " | " \ - (set_color $color)"$dt"(set_color $colorInverse)" )" + echo -e (set_color $colorInverse)"( "(set_color $color)"stat.$last_status"(set_color $colorInverse)" | " \ + (set_color $color)"bat.$bat%"(set_color $colorInverse) " )" + #(set_color $color)"$dt"(set_color $colorInverse)" )" # go back one line so the user doesn't overwrite fish_prompt echo -e "\e[1B" end -- cgit v1.3.1