From 092913992741384894caa98a37cf61e1096999d7 Mon Sep 17 00:00:00 2001 From: czjstmax Date: Sat, 16 May 2026 17:55:27 +0200 Subject: update fish prompt + git integration, remove right prompt --- cfg/fish/fish_right_prompt.fish | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 cfg/fish/fish_right_prompt.fish (limited to 'cfg/fish/fish_right_prompt.fish') diff --git a/cfg/fish/fish_right_prompt.fish b/cfg/fish/fish_right_prompt.fish deleted file mode 100644 index 8346fb5..0000000 --- a/cfg/fish/fish_right_prompt.fish +++ /dev/null @@ -1,20 +0,0 @@ -function fish_right_prompt - set last_status $status - - # check for which color to use - if test $last_status -eq 0 - set color white - else - set color red - end - - # set battery capacity in bat - set bat $(cat /sys/class/power_supply/BAT0/capacity) - - # move up a line - echo -e "\e[1A" - # print prompt - echo -e (set_color red)"( "(set_color $color)"$last_status"(set_color red)" |" \ - (set_color white)"$bat%"(set_color red)" )"(set_color normal) - echo -e "\e[1B" -end -- cgit v1.3.1