dotfiles/stowers/fastfetch/dot-zshrc.d/99-fastfetch.sh

5 lines
179 B
Bash

#!/bin/bash
[[ -n "$PS1" ]] && [[ -f /etc/os-release ]] && \
fastfetch --logo "$(grep -Ee '^ID=' /etc/os-release | sed 's,ID="\(.*\)-.*",\1,g')" -c ~/.config/fastfetch.json