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 d4499953cf
commit 372e4c208c
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 (map! :map org-mode-map
:localleader :desc "org-toggle-emphasis-markers" :localleader :desc "org-toggle-emphasis-markers"
"z" #'follie/org-toggle-emphasis-markers) "z" #'follie/org-toggle-emphasis-markers)
;; Org-tree-slide ;; 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 (use-package! org-tree-slide
:commands org-tree-slide-mode :commands org-tree-slide-mode
:config :config
(advice-remove 'org-tree-slide--display-tree-with-narrow #'+org-present--narrow-to-subtree-a) (setq org-tree-slide-skip-outline-level 0
(setq +org-present-text-scale 2 org-image-actual-width nil
org-tree-slide-skip-outline-level 0 org-tree-slide-heading-emphasis t
org-tree-slide-modeline-display nil 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-slide-in-effect t
org-tree-slide-breadcrumbs "" org-tree-slide-breadcrumbs ""
org-tree-slide-activate-message "Presentation starto..." 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 ;; Latex
(setq +latex-viewers '(pdf-tools)) (setq +latex-viewers '(pdf-tools))
@ -301,12 +311,14 @@
(funcall secret) (funcall secret)
secret)) secret))
(error "Password not found for %S" params)))) (error "Password not found for %S" params))))
(set-irc-server! "irc.libera.chat" (after! circe
'(:tls t (set-irc-server! "irc.libera.chat"
:port 6697 '(:tls t
:nick "FollieHiyuki" :port 6697
:sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.libera.chat") :nick "FollieHiyuki"
:channels ("#river"))) :sasl-username "FollieHiyuki"
:sasl-password (my-fetch-password :user "FollieHiyuki" :host "irc.libera.chat")
:channels ("#river", "#voidlinux", "#xbps", "artix", "#emacs", "#gentoo", "#guix", "##otaku"))))
;; Cheatsheet ;; Cheatsheet
(use-package! tldr (use-package! tldr

View File

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

View File

@ -70,6 +70,7 @@
(package! keycast) (package! keycast)
(package! eshell-info-banner (package! eshell-info-banner
:recipe (:host github :repo "Phundrak/eshell-info-banner.el")) :recipe (:host github :repo "Phundrak/eshell-info-banner.el"))
(package! org-tree-slide)
;;(package! gemini-mode) ;;(package! gemini-mode)
;;(package! page-break-lines) ;;(package! page-break-lines)
;;(package! vlf) ;;(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"