settle in and get homey

This commit is contained in:
atagen 2022-08-27 22:30:36 +10:00
parent b2b49d1c2f
commit 1813628066
2 changed files with 81 additions and 2 deletions

46
header.sh Executable file
View file

@ -0,0 +1,46 @@
#!/bin/sh
row1() {
m="0"
printf "\e[38;5;$((m*8))m██\e[48;5;$((m*8+1))m\e[m"
for n in {1..6};do
printf "\e[38;5;$((n+m*8))m██\e[48;5;$((n+m*8+1))m\e[m"
done
printf "\e[m\e[38;5;$((m*8+7))m██\e[m"
}
row2() {
m="1"
printf "\e[38;5;$((m*8))m██\e[38;5;$((m*8+1))m\e[48;5;$((m*8))m\e[m"
for n in {1..6};do
printf "\e[38;5;$((n+m*8))m██\e[38;5;$((n+m*8+1))m\e[48;5;$((n+m*8))m\e[m"
done
printf "\e[m\e[38;5;$((m*8+7))m██\e[m"
}
row1r() {
m="0"
printf "\e[38;5;$((m*8+7))m██\e[48;5;$((m*8+6))m\e[m"
for n in {6..1};do
printf "\e[38;5;$((n+m*8))m██\e[48;5;$((n+m*8-1))m\e[m"
done
printf "\e[m\e[38;5;$((m))m██\e[m"
}
row2r() {
m="1"
printf "\e[38;5;$((m*8+7))m██\e[38;5;$((m*8+6))m\e[48;5;$((m*8+7))m\e[m"
for n in {6..1};do
printf "\e[38;5;$((n+m*8))m██\e[38;5;$((n+m*8-1))m\e[48;5;$((n+m*8))m\e[m"
done
printf "\e[m\e[38;5;$((m*8))m██\e[m"
}
for n in {0..4}; do
row1
# row1r
printf "\n"
row2
# row2r
printf "\n"
done

View file

@ -109,7 +109,7 @@
};
settings = {
foreground = "#d3dae3";
background = "#181b28";
background = "#060604";
cursor = "#d3dae3";
selection_foreground = "#fdbc4b";
selection_background = "#1e2233";
@ -154,7 +154,40 @@
enableVteIntegration = true;
autocd = true;
defaultKeymap = "viins";
initExtra = "\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n";
initExtra = "
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
la_culr()
{
ls -ralhX --color $@ | culr
}
ls_culr()
{
ls -rlhX --color $@ | culr
}
ps_culr()
{
ps ww$@ | culr
}
alias fresh=\"clear; ~/.nix/header.sh\"
alias icat=\"kitty +kitten icat\"
alias chmox=\"chmod +x\"
alias gs=\"git status\"
alias gcl=\"git clone\"
alias ga=\"git add\"
alias gcb=\"git checkout -b\"
alias gco=\"git checkout\"
alias gl=\"git pull\"
alias gp=\"git push\"
alias l=\"ls_culr\"
alias la=\"la_culr\"
alias p=\"ps_culr\"
alias mnt=\"mount | column -t | culr\"
fresh
";
plugins = [
{
name = "powerlevel10k";