appointments only in statusbar if notifs allowed
This commit is contained in:
@ -12,7 +12,10 @@ if [ -n "$diff" ]; then
|
||||
else
|
||||
midnight=$(( $(date --date "$(date | sed 's/..:..:../23:59:59/; s/ PM//; s/ AM//')" +%s) + 1 ))
|
||||
if [ $midnight -gt "$time_appointment" ]; then
|
||||
printf '%s %s' "$(date --date "@$time_appointment" +'%H:%M')" "$appointment"
|
||||
if [ ! -f /tmp/nodunst ]; then
|
||||
printf '%s %s' "$(date --date "@$time_appointment" +'%H:%M')" "$appointment"
|
||||
fi
|
||||
printf '\n'
|
||||
fi
|
||||
fi
|
||||
else
|
||||
|
Reference in New Issue
Block a user