diff --git a/home/.config/doom/config.el b/home/.config/doom/config.el index 128e278..409c713 100644 --- a/home/.config/doom/config.el +++ b/home/.config/doom/config.el @@ -217,19 +217,29 @@ (map! :map org-mode-map :localleader :desc "org-toggle-emphasis-markers" "z" #'follie/org-toggle-emphasis-markers) + ;; Org-tree-slide +(defun follie/presentation-start () + (text-scale-set 2) + (hide-mode-line-mode 1)) +(defun follie/presentation-stop () + (text-scale-set 0) + (hide-mode-line-mode -1)) (use-package! org-tree-slide :commands org-tree-slide-mode :config - (advice-remove 'org-tree-slide--display-tree-with-narrow #'+org-present--narrow-to-subtree-a) - (setq +org-present-text-scale 2 - org-tree-slide-skip-outline-level 0 + (setq org-tree-slide-skip-outline-level 0 + org-image-actual-width nil + org-tree-slide-heading-emphasis t org-tree-slide-modeline-display nil - org-tree-slide-header nil + org-tree-slide-header t org-tree-slide-slide-in-effect t org-tree-slide-breadcrumbs " ▶ " org-tree-slide-activate-message "Presentation starto..." - org-tree-slide-deactivate-message "Thanks for listening!")) + org-tree-slide-deactivate-message "Thanks for listening!") + (add-hook! 'org-tree-slide-mode-hook #'evil-normalize-keymaps) + (add-hook! 'org-tree-slide-play-hook #'follie/presentation-start) + (add-hook! 'org-tree-slide-stop-hook #'follie/presentation-stop)) ;; Latex (setq +latex-viewers '(pdf-tools)) @@ -301,12 +311,14 @@ (funcall secret) secret)) (error "Password not found for %S" params)))) -(set-irc-server! "irc.libera.chat" - '(:tls t - :port 6697 - :nick "FollieHiyuki" - :sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.libera.chat") - :channels ("#river"))) +(after! circe + (set-irc-server! "irc.libera.chat" + '(:tls t + :port 6697 + :nick "FollieHiyuki" + :sasl-username "FollieHiyuki" + :sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.libera.chat") + :channels ("#river", "#voidlinux", "#xbps", "artix", "#emacs", "#gentoo", "#guix", "##otaku")))) ;; Cheatsheet (use-package! tldr diff --git a/home/.config/doom/init.el b/home/.config/doom/init.el index 40fd3ed..557f89d 100644 --- a/home/.config/doom/init.el +++ b/home/.config/doom/init.el @@ -179,7 +179,7 @@ ;;+gnuplot ;;+jupyter +journal - +present + ;;+present +roam +noter +pandoc) diff --git a/home/.config/doom/packages.el b/home/.config/doom/packages.el index c30b2ce..ab14c7d 100644 --- a/home/.config/doom/packages.el +++ b/home/.config/doom/packages.el @@ -70,6 +70,7 @@ (package! keycast) (package! eshell-info-banner :recipe (:host github :repo "Phundrak/eshell-info-banner.el")) +(package! org-tree-slide) ;;(package! gemini-mode) ;;(package! page-break-lines) ;;(package! vlf) diff --git a/home/.config/weechat/irc.conf b/home/.config/weechat/irc.conf new file mode 100644 index 0000000..664461f --- /dev/null +++ b/home/.config/weechat/irc.conf @@ -0,0 +1,20 @@ +# +# weechat -- irc.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[server] +liberachat.addresses = "irc.libera.chat/6697" +liberachat.ssl = on +liberachat.sasl_mechanism = plain +liberachat.sasl_username = "FollieHiyuki" +# liberachat.sasl_password = "" +liberachat.autoconnect = on +liberachat.nicks = "FollieHiyuki" +liberachat.autojoin = "#river,#voidlinux,#xbps,#artix,#emacs,#gentoo,#guix,##otaku"