emacs: vendor org-tree-slide config

Also some irc stuff
This commit is contained in:
FollieHiyuki 2021-06-03 09:00:55 +03:00
parent 30ed001766
commit a1fdf46ce2
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
4 changed files with 45 additions and 12 deletions

View File

@ -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

View File

@ -179,7 +179,7 @@
;;+gnuplot
;;+jupyter
+journal
+present
;;+present
+roam
+noter
+pandoc)

View File

@ -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)

View File

@ -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"