formatting

This commit is contained in:
Daylin Morgan 2022-08-01 21:17:58 +00:00
parent 2638a852b3
commit bcc03c1240
3 changed files with 13 additions and 9 deletions

View file

@ -58,7 +58,6 @@ sleep 0.1
i3lock \
-n \
--screen 1 \
\
--color $bg_color \
--inside-color ffffff00 \
--ring-color $green \
@ -71,12 +70,10 @@ i3lock \
--keyhl-color $cyan \
--bshl-color $red \
--wrong-color $red \
\
--ind-pos x+w-5-r:y+h-10-r \
--ring-width 25 \
--radius 100 \
--verif-text "" \
\
--greeter-text "$(make_figlet)" \
--greeter-font "${font}" \
--greeter-size $font_size \

View file

@ -20,7 +20,6 @@ FZF_COLORS="
--color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD
"
FZF_LAYOUT="
--height=40%
--border=rounded
@ -60,7 +59,7 @@ export FZF_ALT_C_OPTS="
"
# [[ -v FZF_CTRL_T_COMMAND ]] && && export FZF_CTRL_T_COMMAND=${FZF_DEFAULT_COMMAND}
[[ -z "$FZF_CTRL_T_COMMAND" ]] && export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
[[ -z $FZF_CTRL_T_COMMAND ]] && export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
# fix spacing on fzf-tab to show max options
zstyle ':fzf-tab:*' fzf-pad 4

View file

@ -5,8 +5,16 @@ if is-executable sheldon; then
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
fi
# TODO: make decent fall back shell
is-executable starship && eval "$(starship init zsh)"
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
if is-executable starship; then
eval "$(starship init zsh)"
else
autoload -Uz vcs_info
precmd() { vcs_info }
zstyle ':vcs_info:git:*' formats '%b '
setopt PROMPT_SUBST
PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}${vcs_info_msg_0_}%f$ '
fi