formatting
This commit is contained in:
parent
2638a852b3
commit
bcc03c1240
3 changed files with 13 additions and 9 deletions
|
@ -58,7 +58,6 @@ sleep 0.1
|
||||||
i3lock \
|
i3lock \
|
||||||
-n \
|
-n \
|
||||||
--screen 1 \
|
--screen 1 \
|
||||||
\
|
|
||||||
--color $bg_color \
|
--color $bg_color \
|
||||||
--inside-color ffffff00 \
|
--inside-color ffffff00 \
|
||||||
--ring-color $green \
|
--ring-color $green \
|
||||||
|
@ -71,12 +70,10 @@ i3lock \
|
||||||
--keyhl-color $cyan \
|
--keyhl-color $cyan \
|
||||||
--bshl-color $red \
|
--bshl-color $red \
|
||||||
--wrong-color $red \
|
--wrong-color $red \
|
||||||
\
|
|
||||||
--ind-pos x+w-5-r:y+h-10-r \
|
--ind-pos x+w-5-r:y+h-10-r \
|
||||||
--ring-width 25 \
|
--ring-width 25 \
|
||||||
--radius 100 \
|
--radius 100 \
|
||||||
--verif-text "" \
|
--verif-text "" \
|
||||||
\
|
|
||||||
--greeter-text "$(make_figlet)" \
|
--greeter-text "$(make_figlet)" \
|
||||||
--greeter-font "${font}" \
|
--greeter-font "${font}" \
|
||||||
--greeter-size $font_size \
|
--greeter-size $font_size \
|
||||||
|
|
|
@ -20,7 +20,6 @@ FZF_COLORS="
|
||||||
--color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD
|
--color=marker:#F8BD96,fg+:#F2CDCD,prompt:#DDB6F2,hl+:#F28FAD
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
||||||
FZF_LAYOUT="
|
FZF_LAYOUT="
|
||||||
--height=40%
|
--height=40%
|
||||||
--border=rounded
|
--border=rounded
|
||||||
|
@ -60,7 +59,7 @@ export FZF_ALT_C_OPTS="
|
||||||
"
|
"
|
||||||
|
|
||||||
# [[ -v FZF_CTRL_T_COMMAND ]] && && export FZF_CTRL_T_COMMAND=${FZF_DEFAULT_COMMAND}
|
# [[ -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
|
# fix spacing on fzf-tab to show max options
|
||||||
zstyle ':fzf-tab:*' fzf-pad 4
|
zstyle ':fzf-tab:*' fzf-pad 4
|
||||||
|
|
|
@ -5,8 +5,16 @@ if is-executable sheldon; then
|
||||||
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
|
eval "$(sheldon -q --config-file ~/.config/sheldon/plugins.toml source)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: make decent fall back shell
|
|
||||||
|
|
||||||
is-executable starship && eval "$(starship init zsh)"
|
|
||||||
|
|
||||||
is-executable zoxide && eval eval "$(zoxide init zsh --cmd cd)"
|
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
|
||||||
|
|
Loading…
Reference in a new issue