1
0
Fork 0

Add wallpaper for triple setup
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2021-04-07 17:44:05 +08:00
parent 68b116c619
commit 135eca9fe8
3 changed files with 17 additions and 2 deletions

View File

@ -9,6 +9,7 @@ set $output_right "Dell Inc. DELL P2719H DNJQPS2"
output $output_mini position 56 800 transform 270
output $output_left position 1080 0 transform 270
output $output_right position 2160 0 transform 90
output * bg ~/.wallpaper/daniel-j-schwarz-a4M-Vegh7Y4-unsplash.jpg fill
#
# Display controls:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

18
.zshrc
View File

@ -35,9 +35,16 @@ load_slower() {
slowest_functions=()
load_slowest() {
for func in $slowest_functions; do
echo "Running $func"
$func
done
}
sup() {
echo "What's up? I am a machine, and you're trying to treat me like a human :(."
echo "You might feel better if I load some autocompletion scripts for you."
load_slowest
echo "I have more power now!"
}
prompt_run_count=0
on_second_prompt() {
if [[ "$prompt_run_count" == 1 ]] && [[ "$USER" != "root" ]]; then
@ -113,15 +120,23 @@ setup_completion() {
autoload -U compinit; compinit
autoload -U +X bashcompinit && bashcompinit
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
}
slower_functions+=( setup_completion )
setup_completion_minio() {
# Depends:
setup_completion
if [[ -f "$(which mc 2>/dev/null)" ]]; then
complete -o nospace -C mc mc
echo "Loaded minio completion"
fi
if [[ -f "$(which kubectl 2>/dev/null)" ]]; then
source <(kubectl completion zsh)
echo "Loaded kubectl completion"
fi
}
slowest_functions+=( setup_completion )
#slower_functions+=( setup_completion_more )
slowest_functions+=( setup_completion_more )
# directory listings
@ -298,7 +313,6 @@ setup_prompt() {
}
prompt_use_italic=false
setup_prompt
slower_functions+=( setup_prompt )
# command entry plugins