Few tweaks and bump remotes

This commit is contained in:
Alex D. 2021-01-11 20:30:59 +00:00
parent b1e873097d
commit de3c64e4f7
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
5 changed files with 6 additions and 7 deletions

View File

@ -0,0 +1,2 @@
fpath+=("${ZDOTDIR}/powerlevel-config/segments")
autoload -Uz prompt_c_{covid_19,docker_host,mpv,new_mail,todo,weather,newsboat,mumble,sfeed,twitch,irc,apk}

View File

@ -4,6 +4,6 @@ zstyle -s ':custom:prompts:mpv' socket REPLY
_cprompts_mpv[2]="${${$(\
print -u $REPLY '{ "command": ["get_property", "media-title"] }' && \
read -eEu $REPLY \
)#*\"data\"([^[:print:]])#:([^[:print:]])#\"}%%(\"~\\\")*}"
)#*\"data\"([:blank:])#:([:blank:])#\"}%%(\"~\\\")*}"
exec {REPLY}>&-
[ -z $_cprompts_mpv[2] ] || p10k segment -b magenta -i '' -t "${_cprompts_mpv[2]}"

@ -1 +1 @@
Subproject commit 2fc725748643a00baad6c0ef3645d71ddbb3c1f0
Subproject commit 00232d1b6de0931fd9394bc3f963afb88644447d

View File

@ -31,10 +31,6 @@ fi
zstyle -s ':custom:preferences' prompt _cur_prompt
if [[ $_cur_prompt == "p9k" ]] && [[ -r "${ZDOTDIR}/powerlevel10k/powerlevel10k.zsh-theme" ]]; then
fpath+=("${ZDOTDIR}/powerlevel-config/segments")
function prompt_c_{covid_19,docker_host,mpv,new_mail,todo,weather,newsboat,mumble,sfeed,twitch}() {
autoload -X
}
source ${ZDOTDIR}/powerlevel-config/command.zsh
source ${ZDOTDIR}/powerlevel-config/context.zsh
source ${ZDOTDIR}/powerlevel-config/dir.zsh
@ -42,6 +38,7 @@ if [[ $_cur_prompt == "p9k" ]] && [[ -r "${ZDOTDIR}/powerlevel10k/powerlevel10k.
source ${ZDOTDIR}/powerlevel-config/misc.zsh
source ${ZDOTDIR}/powerlevel-config/prompt-char.zsh
source ${ZDOTDIR}/powerlevel-config/separators.zsh
source ${ZDOTDIR}/powerlevel-config/segments.zsh
source ${ZDOTDIR}/powerlevel-config/status.zsh
source ${ZDOTDIR}/powerlevel-config/time.zsh
source ${ZDOTDIR}/powerlevel-config/vcs.zsh

@ -1 +1 @@
Subproject commit 1715f39a4680a27abd57fc30c98a95fdf191be45
Subproject commit 5eb494852ebb99cf5c2c2bffee6b74e6f1bf38d0