whompmacs/whomp/whomp-games.el

39 lines
811 B
EmacsLisp
Raw Normal View History

2024-07-17 17:32:13 +00:00
;;
;; Games packages
;; These are games not installed by default
;;
(defcustom whomp-games nil
"Include non-standard game packages."
:type '(set (const :tag "None" nil)
2024-08-06 20:32:02 +00:00
(const :tag "chess" chessgame)
(const :tag "fireplace" fireplacegame)
(const :tag "pacmacs" pacmacsgame)
2024-07-17 17:32:13 +00:00
)
:group 'whomp-config)
2024-08-06 20:32:02 +00:00
(when (memq 'pacmacsgame whomp-games)
2024-07-17 17:32:13 +00:00
(use-package pacmacs
2024-08-06 20:32:02 +00:00
:straight t
2024-07-17 17:32:13 +00:00
:defer t
:ensure t)
(message "pacmacs loaded"))
2024-08-06 20:32:02 +00:00
(when (memq 'chessgame whomp-games)
(use-package chess
:straight t
:defer t
:ensure t)
(message "chess loaded"))
(when (memq 'fireplacegame whomp-games)
(use-package fireplace
:straight t
:defer t
:ensure t)
(message "fireplace loaded"))
2024-07-17 17:32:13 +00:00
(message "W.H.O.M.P. games packages loaded")
(provide 'whomp-games)
;; whomp-games.el ends here