From f55a0a473c164dddb535aac34018e4d835016ffa Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 4 Oct 2022 08:28:12 +0530 Subject: minimizing clock and internet script + adding fonticons --- .scripts/clock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to '.scripts/clock') 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")" -- cgit v1.2.3