diff --git a/hosts/algiz/motd.nix b/hosts/algiz/motd.nix index accae4f..de5f075 100644 --- a/hosts/algiz/motd.nix +++ b/hosts/algiz/motd.nix @@ -1,16 +1,21 @@ { ... }: { users.motd = '' -  - ⠀⠀⢀⡀⠀⠀⢀⡀⠀⠀⢀⡀⠀⠀ - ⠀⠀⠙⢿⣄⠀⢸⡇⠀⣠⡿⠋⠀⠀ - ⠀⠀⠀⠀⠙⢷⣼⣧⡾⠋⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢻⡟⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀ - ⠀⠀⠀⠀⠀⠀⠈⠁⠀⠀⠀⠀⠀⠀ algiz + +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⢠⣾⣦⡀⠀⠀⠀⣶⣶⠀⠀⠀⢀⣴⣷⡄⠀⠀⠀ +⠀⠀⠀⠀⠙⢿⣷⣄⠀⠀⣿⣿⠀⠀⣠⣾⡿⠋⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠙⢿⣷⣄⣿⣿⣠⣾⡿⠋⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ''; } diff --git a/utils/generating-rune.sh b/utils/rune.sh similarity index 78% rename from utils/generating-rune.sh rename to utils/rune.sh index 7eefa80..582cef7 100755 --- a/utils/generating-rune.sh +++ b/utils/rune.sh @@ -19,15 +19,14 @@ if [[ $# -eq 0 ]]; then fi rune=$1 -echo $2 color=${36:-$2} # tmp this? FILENAME="Runic_letter_${rune}.png" -wget -O $FILENAME "${IMG_SRC[$rune]}" -printf "\033[1;%dm\n%s\033[0m \033[1m%s\033[0m\n\n" \ +[[ -f "$FILENAME" ]] || wget -O "$FILENAME" "${IMG_SRC[$rune]}" + +printf "\033[1;%dm\n%s\033[0m\n\n" \ "$color" \ - "$(ascii-image-converter "$FILENAME" -n -H 10 -b)" \ - "$rune" \ + "$(ascii-image-converter "$FILENAME" -n -H 15 -b)" \ >"${rune}.txt"