diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-04 08:28:12 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-10-04 08:28:12 +0530 |
commit | f55a0a473c164dddb535aac34018e4d835016ffa (patch) | |
tree | bf4cc8aae4cc4d5d20bfaaf1957341438ac64f16 /.scripts/clock | |
parent | 38f4144eb1b8bbac7756ac38ce9d0b3b079c886f (diff) |
minimizing clock and internet script + adding fonticons
Diffstat (limited to '.scripts/clock')
-rwxr-xr-x | .scripts/clock | 30 |
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")" |