summaryrefslogtreecommitdiff
path: root/cfg/fish/fish_right_prompt.fish
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-01-01 19:19:34 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-01-01 19:19:34 +0100
commit574149456957953e6d42a15fb8cf058dcf4c11f2 (patch)
treeaa0e77f93ed8abddf5a391ea37c4ec8e621c1d97 /cfg/fish/fish_right_prompt.fish
parent93c9bc2daca2660288c2d4063133918b6c3a9e24 (diff)
cleaned up `fish_right_prompt` function
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'cfg/fish/fish_right_prompt.fish')
-rw-r--r--cfg/fish/fish_right_prompt.fish8
1 files changed, 4 insertions, 4 deletions
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