feat: fish motd: change logo to aperture
This commit is contained in:
parent
315485b3b0
commit
5ad8fd7ffc
5 changed files with 29 additions and 71 deletions
|
@ -1,5 +1,6 @@
|
|||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
|
||||
# zellij init for alacritty
|
||||
if string match -q -- alacritty $TERM
|
||||
set -gx ZELLIJ_AUTO_EXIT true
|
||||
|
@ -23,12 +24,8 @@ end
|
|||
# greeting
|
||||
function fish_greeting
|
||||
echo ""
|
||||
# custom motd by fastfetch
|
||||
if [ $TERM = xterm-kitty ] ; or [ $TERM = xterm-ghostty ]
|
||||
fastfetch -c $__fish_config_dir/fmotd/motd.jsonc
|
||||
else
|
||||
fastfetch -c $__fish_config_dir/fmotd/motd-fallback.jsonc
|
||||
end
|
||||
# changed logo to ascii art so additional fallback is not needed
|
||||
fastfetch -c $__fish_config_dir/motds/motd.jsonc
|
||||
echo -e "\nHellllllo from fish@$TERM, $USER!"
|
||||
#cat $__fish_config_dir/motd
|
||||
end
|
||||
|
@ -46,7 +43,7 @@ set -gx PATH "/home/grassblock/.local/share/npm/bin" $PATH
|
|||
|
||||
# ssh agent with rbw
|
||||
set -gx SSH_ASKPASS_REQUIRE prefer
|
||||
set -gx SSH_ASKPASS "$HOME/.local/bin/bw-askpass"
|
||||
set -gx SSH_ASKPASS "$HOME/.local/bin/rbw-ssh-askpass"
|
||||
|
||||
# Created by `pipx` on 2023-10-13 01:41:55
|
||||
set PATH $PATH /home/grassblock/.local/bin
|
||||
|
@ -58,7 +55,6 @@ set -gx MAMBA_EXE "/usr/bin/micromamba"
|
|||
set -gx MAMBA_ROOT_PREFIX "/home/grassblock/.local/share/micromamba"
|
||||
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
|
||||
# <<< mamba initialize <<<
|
||||
# micromamba has outdated dependency,,,,
|
||||
|
||||
# asdf
|
||||
set -gx ASDF_CONFIG_FILE $XDG_CONFIG_HOME/asdf/asdfrc
|
||||
|
@ -69,7 +65,10 @@ source /opt/asdf-vm/asdf.fish
|
|||
# alias
|
||||
alias wget "wget --hsts-file="$XDG_DATA_HOME/wget-hsts""
|
||||
alias "yarn" "yarn $1 --use-yarnrc $XDG_CONFIG_HOME/yarn/config"
|
||||
alias "ssh" "kitten ssh"
|
||||
if [ $TERM = xterm-kitty ]
|
||||
alias "ssh" "kitten ssh"
|
||||
end
|
||||
alias "nya" "echo nya && meow"
|
||||
alias bat="bat --theme=\$( test $(darkman get) = 'dark' && echo Nord || echo ansi)"
|
||||
alias hg="kitten hyperlinked-grep"
|
||||
# alias end
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[38;2;18;9;0m [0m[38;2;36;18;0m [0m[38;2;57;29;0m.[0m[38;2;58;31;1m.[0m[38;2;49;27;2m.[0m[38;2;51;27;2m.[0m[38;2;58;30;0m.[0m[38;2;57;30;0m.[0m[38;2;49;26;1m.[0m[38;2;50;26;1m.[0m[38;2;59;32;2m.[0m[38;2;58;32;2m.[0m[38;2;49;26;1m.[0m[38;2;47;24;0m.[0m[38;2;41;21;0m [0m[38;2;21;11;0m [0m
|
||||
[38;2;60;31;0m.[0m[38;2;61;31;0m.[0m[38;2;71;35;0m.[0m[38;2;68;34;0m.[0m[38;2;55;24;0m.[0m[38;2;55;23;0m.[0m[38;2;73;38;2m.[0m[38;2;72;39;2m.[0m[38;2;58;29;0m.[0m[38;2;59;28;0m.[0m[38;2;65;28;0m.[0m[38;2;66;30;0m.[0m[38;2;58;28;0m.[0m[38;2;61;30;0m.[0m[38;2;71;36;0m.[0m[38;2;71;36;0m.[0m
|
||||
[38;2;77;40;2m.[0m[38;2;78;40;2m.[0m[38;2;91;50;9m:[0m[38;2;88;48;16m:[0m[38;2;145;118;90m=[0m[38;2;179;159;136m*[0m[38;2;82;39;0m.[0m[38;2;76;33;0m.[0m[38;2;85;49;13m:[0m[38;2;90;56;20m:[0m[38;2;183;163;140m*[0m[38;2;141;114;85m=[0m[38;2;78;43;16m.[0m[38;2;83;47;9m:[0m[38;2;88;45;3m:[0m[38;2;87;45;2m:[0m
|
||||
[38;2;67;29;0m.[0m[38;2;48;11;0m [0m[38;2;122;98;73m=[0m[38;2;241;240;242m@[0m[38;2;139;170;183m*[0m[38;2;50;103;123m-[0m[38;2;116;86;52m-[0m[38;2;135;99;60m=[0m[38;2;240;218;194m%[0m[38;2;197;196;185m#[0m[38;2;40;100;126m-[0m[38;2;146;173;184m*[0m[38;2;240;239;239m@[0m[38;2;120;91;61m-[0m[38;2;60;15;0m.[0m[38;2;78;34;0m.[0m
|
||||
[38;2;132;112;93m=[0m[38;2;163;123;88m+[0m[38;2;218;181;144m#[0m[38;2;255;235;208m@[0m[38;2;219;203;182m%[0m[38;2;181;178;162m*[0m[38;2;249;227;200m@[0m[38;2;255;239;209m@[0m[38;2;255;239;211m@[0m[38;2;244;227;205m@[0m[38;2;180;185;177m#[0m[38;2;222;218;206m%[0m[38;2;255;251;237m@[0m[38;2;215;193;170m#[0m[38;2;168;137;112m+[0m[38;2;137;117;97m=[0m
|
||||
[38;2;196;192;190m#[0m[38;2;246;214;181m%[0m[38;2;242;210;176m%[0m[38;2;233;201;168m%[0m[38;2;243;210;180m%[0m[38;2;251;218;188m%[0m[38;2;238;213;187m%[0m[38;2;235;213;189m%[0m[38;2;236;215;194m%[0m[38;2;239;219;198m%[0m[38;2;251;228;207m@[0m[38;2;242;223;203m%[0m[38;2;233;217;200m%[0m[38;2;242;229;215m@[0m[38;2;246;235;222m@[0m[38;2;195;196;196m#[0m
|
|
@ -1,54 +0,0 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"type": "file-raw",
|
||||
"source": "~/.config/fish/fmotd/ascii_art",
|
||||
"height": 6
|
||||
},
|
||||
"display": {
|
||||
"separator": " ",
|
||||
"color": {
|
||||
"keys": "magenta"
|
||||
},
|
||||
"size": {
|
||||
"ndigits": 0,
|
||||
"maxPrefix": "MB"
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "title",
|
||||
"color": {
|
||||
"user": "green",
|
||||
"at": "red",
|
||||
"host": "blue"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"key": "",
|
||||
"format": "{2} {8}"
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": ""
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": ""
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": ""
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": ""
|
||||
},
|
||||
{
|
||||
"type": "custom",
|
||||
"key": "",
|
||||
"format": "{#31}███{#32}███{#33}███{#34}███{#35}███{#36}███"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
8X+MMM=2MMX
|
||||
$8MM1@= $2===
|
||||
7X8-M $3M@M
|
||||
7MH:@ 4.X@@
|
||||
7MMM/ $XM;=
|
||||
6M@HX$%-5:X4MM.
|
||||
6:-5HMMM4=
|
|
@ -1,8 +1,20 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"type": "auto",
|
||||
"source": "/home/grassblock/Pictures/1017124-new.png",
|
||||
"type": "file",
|
||||
"source": "~/.config/fish/motds/aperture-small",
|
||||
// original: https://github.com/fastfetch-cli/fastfetch/blob/dev/src/logo/ascii/aperture.txt
|
||||
// resized using script https://codegolf.stackexchange.com/a/241446
|
||||
"padding": {
|
||||
"top": 0,
|
||||
"left": 1
|
||||
},
|
||||
"color": {
|
||||
"1": "blue",
|
||||
"2": "blue",
|
||||
"3": "blue",
|
||||
"8": "blue"
|
||||
},
|
||||
"height": 6
|
||||
},
|
||||
"display": {
|
Loading…
Add table
Add a link
Reference in a new issue