summaryrefslogtreecommitdiff
path: root/.scripts/clock
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/clock')
-rwxr-xr-x.scripts/clock30
1 files changed, 15 insertions, 15 deletions
diff --git a/.scripts/clock b/.scripts/clock
index d6a91fb..fb8924d 100755
--- a/.scripts/clock
+++ b/.scripts/clock
@@ -1,21 +1,21 @@
#!/bin/sh
clock=$(date '+%I')
-
+calicon=
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=" " ;;
+ "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
-date "+%Y %b %d (%a) $icon%I:%M%p"
+printf "%s%s" " " "$(date "+%a %b %d $icon%I:%M%p")"