mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
use printf instead of echo
This commit is contained in:
parent
c2f5283d10
commit
60d7d58453
@ -26,7 +26,7 @@ case $BLOCK_BUTTON in
|
||||
- Middle click opens calcurse if installed" ;;
|
||||
esac
|
||||
|
||||
echo "$(date '+%Y %b %d (%a) %I:%M%p') $icon $(date '+%I:%M%p')"
|
||||
printf '%s %s%s\n' "$(date '+%Y %b %d (%a)')" "$icon" "$(date '+%I:%M%p')"
|
||||
|
||||
#for europeans, use this
|
||||
#echo "$(date '+%a %d/%m') $icon $(date '+%I:%M%p')"
|
||||
#printf '%s %s%s\n' "$(date '+%a %d/%m')" "$icon" "$(date '+%I:%M%p')"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user