Emacs : pdf tool setting

This commit is contained in:
2021-10-11 18:47:19 +09:00
parent cd7eda4548
commit 4b318c2348
3 changed files with 41 additions and 21 deletions

View File

@ -997,6 +997,16 @@ https://emacs.stackexchange.com/a/30691
** Org Noter ** Org Noter
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package pdf-tools
:straight t
:config
(pdf-tools-install)
(setq-default pdf-view-display-size 'fit-width)
(define-key pdf-view-mode-map (kbd "C-s") 'isearch-forward)
:custom
(pdf-annot-activate-created-annotations t "automatically annotate highlights"))
(use-package org-pdfview
:straight t)
(use-package org-noter) (use-package org-noter)
#+end_src #+end_src
* Magit * Magit
@ -1245,10 +1255,10 @@ https://emacs.stackexchange.com/a/30691
"ogm" "ogg" "mkv")) "ogm" "ogg" "mkv"))
"mpv" "mpv"
'(file))))) '(file)))))
;;(list (openwith-make-extension-regexp ;;(list (openwith-make-extension-regexp
;; '("pdf")) ;; '("pdf"))
;; "evince" ;; "evince"
;; '(file))))) ;; '(file)))))
#+end_src #+end_src
* VLF (very large file) * VLF (very large file)
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1368,21 +1378,21 @@ using =svlangserver=
* ETC * ETC
** Youtube ** Youtube
#+begin_src emacs-lisp #+begin_src emacs-lisp
;;(use-package ytel (use-package ytel
;;:straight t :straight t
;;:config :config
;;(setq ytel-invidious-api-url "https://invidious.snopyta.org") (setq ytel-invidious-api-url "https://invidious.snopyta.org")
;;) )
;;(defun ytel-watch () (defun ytel-watch ()
;;"Stream video at point in mpv." "Stream video at point in mpv."
;;(interactive) (interactive)
;;(let* ((video (ytel-get-current-video)) (let* ((video (ytel-get-current-video))
;;(id (ytel-video-id video))) (id (ytel-video-id video)))
;;(start-process "ytel mpv" nil (start-process "ytel mpv" nil
;;"mpv" "mpv"
;;(concat "https://www.youtube.com/watch?v=" id)) (concat "https://www.youtube.com/watch?v=" id))
;;"--ytdl-format=bestvideo[height<=?720]+bestaudio/best") "--ytdl-format=bestvideo[height<=?720]+bestaudio/best")
;;(message "Starting streaming...")) (message "Starting streaming..."))
#+end_src #+end_src
** Python ** Python

View File

@ -8,7 +8,7 @@
# Enable screen locking on suspend # Enable screen locking on suspend
#xss-lock -- slock & #xss-lock -- slock &
# Fire it up for WSL # Fire it up for WSL
#VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2) VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
#export DISPLAY=$VETHER_IP:10.0 export DISPLAY=$VETHER_IP:10.0
picom -b --config $HOME/.xmonad/scripts/picom.conf & picom -b --config $HOME/.xmonad/scripts/picom.conf &
exec dbus-launch --exit-with-session emacs -mm --debug-init -l ~/.emacs.d/desktop.el exec dbus-launch --exit-with-session emacs -mm --debug-init -l ~/.emacs.d/desktop.el

View File

@ -53,3 +53,13 @@ pip install matplotlib numpy pandas tabulate
# verilog lsp # verilog lsp
paru -S verilator --noconfirm paru -S verilator --noconfirm
npm install -g @imc-trading/svlangserver npm install -g @imc-trading/svlangserver
##################################################
# EXWM
##################################################
paru -S picom --noconfirm
paru -S xorg-xrandr feh cronie --noconfirm
git clone https://github.com/adi1090x/dynamic-wallpaper.git
cd dynamic-wallpaper
./install.sh