Browse Source

add birthday-cat.png to insert-dashboard-cat function (view.lisp).

A little Easter Egg...
stable
Craig Oates 2 years ago
parent
commit
3cfb5d4331
  1. 5
      src/view.lisp

5
src/view.lisp

@ -96,7 +96,10 @@
(defun insert-dashboard-cat ()
(let ((timestamp (local-time:now)))
(cond ((and (>= (local-time:timestamp-hour timestamp) 6)
(cond ((and (= (local-time:timestamp-day timestamp) 8)
(= (local-time:timestamp-month timestamp) 2))
(format nil "/images/icons/birthday-cat.png"))
((and (>= (local-time:timestamp-hour timestamp) 6)
(< (local-time:timestamp-hour timestamp) 10))
(format nil "/images/icons/morning-cat.png"))
((and (>= (local-time:timestamp-hour timestamp) 10)

Loading…
Cancel
Save