color and font changes
This commit is contained in:
parent
6d9c8e364a
commit
f14517ada3
@ -31,3 +31,6 @@ bind -M insert \cf accept-autosuggestion
|
||||
|
||||
set __fish_git_prompt_showdirtystate 1
|
||||
set __fish_git_prompt_showupstream auto
|
||||
|
||||
set fish_color_param normal
|
||||
set fish_color_cwd grey
|
||||
|
@ -18,15 +18,14 @@ function fish_right_prompt
|
||||
|
||||
set -l duration "$cmd_duration$CMD_DURATION"
|
||||
if test $duration -gt 100
|
||||
set duration (math $duration / 1000)s
|
||||
set duration (math $duration / 1000)s" // "
|
||||
else
|
||||
set duration
|
||||
end
|
||||
|
||||
printf '%s%s %s%s%s' \
|
||||
printf '%s%s%s%s%s' \
|
||||
(set_color brgrey) \
|
||||
$duration \
|
||||
(set_color brblue) \
|
||||
(date +"%H:%M") \
|
||||
(set_color normal)
|
||||
printf '%s ' \
|
||||
@ -38,5 +37,5 @@ function fish_right_prompt
|
||||
(set_color normal)
|
||||
end
|
||||
function fish_prompt
|
||||
printf '%s%s%s> ' (set_color blue) (prompt_pwd) (set_color normal)
|
||||
printf '%s%s%s> ' (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
||||
end
|
||||
|
@ -27,7 +27,7 @@ c.prompt.radius = 0
|
||||
|
||||
# Fonts
|
||||
|
||||
c.fonts.default_family = "Terminus"
|
||||
c.fonts.default_family = "JetBrains Mono"
|
||||
c.fonts.prompts = "default_size default_family"
|
||||
|
||||
config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; restart')
|
||||
|
Loading…
Reference in New Issue
Block a user