For i3wm
fastfetch --load-config garuda
work only in kitty.
Determine which terminal is currently being used if Fish is set as shell.
basename "/"(ps -o cmd -f -p (cat /proc/(echo %self)/stat | cut -d \ -f 4) | tail -1 | sed 's/ .*$//')`
Add to .config/fish/config.fish
set name (basename "/"(ps -o cmd -f -p (cat /proc/(echo %self)/stat | cut -d \ -f 4) | tail -1 | sed 's/ .*$//'))
if test $name = "kitty"
fastfetch --load-config garuda
else
fastfetch
end
Remove Run fastfetch if session is interactive
and edit
.local/bin/fastfetch-garuda
Add # to line 7, like
#sed -i 's/--load-config neofetch/--load-config garuda/g' ~/.config/fish/config.fish
I'm not a real programmer so please forgive me if the instructions are even worse than my English and scripting skills.
I'm still trying to figure out how to implement all this in .local/bin/fastfetch-garuda
.