19 lines
411 B
Bash
Executable File
19 lines
411 B
Bash
Executable File
#!/bin/sh
|
|
clock=$(date '+%I')
|
|
case "$clock" in
|
|
"00") icon="" ;;
|
|
"01") icon="" ;;
|
|
"02") icon="" ;;
|
|
"03") icon="" ;;
|
|
"04") icon="" ;;
|
|
"05") icon="" ;;
|
|
"06") icon="" ;;
|
|
"07") icon="" ;;
|
|
"08") icon="" ;;
|
|
"09") icon="" ;;
|
|
"10") icon="" ;;
|
|
"11") icon="" ;;
|
|
"12") icon="" ;;
|
|
esac
|
|
printf "%s \033[11m%s\033[10m %s\n" "$(date "+%d.%M.%Y")" "$icon" "$(date "+%H:%M")"
|