From 3b4159895f1dd58e1aabb7248792d7dfe06c3c9c Mon Sep 17 00:00:00 2001 From: William Moore Date: Thu, 18 Jul 2024 07:47:45 -0500 Subject: [PATCH] Update to add initial social media support --- init.el | 4 +++- whomp/whomp-social.el | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 whomp/whomp-social.el diff --git a/init.el b/init.el index 4804145..466d15b 100644 --- a/init.el +++ b/init.el @@ -39,7 +39,9 @@ ;; development configuration (require 'whomp-development) ;; AI configuration (temporarily removed pending consideration) -;; (require 'whomp-ai) +(require 'whomp-ai) +;; social media configuration +(require 'whomp-social) ;; games configuration (require 'whomp-games) ;; org configuration diff --git a/whomp/whomp-social.el b/whomp/whomp-social.el new file mode 100644 index 0000000..f5471a0 --- /dev/null +++ b/whomp/whomp-social.el @@ -0,0 +1,20 @@ +;; +;; Social Networking packages +;; These are the packages related to social media +;; + +(defcustom whomp-social nil + "Whether or not to enable Social Media packages." + :type '(set (const :tag "Mastodon" mastodonmode) ;; Mastodon API + ) + :group 'whomp-config) + +(when (memq 'mastodonmode whomp-social) + (use-package mastodon + :straight t + :defer t) + (message "mastodon loaded")) + +(message "W.H.O.M.P. Social Media packages loaded") +(provide 'whomp-social) +;; whomp-social.el ends here