mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
13 lines
350 B
Bash
Executable File
13 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# 💤 **Break** - out < 30 minutes, *no chat*
|
|
while IFS= read -r line; do
|
|
mode=${line%%-*}
|
|
status=${line#*-}
|
|
# echo mode: $mode
|
|
# echo status: $status
|
|
emoji=${mode%% *}
|
|
name=${mode#* }
|
|
name=${name//\*/}
|
|
printf " - emoji: %s\n name: %s\n status: %s\n flags:\n tags:\n\n" "$emoji" "$name" "$status"
|
|
done
|