Fix linting issues in scripts
This commit is contained in:
parent
e3d5f15c00
commit
c4952aad8f
7 changed files with 17 additions and 13 deletions
|
|
@ -19,7 +19,7 @@ today=$(date +'%Y-%m-%d')
|
|||
now=$(date +'%H:%M:%S')
|
||||
hour=$(echo "${now}" | cut -d: -f1 -)
|
||||
minute=$(echo "${now}" | cut -d: -f2 -)
|
||||
if [ "${minute}" \< "30" ]; then
|
||||
if [ "${minute}" -lt 30 ]; then
|
||||
case "${hour}" in
|
||||
"00"|"12") clock_face="🕛";;
|
||||
"01"|"13") clock_face="🕐";;
|
||||
|
|
@ -84,4 +84,4 @@ case "${battery_state}" in
|
|||
;;
|
||||
esac
|
||||
|
||||
echo ${recs} 🕹️${touchpad_active} 📆${today} ${clock_face}${now} ${audio_symbol}${audio_volume}% ${battery_symbol}${battery}%
|
||||
echo "${recs} 🕹️${touchpad_active} 📆${today} ${clock_face}${now} ${audio_symbol}${audio_volume}% ${battery_symbol}${battery}%"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue